Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
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
MVP
MVP

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.

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.

balrajahlawat
Esteemed Contributor

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?

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

balrajahlawat
Esteemed Contributor

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.

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???

MVP
MVP

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

Not applicable

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

Thanks jagan

MVP
MVP

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.

Community Browser