Skip to main content
November 29, 2022
Question

Auto Refresh page

  • November 29, 2022
  • 8 replies
  • 0 views

How to auto refresh a page that is being called in a site.

for example, when I click on Change Department and fill the form and submit. the changes must be reflected on the User screen without refreshing manually

    8 replies

    vinayk2390
    November 29, 2022

    If you're using a record action, you can use refreshVariable() and use the refreshAfter config to refresh the variable that stores the user info.

    November 29, 2022

    wont refresh Variable refresh only local variable?.

    Will it refresh the current page on the site aswell? 

    davel001150
    November 29, 2022

    Yes, when you change a local variable, that can cause a chain reaction that causes all the other local variables to also update, and last of all the interface components all refresh, the whole SAIL gets rebuilt from the ground up with all the new values.

    refreshAfter : "RECORD_ACTION" could become your very best friend.

    harshitb6843
    November 29, 2022

    My go-to will be to change the nodes till the "Write to DSE" smart service in the PM. That should work. 

    November 29, 2022

    Could you please explain it as in how to implement this

    mikes0011
    Brainy
    November 29, 2022

    The process flow returns the user to the form instantly as soon as the first non-CHAINED link is reached.  If this happens before the DB write occurs, the user is likely to see data reflecting the old version upon reloading of the original form.

    The Expression Guru