Skip to main content
neeleshj2272
Known Participant
Sep 13, 2023 8:16 AM UTC
Solved

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

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.

stefanhelzle0001
Brainy
Sep 13, 2023 9:00 AM UTC

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
Sep 13, 2023 8:32 AM UTC

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
Known Participant
Sep 13, 2023 8:48 AM UTC

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
Sep 13, 2023 9:00 AM UTC

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
Participating Frequently
Sep 13, 2023 8:56 AM UTC

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

Anmol
neeleshj2272
Known Participant
Sep 13, 2023 8:58 AM UTC

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

anmolv0003
Participating Frequently
Sep 13, 2023 8:59 AM UTC

Have you tried to put the refresh variable in the rule

Anmol