Skip to content

Pages Integration

Below two files needs to be declared inside index.html for your product

1
2
<script type="text/javascript" src="https://dev.finapps.ihsmarkit.com/assets/client-event-hub.js"></script>
<script type="text/javascript" src="https://dev.finapps.ihsmarkit.com/assets/access-token.js"></script>

Union intercepts the event raised from the products to override the functionality. It provides the similar experience to the user across all the products.

Add below script in index.html so that product can send event to Union. You can update the unionClientSettings object as per the ClientSide page.

1
2
3
4
<script>
  // Assign an empty object to the "unionClientSettings" property on the global "window" object
  window.unionClientSettings = {};
</script>
  1. client-event-hub file is use to emit the event which would be captured by Union (Product needs to emit the event if they want to use the functionality)

  2. access-token is use to setting up the token inside session store for your product

Setup Union locally

  1. On to the dev region use sandbox functionality and make sure your underlying application is running on localhost:3000 probably you would be able to see your product logo on to the side bar.

  2. Note - We allowed on localhost:3000 (for underlying application) no other port is open for Dev environment