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
Can you check if your query rule does not have any local variables... and if that is not the case please share code snippets.
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.