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: 
Not applicable

Creating dynamic button names

Dear QlikCommunity,

I wish to create a textbox that sends you to a specific sheet when clicking on it.

New Sheet Objet -> Text box -> Action -> ... So far, so good.

Here's the issue: I want the text in the text box to change dynamically with the name of the sheet.

Example:

In sheet ABC I have a text box saying: "Go to Start", and when one click on it - wupti - you jump to the SH1 (Which is called "Start")

Suddenly, my partner feels like changing the name of SH1 from "Start" to "Welcome". The button/text box still works. However, the text in the text box is rather misleading.

So, is it possible to do some sort of ="Go to " & Title(SH1) when defining the text in the text box, so it automatically updates.

All inputs are welcome.

Thank you all in advance.

1 Solution

Accepted Solutions
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     You can done this by using variable.

     Initially set variable with value 'Go to Start' and On Sheet activate set variable value as 'Welcome'.

     use this variable in text box or buttons as =$(variableName)

     Use Document Properties-->Triggers-->On load.

     Sheet Properties-->Triggers-->On activate.

Celambarasan

View solution in original post

2 Replies
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     You can done this by using variable.

     Initially set variable with value 'Go to Start' and On Sheet activate set variable value as 'Welcome'.

     use this variable in text box or buttons as =$(variableName)

     Use Document Properties-->Triggers-->On load.

     Sheet Properties-->Triggers-->On activate.

Celambarasan

Not applicable
Author

Thanks for the quick response. This helped a lot!