CB_PORTAL interface

The CB_PORTAL object hangs off the window object and can be accessed in parsers.

CB_PORTAL.selectPage

Used in parsers to change the page programmatically

CB_PORTAL.toggleFlyout

Used in parsers to open and close flyout panes programmatically

CB_PORTAL.getPathParams

Used in parsers to get information on URL path variables

CB_PORTAL.ClearBlade

CB_PORTAL.registerDatasource

CB_PORTAL.registerWidget

CB_PORTAL.portalModel

CB_PORTAL.toggleFlyout()

CB_PORTAL.Loader.show(htmlId)

CB_PORTAL.Loader.hide(htmlId)

CB_PORTAL.Loader.waitFor(promise, htmlId)

 

Paste this code into the portal page’s console to see the loader for one second:

 

Real-world example: