Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
aitor_torreno
Contributor II
Contributor II

Check if exist Exit Script in .qvw

Good morning everyone,


I need to take one or more .qwv and analyze in another QlikView file the code in search of knowing if it contains some Exit Script the Script of those documents and that show me a simple YES / NO, or any suggestion that you can have.


Thank you very much

1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

You can use this utility to extract the script from a set of QVWs and search either through the UI search object or by providing a search words file.

Qlikview Cookbook: Script Repository http://qlikviewcookbook.com/recipes/download-info/script-repository/

-Rob

http://masterssummit.com

http://qlikviewcookbook.com

View solution in original post

4 Replies
felipedl
Partner - Specialist III
Partner - Specialist III

Hi Aitor,


I was building a few applications for my own purposes, but can repurpose them for searching an exit script.

For checking the QVW scritp, it's best to extract the script into a text file and then checking for strings.

The attached compressed file has two folders:

  1. Write Script to File: will extract the QVWs script to the folder you want.
  2. Extract Text from Script: will check for exit script or whatever string you need and return YES if it finds the pattern you defined.

I've put and example with two QVWs to be checked, sample and sample2, having in sample2 an "EXIT SCRIPT".

The result is as follows:

sample.png

Only sample2.qvw is shown, as it contains the pattern for exit script statement.

The documents have some brief descriptions on them if you need.

Hope it helps.

aitor_torreno
Contributor II
Contributor II
Author

Hi Felip,

I try to download the rar that you add but it say that is corrupted so I can't try the method that you say.

felipedl
Partner - Specialist III
Partner - Specialist III

Hi Aitor,

Attached the .RAR files

Felipe.

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

You can use this utility to extract the script from a set of QVWs and search either through the UI search object or by providing a search words file.

Qlikview Cookbook: Script Repository http://qlikviewcookbook.com/recipes/download-info/script-repository/

-Rob

http://masterssummit.com

http://qlikviewcookbook.com