In order to add a tag to a variable using CreateVariableEx method the following tag is needed:
"tags": [ "test" ]
Multiple tags:
"tags": [ "test" , "test2" ]
Environment
The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.
{
"handle": 1,
"method": "CreateVariableEx",
"params": {
"qProp": {
"qInfo": {
"qId": "",
"qType": "variable"
},
"qMetaDef": {},
"qName": "test",
"qComment": "",
"qNumberPresentation": {
"qType": 0,
"qnDec": 0,
"qUseThou": 0,
"qFmt": "",
"qDec": "",
"qThou": ""
},
"qIncludeInBookmark": false,
"qDefinition": "",
"tags": [
"test"
]
}
}
}