containertab - qlik-oss/gopherciser GitHub Wiki
A Containertab action simulates switching the active object in a container object.
-
mode: Mode for container tab switching, one of:objectid,randomorindex.-
objectid: Switch to tab with object defined byobjectid. -
random: Switch to a random visible tab within the container. -
index: Switch to tab with zero based index defined butindex.
-
-
containerid: ID of the container object. -
objectid: ID of the object to set as active, used with modeobjectid. -
index: Zero based index of tab to switch to, used with modeindex.
{
"label": "Switch to object qwerty in container object XYZ",
"action": "containertab",
"settings": {
"containerid": "xyz",
"mode": "id",
"objectid" : "qwerty"
}
}{
"label": "Switch to random object in container object XYZ",
"action": "containertab",
"settings": {
"containerid": "xyz",
"mode": "random"
}
}{
"label": "Switch to object in first tab in container object XYZ",
"action": "containertab",
"settings": {
"containerid": "xyz",
"mode": "index",
"index": 0
}
}