Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi ,
We can retrieve master dimension color object properties.
app.getObject('ColorMapModel_abcdef').then(model => model.getLayout().then(layout => console.log(layout)));
But, how to set color properties to it?
Thanks,
hi,
You can use the below way
solution:
1)get by measure ID
2)get properties of the above measure
3)update the properties
4) use set properties
5) use do save
6) get layout to check