SidePane Operations
SidePaneContext is a UEF provider object that enables you to access SidePane events and perform actions on the SidePane in the Fusion application.
You can get the sidePaneContext by calling the getSidePaneContext
API
provided in the UEF provider object.
Here's the syntax:
getSidePaneContext(sidePaneId: string): Promise<ISidePaneContext>;
Here's a TypeScript example of how you can access SidePaneContext
by
passing the SidePane
ID:
const uiEventsFrameworkInstance: IUiEventsFrameworkProvider = await CX_SVC_UI_EVENTS_FRAMEWORK.uiEventsFramework.initialize('appname', 'v1');
const sidePaneContext:ISidePaneContext = await uiEventsFrameworkInstance.getSidePaneContext('sidePaneId');
Here's a JavaScript example of how you can access SidePaneContext
by
passing the SidePane
ID:
const uiEventsFrameworkInstance = await CX_SVC_UI_EVENTS_FRAMEWORK.uiEventsFramework.initialize('appname', 'v1');
const sidePaneContext = await uiEventsFrameworkInstance.getSidePaneContext('sidePaneId');
Supported Operations
UEF supports the following five sidePane operations: