Mobile Popup Window APIs
The following functions are available for elements on popup windows associated with a mobile page:
These functions cannot be called from a mobile page.
callPopupPrimaryAction()
Use this function to call the action associated with the Action Button element on a popup window that is tagged as the primary action.
The Action Button element of the primary action must be located at the footer of a popup window.
Parameters
-
None
Returns
-
void
setPopupElementSourceData(elementName, sourceData)
Sets the source data of a dropdown or data table element on a popup window.
Parameters
-
elementName {string} [required] -Name of the dropdown or data table element on a popup window
-
sourceData {string} [optional] -The source data that contains the values you want to assign to the element
Returns
-
void
Error
-
Invalid or missing reference to a popup window