Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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