Refresh Issue

Certified Associate Developer

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

Parents Reply
  • 0
    Certified Lead Developer
    in reply to prakhar2511

    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()) }
          )
        )
      }
    )

Children