Skip to main content
Solved

Custom script integration in Universal GUI

  • June 16, 2022
  • 1 reply
  • 115 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.

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

1 reply

Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 3936 replies
  • 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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings