Qlik-Cli-Windows icon indicating copy to clipboard operation
Qlik-Cli-Windows copied to clipboard

Search text within an app

Open itsik85 opened this issue 3 years ago • 3 comments

Hi, I would like to know if there is a possibility to present a QV/QS application in a textual way or alternatively to search for text in the entire application: in script, objects, variables, dimensions, expressions, etc.

I thought maybe using the Export-QlikMetadata function, or actually this function refers to a completely different operation? Thank you very much for your help!

itsik85 avatar Jan 11 '22 09:01 itsik85

The Export-QlikMetadata command is for exporting SAML metadata from a virtual proxy.

Qlik-Cli for Windows works with the Qlik Sense Repository service APIs, it cannot connect to the engine as that would require use of websockets. To evaluate expressions on objects, variables, etc., would require use of the engine.

You can evaluate engine expressions using another tool, also called qlik-cli, have a look here https://qlik.dev/libraries-and-tools/qlik-cli. The relevant command is qlik app eval, more infor can be found at https://qlik.dev/libraries-and-tools/qlik-cli/app-eval.

ahaydon avatar Jan 11 '22 10:01 ahaydon

Sorry for my lack of knowledge, but is it possible to install this library and your library in PowerShell, together? Both modules have the same name ...

itsik85 avatar Jan 17 '22 08:01 itsik85

Sorry for my lack of knowledge, but is it possible to install this library and your library in PowerShell, together? Both modules have the same name ...

Yes, both can be installed together and will not conflict with each other. The CLI from qlik.dev site is an executable that can run from any terminal, whereas this project is a PowerShell module and so only runs in a PowerShell terminal. Since the other qlik-cli is a binary executable it is not constrained by the limitations of PowerShell and so it has more features.

ahaydon avatar Jan 17 '22 13:01 ahaydon