Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
hollinger
Contributor
Contributor

SystemVariable QVWorkPath



Hi,

In a QV script,I try to assign the working Path to the variable fa.

Code:

Let

In the Debug Modus the content of fa is set to <null>

Could anybody help?

Best regards

Winfried

;

fa=$(QVWorkPath)



6 Replies
Not applicable

Try one of the following possibilities:


SET fa = '$(QVWorkPath)';
//or
LET fa = QVWorkPath;


Best regards
Stefan

hollinger
Contributor
Contributor
Author

Hi Stefan,

thank you for your reply,

the first option

SET fa = '$(QVWorkPath)'

returns me a emty string (Debug mode: fa "" )

the second option

LET fa = QVWorkPath shows me fa <NULL>

any idea?

Best regards

Winfried

Not applicable

🙂 It's a typo, sorry!

the variable's name is QvWorkPath (V not upper case!)

Best regards

Stefan

Not applicable

Hi Winfried,

here are a short example.

Good luck!

Rainer

hollinger
Contributor
Contributor
Author

Hi Walter,

great, this works,

Many thanks

Winfried

Not applicable

Hi,

I am working to automate QV app migration from test to prod server.

I am using QvWorkRoot (or QvWorkPath) to find the document folder address.

It works fine if we open the document by giving full address (like \\xyz\abc\test.qvw)

But if we open from mapped directory QvWorkPath value is E:\\abc\test.qvw)

Is there any system/environment variable which gives server name?

Thanks,

Boopathi