A.5 Access Data Studio UI from Compliance Studio and ECM without Triggering Reinstallation

To access Datastudio UI from Compliance Studio and ECM application without triggering reinstallation:
  1. Navigate to <COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/mmg-ui/ conf directory.

    Note:

    Make sure that you have taken backup of this application.properties file before updating any changes.
  2. Open the application.properties file and update value for mmg.datastudio.ui.url as https://<hostname>:<Datastudio Port>/cs. For example, https://testserver.com:7008/cs.
  3. Save the file.
  4. Navigate to <COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/mmgstudio/ confdirectory.

    Note:

    Make sure that you have taken backup of this application.yml file before updating any changes.
  5. Open the application.yml file and update the directives parameter as follows:
    "frame-ancestors 'self' https:// <Hostname>:<Compliance_Studio_Gateway_Port>"

    This parameter allows Datastudio UI to be embedded as iFrame in any external application and this controls the allowed origins where datastudio UI can be embedded.

    In case of ECM-IH integration use case, update the directives parameter as follows:

    "frame-ancestors 'self' https:// <Hostname>:<Compliance_Studio_Gateway_Port> http:// <ecm_webserver_hostname>:<ecm_ui_port>"
  6. Restart Compliance Studio services.
    After restart, the Compliance Studio URL will be https:// <Hostname>:<COMPLIANCE_STUDIO_GATEWAY_PORT>/cs/home.