Load UI Events Framework Inside an External Application

For an external application to interact with the Service Center, the external application must be added to the UI Events Framework library file in the external application itself.

The library file is available at https://static.oracle.com/cdn/ui-events-framework/client/ui-events-framework-client.js. Add the UI Events Framework library file to the external application using any native method of loading scripts into an HTML file, such as loading the library file into an HTML file using a script tag as the following example show:
<script src="https://static.oracle.com/cdn/ui-events-framework/libs/ui-events-framework-client.js"></script>

Type declarations are available in uiEventsFramework: https://static.oracle.com/cdn/ui-events-framework/libs/23.01.1.5/uiEventsFramework.d.ts. Add this file to the TypeScript project for type checking.

Once the library is loaded in the external application following object will be available in the application's DOM.
CX_SVC_UI_EVENTS_FRAMEWORK.uiEventsFramework

Users can use APIs exposed the object to interact with the Service Center.