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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
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

1 Reply
Anonymous
Not applicable
Author

Can someone help me?

Please, I appreciate any help!

Thanks,

Elena