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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
partapuru
Contributor
Contributor

Qlik Cli Connection Problem

Hi everybody,

My goal is to analyze Qlik files in the Qlik Sense environment. I want to extract all the app's dimensions, measures, scripts, charts etc in our environment. And I will create a report that shows these things to monitor the system. Since we can't see them inside the qvf file, I decided to use Qlik Cli.

I downloaded Qlik Cli manually as shown here:
https://qlik.dev/toolkits/qlik-cli/install-qlik-cli/

I created context using:

qlik context create mycontext --server MYIPNUMBER:4747

when i try to see the apps using "qlik app ls", it says "waiting for the response", but it doesn't respond in the end, it keeps waiting. I use different ports too. I use 4432,4243,443 etc too, but they throws error. 4747 and 4748 just hangs.

I tried to do the things just like in this video. but in this video, he takes api from qlik cloud. we have qlik sense environment. it didn't make sense to me to take api from qlik cloud. I also tried to connect with certificate, but couldn't do it.

https://www.youtube.com/watch?v=0nD15qcI6Eo&t

Any help would be greatly appreciated! Thanks in advance. 🙌

 

Labels (3)
2 Replies
Vijay_Vekariya
Employee
Employee

Hi,

From my understanding is that Qlik-CLI supports API calls to QRS, if you have setup according to: https://qlik.dev/toolkits/qlik-cli/qlik-cli-qrs-get-started/

 

To achieve what you want, you will need to use .Net SDK https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Getting-started-with-the-NET-SDK/...

https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Home.htm

 

.NET SDK can be used with PowerShell if you use COM objects with the library.

https://learn.microsoft.com/en-us/powershell/scripting/samples/creating-.net-and-com-objects--new-ob...

Marc
Employee
Employee

This will allow you to connect to a Qlik App via the Qlik Sense SDK in PowerShell.

https://community.qlik.com/t5/Integration-Extension-APIs/Exporting-Qlik-Script-QVS-with-Powershell-Q...

 

Once you have the $QEApp Object, there are many Methods you can call against it. AppExtensions

 
some examples:
$DimensionList = [Qlik.Sense.Client.AppExtensions]::GetDimensionList($QEapp)
 
$MeasureList = [Qlik.Sense.Client.AppExtensions]::GetMeasureList($QEApp)
 
$SheetList = [Qlik.Sense.Client.AppExtensions]::GetSheetList($QEApp)
 
$VariableList = [Qlik.Sense.Client.AppExtensions]::GetVariableList($QEApp)