on 11-24-2021 8:51 AM
Hi Expert,
I've created a custom widget in Analytic Designer on SAC, but I can't add a measure
If I click on it appear the designer
but it isn't the button "add a measure"
How I can add a measure for the custom widget?
Thanks
Francesco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And if I'd add it trough code like below
Is it impossible?
It return error because have a different types, number and chart
f.allocca try smth like this
ScriptVariable_1 = Chart_1.getDataSource().getData({[Alias.MeasureDimension]:"[Account_BestRunJ_sold].[parentId].&[Gross_Margin]"}).formattedValue;
var ScriptVarInt = ConvertUtils.stringToInteger(ScriptVariable_1);
googleGauge_1.setValue(ScriptVarInt);
console.log(ScriptVarInt);
Hi Francesco,
Please take a look at this excellent blog: Build a Custom Widget in SAP Analytics Cloud, Analytics Application.
Have you declared a SetValue method? Is this method visible when trying to assign a measure via the script in your application?
Kind regards,
Martijn van Foeken | Interdobs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.