Solved

Custom script integration in Universal GUI

  • 16 June 2022
  • 1 reply
  • 96 views

Hi all,

In a project using the Universal GUI we want to import Excel files that unfortunately don't meet the prerequisites of the Indicium Import API. However, we do have a solution for this. In a frontend JavaScript application, we are able to read the Excel file and map the contents to a JSON structure. Then this JSON can be imported through an API endpoint.

But I still have two questions:

  1. Is it possible to load the external application within the Universal GUI, for example in an iframe?

  2. Is there a way that the user does not have to log in again on the external application? Do we have to pass an API key or is the user already logged in on the API once he's logged in on Universal?

Thanks for your help!

icon

Best answer by Mark Jongeling 20 June 2022, 16:58

View original

This topic has been closed for comments

1 reply

Userlevel 7
Badge +23

Hi Jan,

You can show an external page (on the same server as the Universal GUI) in a Preview component using the URL to that external page. This will then be shown inside an iFrame. The page will have access to the authentication-cookies of the GUI and therefore can make use of all of Indicium's functionalities.