Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
kdmarkee
Specialist
Specialist

QlikView 12 - Help with JScript Macro

From our QV app in Access Point, I want to show a button that when pressed, it opens a .js form webpage for a user to fill out and submit.  I have this javascript logic to work with (shortened version:  <script type='text/javascript' src= ...) but I have no javascript experience meaning I have no idea what my code needs to look like in the Edit Module editor, not do I understand the posts referring me to the files QlikViewAPI_html.zip and JS_Api-Version11.zip.   If anyone can offer some sample code I would really appreciate it.  Thanks.

3 Replies
andrey_krylov
Specialist
Specialist

Hi Kris. If I understand correctly this can be done through the so-called extension. It is not possible to create external javascript objects in the macro module. There are default extensions on your machine in Qlikview installation path   C:\Program Files\QlikView\Examples\Extensions and you can check the sample code

Object Extension Templates

Extension Object Basics.doc

kdmarkee
Specialist
Specialist
Author

Thanks for responding.  I will check out the links you provided and see if I can get a solution in place.  I will mark as Correct after that investigation.

chrismarlow
Specialist II
Specialist II

Kris,

If your webpage to do this already exists (so one with buttons to do the post back of the form data etc.), rather than scrape on the JavaScript possibly try one of these options;

1) Host in a WebPageViewer extension (see Stefan Walther's version here Qlik Branch);

318406.png

2) Use a button to open URL;

318406_2.png

Just a couple of options if the full integration gets messy.

Regards,

Chris.