Skip to main content
neeleshj2272
September 13, 2023
Solved

How to update Appian Page Label value dynamically for every user interaction with the page components?

  • September 13, 2023
  • 20 replies
  • 1 view

I have a page where the label I am dynamically passing from database.

I have a dropdown menu with 3 values and I want to make sure when I select any of the values and click on submit, my selected value should be updated on the Page label. The problem I am currently facing is for every refresh I am able to see the update value and can't we make it possible without any page refresh??

I already used refreshVariable but didn't work. Please let me know your inputs.

Thanks.

Best answer by stefanhelzle0001

I think that the expression to define the label of a page in a site does not support any kind of refresh behaviour.

[mention:6b9f80ff18f9420082d13ef2d5121d56:e9ed411860ed4f2ba0265705b8793d05], do you know more about this?

20 replies

stefanhelzle0001
Brainy
September 13, 2023

Do you mean the label of a page in a site? Can you share some screenshots and code snippets of what you already tried so far?

neeleshj2272
September 13, 2023

Yes I do. For every change in the dropdown I can see the corresponding values are being reflected in the backend but what's happening is, in the label of a page in a site, the data is not being refreshed or fetched every time my "userStatus" value from the backend gets modified.
Iterating my requirement: when "userStatus" gets modified then I need to change the label status of a page in a site using the below code.

stefanhelzle0001
Brainy
September 13, 2023

I think that the expression to define the label of a page in a site does not support any kind of refresh behaviour.

[mention:6b9f80ff18f9420082d13ef2d5121d56:e9ed411860ed4f2ba0265705b8793d05], do you know more about this?

anmolv0003
September 13, 2023

For once can you pls try to use the refresh variable in rule!APP_RULE_fetchUserStatusDetailsByUserName 

neeleshj2272
September 13, 2023

There are no local variables inside rule to try with it.

anmolv0003
September 13, 2023

Have you tried to put the refresh variable in the rule