Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
ksaranraj5
Partner - Contributor II
Partner - Contributor II

set custom data color to master dimension values using qlik engine API

Hi ,

 I am looking for an engine  API that allows me to set hex  color code  to required dimension values under master dimension edit -> Value colors

I have tried the below API's to retrieve the colors added to dimension values:

{
"handle": 1,
"method": "GetObject",
"params": {
"qId": "ColorMapModel_MEDTQm"
},
"outKey": -1,
"id": 3
}

MEDTQM is the dimension ID

{
"handle": 2,
"method": "GetLayout",
"params": {},
"outKey": -1,
"id": 4
}

The above returns me the hex color code for dimension values

Any API suggestion to set the colors to dimension values  or write back colors to qliksense dimension values would be helpful

Labels (4)
0 Replies