I am facing issue in interface when I am preforming action on my records or form it not showing the updated value until I refresh the whole browser it will be helpful if anyone sugggest how I can resolve this issue.
Discussion posts and replies are publicly visible
You can use a!refreshVariable() to achieve that
Hi I am using that but still facing that issue
Hi yes we have local variable inside the refresh variable but those local variable are also using refresh variable will that will not work.
can you share a code snippet
all local! variables using a!refreshvariable()
So here which variable data is not getting refreshed both paginInfo and filterCdt ?
yes
can you share one more screenshot by expanding the filterCdt as well
it is same as local!paginginfo just in place of value their is blank string is given
Hi I tried to create an example for you in which we are adding ay random values in a variable and then setting it to null using the refresh variable.
a!localVariables( local!a: 1, local!b: a!refreshVariable(value: "", refreshOnVarChange: { local!a }), { a!linkField( label: "We will use this to refresh variable b", links: a!dynamicLink( label: "click here to refresh", saveInto: { a!save(local!a, local!a + 10), } ) ), a!linkField( label: "Generate Random Values to var b", links: a!dynamicLink( label: "click here to generate random values in variable b - "&local!b, saveInto: { a!save(local!b, rand()) } ) ) } )
let me try it but thanks for this help.
Did you check values in the local variable section? To help you, more detail is needed. Like which ref. variable gets updated. The complete piece of code will help.