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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

add sheet object dynamicaly

I want to add object of sheet dynamically. how could i achieve this in script?

1 Reply
Anonymous
Not applicable
Author

Create sheet object dynamically - yes. You can find examples of macros for creating charts in API guide.
In the script - probably not. To create an object, you have to have the data model - logical tables, fields, relations. You get them as the result of script execution. They don't exist during the execution yet.
You need to specify an event (i.e. On open) that triggers the macro that creates the object.