Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Macro

Hi guys,

How it works a Macro? I don't know anything of Macros and i would like to understand what they are for and how they works. And also how I can create and modify them.

Thank you all

1 Solution

Accepted Solutions
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

Macros are VBScript or JScript subroutines, also called "Module". You can access them by the button "Edit Module" in the Design toolbar (next to the Table Viewer).

Macros can help you make mass changes in your document, or perform certain automation features that are not available as actions. In production environments, macros are not recommended, because they are not as stable as we wish, and they can slow down your system, for a variety of reasons.

The best way to learn macros is to obtain a copy of the document APIGuide.QVW and browse various samples.

good luck!

Oleg Troyansky

www.masterssummit.com - take your QlikView skills to the next level!

View solution in original post

2 Replies
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

Macros are VBScript or JScript subroutines, also called "Module". You can access them by the button "Edit Module" in the Design toolbar (next to the Table Viewer).

Macros can help you make mass changes in your document, or perform certain automation features that are not available as actions. In production environments, macros are not recommended, because they are not as stable as we wish, and they can slow down your system, for a variety of reasons.

The best way to learn macros is to obtain a copy of the document APIGuide.QVW and browse various samples.

good luck!

Oleg Troyansky

www.masterssummit.com - take your QlikView skills to the next level!

Gysbert_Wassenaar

You almost never need macro's. And macro's do not always work in the ajax client. You probably do not need to learn how to code macro's. But if you really want to you can find enough examples on this site. You have a choice of vbscript or javascript for creating macro's (only one language for the entire document). You can find api documentation here:

QlikView Core COM API Guide - Version 11

QlikView JavaScript API Reference - Version 11


talk is cheap, supply exceeds demand