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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Minimize all linked objects

Does anyone know of a way to minimize a set of linked objects?
For example, I have a set of 2 linked text objects. They both share the OBJECT ID of TX207. One is on SH19 and the other is on SH22. I would like to create an ACTION that minimizes both objects. I have a Document Trigger for any select that executes the Minimize action against TX207. It works fine for the original object on SH19, but does nothing for the object on SH22. I also tried specifying the OBJECT ID as *.TX207 but this did not help. Is there a syntax for specifying ALL of the TX207 linked objects included in the document?
Thanks,
Phil

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You can probably do it with a macro that iterates through the sheets and then the objects on the sheet. But simply showing/hiding the objects is a lot simpler. That only needs an expression in the Conditional input field on the Layout tab of the properties screen of the text objects. You could use a variable and use the document trigger to set the variable.


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

Thank you for the reply. I should have stated that I can not use show/hide conditions based on what I am trying to achieve. I'd like to avoid using macros, if possible.
The real problem I have is that linked objects share the same OBJECT ID, but actions only seem to work against the original object, not the linked objects. I could use non-linked objects, but that will be difficult to maintain (since I will need to list ALL the OBJECT ID's).

By the way, I am also using V11 SR2.
Thanks,
Phil