Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

button

hi every one

i have some button in my qvd file that each one refer to specific chart

but when i publish my file on server  my button action isn't work .

can any one help me ?

regards

9 Replies
gautik92
Specialist III
Specialist III

are yu using any macros?

if so have a look at this

Macros are Bad

tresesco
MVP
MVP

There are some triggers/actions that don't work on server environment(e.g. - reload). Not only that if your client is Ajax, button could be proven not very smooth there.

Not applicable
Author

no i haven't any macro

Not applicable
Author

my action is layout ----> activate object

gautik92
Specialist III
Specialist III

if that dint work try to use show /Hide object using variables

Not applicable
Author

how to do this ?

i don't know

gautik92
Specialist III
Specialist III

Have a look at this

Gabriel
Partner - Specialist III
Partner - Specialist III

Hi,

Post a sample file for clarity of requirement

Not applicable
Author

Thats rather simple

Create a variable vHideChart and set it to 1

Create a button with function Set variable value (not sure if thats the exact wording in English - i use a German client) and value =not(vHideChart)

In your chart under "Layout" set the show-condition to = vHideChart

Now clicking the button is switching the variable value which shows/hides the chart