Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
darkshadow91223
Contributor III
Contributor III

Access to objects properties macro level

Hi all,

Im trying to acces to the hide\show condition of an object because i need to export several objects to ppt, but im doing the filter with this line of code:

if qlikObjects(i).GetObjectType = 10 Or qlikObjects(i).GetObjectType = 16 then

this line is filter from all the object in an specific sheet , but theres a part of the dashboard that wont get exported, and this part has to objects type 10 that are getting exported, but this object have the same type, are in the same sheet, and they just get differenced by the Hide/show property. the objects that i want have the contidition vView=1 and the others vView=2, so i need to validate that every object have "vView=1" before export them.

Capture.PNG

 

i need to say, that another thing that difference them is the ID but i want to apply this solution for other dashboard and they may have to many objects so i think by this or other unique property will be faster becasue i need to be able to add other types of objects in the filter line if i need\want to.

any ideas?

Thanks in advanced.

1 Reply
Brett_Bleess
Former Employee
Former Employee

Not exactly sure what you are up to on this one, but I can point you to the API Guide which has all of the supported API calls...

https://help.qlik.com/en-US/qlikview-developer/April2019/Content/QV_HelpSites/Home-developer.htm

You want the Using QlikView with Automation and Macros area and the QlikView COM API Reference QVW there.  Hopefully that may help, but I am not sure the APIs are this granular.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.