Atrium.launchItem( launchObject )
This function launches a given navigation item as a tab in the portal. The item will launch using the settings that have been configured for it in the Add/Update navigation item form.
 The parameter is an object containing the following fields:
itemId: (required) a string containing the Atrium ID attribute from the launched action.
closable: (optional) a Boolean value that indicates if the tab should contain a close button. Pass true for a tab with a close button, or false for a tab without a close button. This value defaults to true, if not specified.Â
callback - (optional)Â a function that will be called after the tab has been created. The callback contains two parameters as well, success and tab.
Success - a Boolean that represents if the tab was created properly. The value will be true for success, false if an error occurred.
Tab - a reference to the tab object being launched.Â
parm: (optional)Â a value to override the Atrium Item parameter value
Example:
The following snippet will launch a closable tab with the id of 330 with an override parameter value of "Some other value".
Atrium.launchItem({
itemId: 330,
parm: "Some other value"
})
Some documentation pages have recently moved to a new section: Profound AppDev. If you are having trouble finding specific pages, try the documentation search capability or reach out to our Support team!