Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
mrainford
Contributor III
Contributor III

Qlik Sense Iframe Parameter

We are exploring options to use Iframe in a web portal to display table data out of Qlik Sense. When I create the iframe using dev hub, it begins with the following.

<iframe src='http://localhost:4848/single/?appid=C%3A%5CUsers%5Cmyuserid%

What should I replace localhost with, servername? Should I have my Qlik Admin create a service account to replace myuserid?

There are many users on the web portal who will access their data. I want to pass parameter GroupID and display record(s) based on variable passed to Qlik Sense via Iframe linked to UserKey. 

UserKeyUserNameLocationIDLocationNameLocationAddress
1Username1Location1LocationName1LocationAddress1
2Username2Location1LocationName1LocationAddress2
3Username3Location1LocationName1LocationAddress3
4Username4Location1LocationName1LocationAddress4
5Username5Location2LocationName2LocationAddress5
6Username6Location3LocationName3LocationAddress6
7Username7Location3LocationName3LocationAddress7
8Username8Location4LocationName4LocationAddress8

 

Also is there an ability to print the displayed table from web portal to Excel?

4 Replies
ajaykakkar93
Specialist III
Specialist III

For testing are you using desktop version?

it will not work with desktop version you need the proper application id & server URL will change automatically when you create the object from single configurator.

Example : 

<iframe src='https://qliksensedev.company.com/single/?appid=52c64a6f-f848-4f2e-00bb-dd6d7d7f096b&obj=ajay2588-840...' style='border:none;width:100%;height:100%;'></iframe>

Also is there an ability to print the displayed table from web portal to Excel?

  I don't think so you can do that, alternative you can make a mashup & then make a specific button to do your specific export task. 

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting

mrainford
Contributor III
Contributor III
Author

Thanks for your response.

Will explore mashup route since more flexibility there.

Does mashup support parameter passing? Other words, I want to pass a parameter in order to filter the data accordingly and show data for specific users logged on the web portal? 

Example: User opens web portal who is assigned to ID, web portal then pass the ID to Qlik Server. Qlik Server sends the associated records back to the portal. User review data specific to their login ID and have the option to export to excel.

 

ajaykakkar93
Specialist III
Specialist III

I think that shouldn't be any issue, it can be done

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting

mrainford
Contributor III
Contributor III
Author

So I started developing the mashup with 3 objects noted in .js file (current selections, filter and table). I noticed the filter and table objects are positioned next to each other when clicked on view. 

How can I position the objects so they are stacked (filter on top of table)?