Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Week 2: Presenting "Automate Sucess" and "Integration for Innovation" - WATCH NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
sanekagr2
Partner - Contributor III
Partner - Contributor III

Issue Running Qlik-Embed Mashup from Dev Hub

Hi all,

I'm trying to launch a mashup built with the qlik-embed framework from the Dev Hub on Qlik Sense November 2024 Patch 3. The mashup works fine when hosted on IIS, but when I try to run it from the Dev Hub, I receive a 404 error for the file import-map.json.

The script used to connect qlik-embed looks like this:

  <script 
    type="application/javascript" 
    crossorigin="anonymous"
    src="https://cdn.jsdelivr.net/npm/@qlik/embed-web-components@1/dist/index.min.js"
    data-host="https://localhost/emb"
    data-auth-type="windowscookie"
    >

This was taken from the tutorial:

https://qlik.dev/embed/qlik-embed/authenticate/connect-qlik-embed/

The error I receive:

https://localhost/emb/extensions/resources/qmfe/import-map.json 404 (Not Found)

It seems that main.js is incorrectly appending extensions before resources.

The correct (working) link would be:

The working link is: https://localhost/emb/resources/qmfe/import-map.json

Is it possible to run a Qlik Embed mashup directly from the Dev Hub?

If yes, how can I configure the qlik-embed script to avoid this incorrect path issue?

Thanks in advance for your help!

Labels (4)
1 Solution

Accepted Solutions
alex_colombo
Employee
Employee

Hey @sanekagr2 , this is a known issue. I don't think this will be fixed, you can open a support case and check with R&D if can be recognized as bug. Meanwhile, you can try to download the file and import a static resource like <script src="./imports/main.js"></script>

View solution in original post

3 Replies
eyalnir_qlik
Partner - Creator II
Partner - Creator II

@SankarReddy@Benoit_C  We’d appreciate your assistance on this

Thanks

Eyal 

@rotmangadi  Qlik Sense Enterprise on Windows  

alex_colombo
Employee
Employee

Hey @sanekagr2 , this is a known issue. I don't think this will be fixed, you can open a support case and check with R&D if can be recognized as bug. Meanwhile, you can try to download the file and import a static resource like <script src="./imports/main.js"></script>

sanekagr2
Partner - Contributor III
Partner - Contributor III
Author

Thank You for the reply, I will try this method.