set-active-tab
Programmatically set the next active tab to display in the jig.tabs. The action determines which tab will open next. For example, if you are on the third tab, the action button can be set to open the first tab.
Configuration options
Some properties are common to all components, see Common component properties for a list and their configuration options.
Action Identifier
Give the action a unique name that will be used to reference the action in another jig's action. See the example below.
id
Provide the jigId for the jig that will be opened next.
Considerations
The
action.set-active-tabcan only be used in jig.tabs.The
action.set-active-tabneeds to be referenced as a callback action which is used in conjunction with theaction.execute-action.
How to configure the action
The action is configured under the
jigIdin thejig.tabsfile. Give the action a unique name (action identifier) that will be used to reference the action in the tab's corresponding jig.In the corresponding jig configure the
action.execute-actionand specify the unique name (action identifier) in the action property's value.
Examples and code snippets
Basic set active tab

In this example, when you are on the third tab (timelogs), a Next Appointment button at the bottom of the screen will open the first tab (appointments). Note: The action.set-active-tab works in conjunction with action.execute-action using an action identifier.
Last updated
Was this helpful?