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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to recognize Access Point Url or Protocol

Hi all,

I would like to know if it's possible to get Access Point URL or, better, its Protocol and store it into a variable/field, using VBscript or JScrit macro.

In javascript it is known as window.location.protocol.

I tried with this Jscript macro:

Init = function() {
var mydoc = Qv.GetCurrentDocument();
mydoc.SetVariable("vProva",window.location.protocol);
}

but I got the error message:

'Qv' is undefined


Thanks in advance!

Elena

Labels (1)
1 Reply
Anonymous
Not applicable
Author

Can someone help me?

Please, I appreciate any help!

Thanks,

Elena