Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
Make your voice heard! Participate in the 2020 Wisdom of Crowds® Survey. BEGIN SURVEY
Highlighted
aknirul1
New Contributor

How to refer object in QlikView macro using javascript

Hi,

We want to make a bar in QlikView macro by using Java script.

But we are not able to get the reference of QlikView's chart or its object so that we can modify(style) the object.

Please help us in this as we are new to QlikView.

If any one can share any example which illustrates how to create bar in QlikView macro using javascript

Please let me know if more information is required

2 Replies
Highlighted
MVP & Luminary
MVP & Luminary

Re: How to refer object in QlikView macro using javascript

QlikView doesn't support JavaScript else JScript - Wikipedia or VBS. The best way to get an overview and various example would be to look within the APIGuide.qvw (within your install-folder by automation or maybe here: QV_APIguide_v11_MODIFIED.qvw).

The provided examples in the guide are all for VBS so that if you want to use JScript you will need to translate them. Support and examples within the community are rather seldom to macro-stuff and if it's mostly to VBS so I would suggest using VBS instead of JScript. Before take a look here Macros are Bad to decide if you want really to go this way.

- Marcus

Highlighted
balabhaskarqlik
Honored Contributor

Re: How to refer object in QlikView macro using javascript