Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
GOKULAKANNAN
Creator II

Python code to fetch Qliksense app Data model

Hi @Everyone, 

is there any way to get the image of data model using python script, am trying to execute the code using automation in qlik saas.

Labels (1)
  • Cloud

2 Replies
JandreKillianRIC
Partner Ambassador

Hi @GOKULAKANNAN 

 

I don't know of any method / solution to get this image automatically.

What is the use case / requirement for this? 

 

Regards - Jandre

Mark the solution as accepted that solved your problem and if you found it useful, press the like button! Check out my YouTube Channel | Follow me on LinkedIn

JandreKillianRIC
Partner Ambassador

Hi @GOKULAKANNAN 

Ok - I have managed to get the image (Web page) showing in the front end on a sheet within the Qlik Application. 

Download the Sense Media Box extension. 

https://github.com/stefanwalther/sense-media-box

Once downloaded - Upload this in Qlik Saas > Administration > Extensions. But only upload this one. 
\sense-media-box-master.zip\sense-media-box-master\build\sense-media-box_latest.zip

This is within the original zip that you would've downloaded.

 

Add this to a sheet, choose Website (Media Box Type) and then enter the datamodelviewer site. 

JandreKillianRIC_0-1736927018870.png

Data model viewer site should look something like this 

https://xxxx.eu.qlikcloud.com/datamodelviewer/app/b2d8b0cc-3a0f-4b61-a9f4-f63fa08b84c8/hubUrl/%2Fana...

JandreKillianRIC_1-1736927041000.png

Now you should have the image "website" in a sheet in QlikSense.

JandreKillianRIC_2-1736927145506.png

I tried playing with Qlik Application Automation to using the "Get Chart Image" block but this is not working (Might be due to the fact that this is a extension object) 

 

But this should get you going at least. 

 

Regards - Jandre

 

 

 

Mark the solution as accepted that solved your problem and if you found it useful, press the like button! Check out my YouTube Channel | Follow me on LinkedIn