Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
QlikWorld, June 24-25, 2020. Free virtual event for DI and DA gurus. Register Today
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Not applicable

How to Pass Active Object ID to a Button to enable the conditional show of it

Hi Gurus,

I am struck in a situation where there are two charts placed in a container and on selection one of the charts i need to see a button show when the chart is activated.

Can i know how to get the object Id and pass it to the conditional show so that the button is show only when the sheet with that  object Id is active.

Thanks.

SK Chunduri

amzMRKachhiaIMPcelambarasanmbytresescoswuehlgwassenaarrwunderlichjaganoliveiraclaudioqlikviewaddictLayout & VisualizationsScripting‌‌App Development

10 Replies
Highlighted
MVP & Luminary
MVP & Luminary

Re: How to Pass Active Object ID to a Button to enable the conditional show of it

Hi,

Unfortunately there is no such feature available as of now. There is no function which returns current chart displaying in Container. Instead of container you can use buttons to show and hide the charts similarly how a Container works so that you have more control over the charts and with this you can do this easily.

Hope this helps you.

Regards,

Jagan.

Highlighted
Not applicable

Re: How to Pass Active Object ID to a Button to enable the conditional show of it

can we use a macro and get the object id of the chart in container and pass it variable so that i can use the variable directly.

Highlighted
Champion
Champion

Re: How to Pass Active Object ID to a Button to enable the conditional show of it

Surendra,

I am little bit confused that You want this conditional show hide on a button or activated sheet.

On sheet activated you can set a trigger for a particular object id by using set variable & same you can try for a button.

Let me know what exactly you want?

Highlighted
Not applicable

Re: How to Pass Active Object ID to a Button to enable the conditional show of it

Sorry,

if i mistyped it. i have a container Object in which i have couple of charts and on selection a particular chat a button should be shown untill then the button should be in Hidden State.

So Based on the Activated Object i need to Conditionally show the Button.

Thanks

Highlighted
Champion
Champion

Re: How to Pass Active Object ID to a Button to enable the conditional show of it

Surendra,

Agreed with Jagan. As of now no such feature is avail for Containe or Chart object.

On button you can have action but not on Container and Chart object.

Highlighted
Not applicable

Re: How to Pass Active Object ID to a Button to enable the conditional show of it

Can i know how to get the value of Object id which is inside the container???

Highlighted
MVP & Luminary
MVP & Luminary

Re: How to Pass Active Object ID to a Button to enable the conditional show of it

Highlighted
Not applicable

Re: How to Pass Active Object ID to a Button to enable the conditional show of it

Thanks jagan

Highlighted
MVP & Luminary
MVP & Luminary

Re: How to Pass Active Object ID to a Button to enable the conditional show of it

Hi Surendra,

Please close this thread.

Regards,

Jagan.