Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.
Is there an API to get the colors of a master item in a QS extension?
I've noticed that layout.qHyperCube.qDimensionInfo.coloring.colorMapRef contains an ID of a ColorMap in case of master items.
How can I get this ColorMap?
Go to Solution.
The master dimension colors are stored in a separate generic object called ColorMapModel_<colorMapRef>, to get those values you would need to get the object and then its layout:
app.getObject('ColorMapModel_abcdef').then(model => model.getLayout().then(layout => console.log(layout)));