How to enable OGL Embed in APEX Applications
Perform the following steps to Embed OGL in your APEX Applications:
- Select the APEX app in which we need to embed OGL.
- Go to Page 0 (Global Page).
- Select Dynamic Action icon from Page 0.
- Right click on Page Load Action and Select Create Dynamic Action
from the Events menu.The Dynamic Action configuration pane opens on the right
pane.
- In the Dynamic Action configuration pane:
- Give a Name to the Dynamic Action for example "OGL Embed"
- Set Dynamic in Execution→Event Scope field
- Set Page Load in When→Event field
- Click Save.
- Create a TRUE Event under the newly created dynamic action ("OGL Embed"
in this case).
- Select Execute JavaScript Code in Identification→Action field.
- Paste the OGL Embed code from the OGL Console in Settings→Code.
- To track the current logged in end use metric, uncomment the code
- iridize("api.fields.set",
{user_id:apex.env.APP_USER});
- iridize("api.fields.set",
{user_id:apex.env.APP_USER});
- To track the current logged in end use metric, uncomment the code
- Click Save.
Now your APEX application is embedded with OGL.