Configure iFrame support for EMR Help in ServiceNow

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 1 minute to read
  • Configure EMR Help to launch within a frame in Epic Hyperspace and Hyperdrive.

    Before you begin

    Role required: admin

    In order for any ServiceNow page or portal to be launched within an iframe, a HTTP Response Header must be configured with the correct content security policy. This content security policy will dictate which third party websites can load a ServiceNow page or portal inside an iframe.

    The EMR Help portal (Industry Remote Portal) will need to have a specific HTTP Response Header configured for the url of the Epic Hyperdrive site launching EMR Help in an iframe.

    This HTTP Response Header will need to be ordered after any global HTTP Response Headers and the "Add by" must be set to Overwrite.

    This configuration will work for both Hyperdrive and Hyperspace. ServiceNow will detect the browser version and automatically change the HTTP Response Header accordingly.

    Procedure

    1. Set scope to EMR Help.
    2. Navigate to All > HTTP Response Headers.

      (or search for sys_response_header.list)

    3. Click on HTTP Response Headers.
    4. On the list view, click New.
    5. Fill out the HTTP Response Header form as follows.
      FieldResponse
      Active True
      Applies to Specific type
      Type Service Portal [sp_portal]
      Record Service Portal: Industry Remote Help
      Name content-security-policy
      Value

      The requesting Hyperspace/Hyperdrive domain that is loading EMR Help.

      For example, frame-ancestors 'self' epic.example.com.

      Description EMR Help HTTP Response Header for Epic Hyperspace/Hyperdrive support.
    6. Click Submit.
    7. In the list view, sort by Order field.
    8. Double click in the Order field for the newly created HTTP Response Header and set the value to 500.
    9. Double click in the Add by field and set the value to Overwrite.

    Result

    You should now have an HTTP Response Header as seen below:

    HTTP Response Header configured for EMR Help.

    What to do next

    For additional configuration steps within Epic, see the How to configure EMR Help to launch within an iFrame in Epic Hyperspace and Hyperdrive [KB1207128] article in the Now Support Knowledge Base.