Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I know about the filebasename() type functions that let you load the name of the data file you are loading as a field, but I would like to be able to identify the name of the actual qvw file itself. The reason being, I have the same script being used in roughly five documents but depending on what the purpose of that file is I switch on or off different parts of the script and apply or remove filters.
Currently I do this by having a few variables at the beginning to determine whether the file is the development, or live, general or specific reporting. Ideally, I would like to be able to set these variables based on the file name instead. Does anyone know a function that identifies the name of the qvw file rather than the data files being loaded?
Many thanks,
Emma
let vFilename=DocumentName()
let vFilename=DocumentName()
Excellent - many thanks this works perfectly.
🙂