How to enable OGL Embed in APEX Applications

Perform the following steps to Embed OGL in your APEX Applications:

  1. Select the APEX app in which we need to embed OGL.

    Apex App

  2. Go to Page 0 (Global Page).

    Page O

  3. Select Dynamic Action icon from Page 0.

    Dynamic Action

  4. 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.

    Page Load

  5. In the Dynamic Action configuration pane:
    1. Give a Name to the Dynamic Action for example "OGL Embed"
    2. Set Dynamic in Execution→Event Scope field
    3. Set Page Load in When→Event field
    4. Click Save.

      Event

  6. Create a TRUE Event under the newly created dynamic action ("OGL Embed" in this case).

    True Event

  7. Select Execute JavaScript Code in Identification→Action field.

    Java Script

  8. Paste the OGL Embed code from the OGL Console in Settings→Code.
    1. To track the current logged in end use metric, uncomment the code
      1. iridize("api.fields.set", {user_id:apex.env.APP_USER});

        Settings Code

  9. Click Save.

    Save

Now your APEX application is embedded with OGL.