Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
We have a dozen of applications which are basically the same except that based on their names, the script if loading different dataset.
We had some data islands to bookmarks things like UOM, dividers... As we were not aware of the ability to add variables in them.
Now, as we have cleaned this, the issue is the fact that users have created a bunch of bookmarks across those applications and obviously, as we are going from fields to variables, this will not work as expected.
So, I was interested to know if there is a way to change bookmarks properties using API.
I've tried some ApplyPatches but I have an error message. I can see the GetLayout of the bookmarks, but it seems that this is not really the way this is stored in the object properties.
If I'm using the path "/qVariableItems" this is accepted but this is not where this should be located.
And other questions, if at some points this is working, would a DoSave save those modifications or ApplyPatch is only relevant for the current session?
{
"handle": 3,
"method": "ApplyPatches",
"params": [
[
{
"qOp": "add",
"qPath": "/qBookmark/qVariableItems",
"qValue": "[ { \"qName\": \"vQtyDivider\", \"qValue\": {\"qText\": \"1000\",\"qIsNumeric\": true,\"qNumber\": 1000}} ]"
}
]
]
}
Hey @vincent_ardiet_ , it seems it is not possible to change bookmark values from Qlik app and from APIs.
What you can do with APIs is read current bookmarks properties and then re create them.
Hey @vincent_ardiet_ , it seems it is not possible to change bookmark values from Qlik app and from APIs.
What you can do with APIs is read current bookmarks properties and then re create them.