Checklist - anyone know of client functions that can be called in relation to it?

MG Casey
Mega Sage

My goal:

  • Call a client function to refresh the "Checklist" from the server to see if new items have been added after the page has loaded
    OR
  • Call a client function to add a new "Checklist Item" via a client script

 

Has anyone discovered any client functions related to the "Checklist" feature?

3 REPLIES 3

Sandeep Rajput
Tera Patron
Tera Patron

@MG Casey I doubt if there are any ways to call any client side method from a server side script. However, you can use 

setInterval(myTimer, 1000);

function myTimer() {
 alert('Hey! there');
}

 

setInterval function and put your GlideAjax call inside it to check if there are any updates available post the form was loaded. Hope this helps.

I'm not trying to call a client-side method inside a server-side method.

 

The scenario is that I know specifically there is new checklist items after the agent has the form open. Live forms unfortunately does not automatically update the Checklist widget. I need some way to refresh just that single widget on the form page.

@MG Casey In your widget's client controller you can use the setInterval to check for the updates and refresh the widget if you receive an update.