Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
laacib
Contributor III
Contributor III

Uploud Images to the Qlik Sense SaaS to link them selection based expression in the App

Hi,

 

is there possibilities to uploud images and use them in the analysis app for expression related purposes? Like linking and showing a pic inside  e.g. PIK diagramm for a particular case in an expression and hide it otherwise? How can I uploud such images and use as link inside the Qlik Sense Cloud? 

In my experiences, I can only uploud  data related files like XLS, CSV, TXT ... to the cloud. I could not find (even in QMC area) such places to uploud other file type like JPG, PNG, SVG...

 

Many thanks in advance.

1 Solution

Accepted Solutions
Daniele_Purrone
Support
Support

Hi @laacib ,

we currently don't have a global repository for images in Qlik Cloud, but each app has its own media library, where you can upload files.

You can list all the media for an app by authenticating to the tenant first and then going to:
https://TENANT.REGION.qlikcloud.com/api/v1/apps/APPID/media/list

From there you can list the URL for each image:
"type": "image","id": "UserAnalyzer.png","link": "/api/v1/apps/1aa5c924-72cb-405a-bb60-8b5118e4b299/media/files/UserAnalyzer.png","name": "UserAnalyzer.png"

So, you get the URL as https://TENANT.REGION.qlikcloud.com/api/v1/apps/APPID/media/files/FILENAME

What you can do with the images uploaded there, though, might have limits. 
On the other hand, I was able to load images from one app into another app's straight table using this system.

If you have any suggestion on how to improve the media library, please suggest and idea at  https://community.qlik.com/t5/ideation/ct-p/qlik-product-insight 

Daniele - Principal Technical Support Engineer & SaaS Support Coordinator at Qlik
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

3 Replies
Daniele_Purrone
Support
Support

Hi @laacib ,

we currently don't have a global repository for images in Qlik Cloud, but each app has its own media library, where you can upload files.

You can list all the media for an app by authenticating to the tenant first and then going to:
https://TENANT.REGION.qlikcloud.com/api/v1/apps/APPID/media/list

From there you can list the URL for each image:
"type": "image","id": "UserAnalyzer.png","link": "/api/v1/apps/1aa5c924-72cb-405a-bb60-8b5118e4b299/media/files/UserAnalyzer.png","name": "UserAnalyzer.png"

So, you get the URL as https://TENANT.REGION.qlikcloud.com/api/v1/apps/APPID/media/files/FILENAME

What you can do with the images uploaded there, though, might have limits. 
On the other hand, I was able to load images from one app into another app's straight table using this system.

If you have any suggestion on how to improve the media library, please suggest and idea at  https://community.qlik.com/t5/ideation/ct-p/qlik-product-insight 

Daniele - Principal Technical Support Engineer & SaaS Support Coordinator at Qlik
If a post helps to resolve your issue, please accept it as a Solution.
laacib
Contributor III
Contributor III
Author

Thanks for the post. This work around works for me. But I would suggest to introduce a long term solution to upload media files globally for all analyse apps.

Daniele_Purrone
Support
Support

Hi @laacib ,

that's understandable!
Please, log an idea on https://community.qlik.com/t5/ideation/ct-p/qlik-product-insight  
Product management is more receptive when the requests come directly from customers.

Cheers!

Daniele - Principal Technical Support Engineer & SaaS Support Coordinator at Qlik
If a post helps to resolve your issue, please accept it as a Solution.