Skip to main content
Answer

Custom script integration in Universal GUI

  • June 16, 2022
  • 1 reply
  • 130 views

Jan Peeters
Rookie

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!

Best answer by Mark Jongeling

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.

This topic has been closed for replies.

1 reply

Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • Answer
  • June 20, 2022

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.