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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Qlikview - Call external script in load

Hi All,

Quick question.

I have a lot of similar scripts on a lot of different dashboard. If I change one script (to update etc), I am currently then having to manually replicate the same change in all of the other dashboard scripts.

Is it possible to save a qlikview script externally and then call it using script editor.

Thanks for you help in advance.

H

1 Solution

Accepted Solutions
marcus_sommer

More flexible and modular as exporting the whole script would it be to use include-variables. See here what is meant: The $(Include) which you $(Must_Include) into your toolkit

- Marcus

View solution in original post

4 Replies
syed_muzammil
Partner - Creator II
Partner - Creator II

You can Export and save your Script in an External File. Go to script editor-->File--> Export to script File. Call this file in different apps using Include key word.

marcus_sommer

More flexible and modular as exporting the whole script would it be to use include-variables. See here what is meant: The $(Include) which you $(Must_Include) into your toolkit

- Marcus

Anonymous
Not applicable
Author

Hi,

we recently started using scripts so i dont know if this is relevant but:

we include this in the code:

$(INCLUDE=..\06 Script\DB\DB.Inventory.qvs); //<----location of the script

CALL DB.Inventory; //<---name of the sub

Exit Script;

Script is externaly saved as DB.Inventory.qvs and starts with


SUB DB.Inventory

then some code

 

END SUB

Hope this helps.

Anonymous
Not applicable
Author

Great thanks guys