Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I'm wondering if there is a possibility to export script from Qlik sense application into qvs files ?
if yes, please give me steps to do that.
Thank you.
Hi there
I am not sure what you mean by export, but you can copy it, paste it into a text file and then save it as a .qvs instead of a .txt.
You can then use them in your script by using Include or Must_Include. Have a look at https://help.qlik.com/en-US/sense/February2019/Subsystems/Hub/Content/Sense_Hub/Scripting/SystemVari... .
Hope this helps.
Regards,
Mauritz
I was looking for an answer to the question of "How to read a .qvs file that was already in the cloud" Since there was no export option to be able to read the .qvs file in notepad once it has been uploaded to the cloud.
There may be an easier way than this but after trying a few different techniques, I found I could read the .qvs file into a Qlik app as a text file with no headers. This read all the lines in so you can then visualise the script in a table.
For example:
I created an AutoCalendar.qvs script that included more date options than the standard. To read the contents of the qvs file I used this in a dummy app's load script.
AutoCalendarScript:
load
@1 as AutoCalendar
from [lib://DataFiles/AutoCalendar.qvs](no labels, txt);
I can now view the code in a table or use the concat( ) function over the field to get all the code into one cell.
hi,
i totally agree
i know there are workaround and you can just copy the script, but its not comfortable and its time consuming
an easy option in the UI to export/import to QVS would be great, another suggestion is to be able to create an input line with a wizard by browsing to the file location via data connections .
this feature is even more necessary in SaaS
Hi,
in QlikView there is an option to export and save the data load script in a file (.qvs):
I wonder, why this is not possible in Qlik Sense, as it is a very helpful feature.
Best regards,
David
Hi @amghorbel
not as easy as qlivkiew or right click, bu can be done by using API
hope this helps,
help users find answers! Don't forget to mark a solution that worked for you & to smash the like button!