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.
Discussion posts and replies are publicly visible
For once can you pls try to use the refresh variable in rule!APP_RULE_fetchUserStatusDetailsByUserName
There are no local variables inside rule to try with it.
Have you tried to put the refresh variable in the rule
FYI, this is how my rule looks.
a!localVariables( local!data: a!refreshVariable( value: index( a!queryEntity_22r2( entity: cons!APP_USER_ENTITY_USER_STATUS, query: a!query( filter: a!queryFilter( field: "userName", operator: "in", value: ri!userName ), pagingInfo: a!pagingInfo(1, 1) ) ).data, 1, null ), refreshAlways: true ), if( a!isNullOrEmpty(ri!userName), null, local!data ) )
Sorry this didn't work. But I appreciate for your time and efforts. Thank you.