Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
satyaprakash
Partner - Contributor III
Partner - Contributor III

How to set color to master dimension values?

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,

@mek 

Labels (4)
1 Reply
ajaykakkar93
Specialist III
Specialist III

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 

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting