This allows you to refresh the ClearWork page in your browser. This is the equivalent of clicking your browser’s refresh button or pressing the F5 button (PC) or Command+R (Mac). This is useful when you’ve made many changes to a record that you would like to discard and retrieve the original record. Valid page components for this action are:

  • ModeSwitcher – the onCancel propertied can be used.
  • ActionButton – the onClick property can be used.


actionSet this to “reloadPage” to use this action.


Add the following to your component:

"onCancel": [
    "action": "reloadPage"