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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Macros using JavaScript

Hi All,

Can anyone send me a sample macro code using Javascript (not VB Script).

Thanks.

1 Solution

Accepted Solutions
petter
Partner - Champion III
Partner - Champion III

// JScript

function Test()

{

     personName = qvlib.InputBox("What is you name?")

     msg = "Hello " + personName + " !"

     qvlib.MsgBox(msg)

}

View solution in original post

4 Replies
petter
Partner - Champion III
Partner - Champion III

// JScript

function Test()

{

     personName = qvlib.InputBox("What is you name?")

     msg = "Hello " + personName + " !"

     qvlib.MsgBox(msg)

}

Anonymous
Not applicable
Author

Thanks Petter.

Is there any material for reference to understand how to write the javascript code for macro.

petter
Partner - Champion III
Partner - Champion III

In script56.chm which you can download from here you will find full documentation of jscript:

2015-06-23 #1.PNG

petter
Partner - Champion III
Partner - Champion III

Could you please mark this thread as answered?