What is the difference between server.refresh and server.update in service portal?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-31-2016 02:11 AM
Hello- Could you please explain What is the difference between server.refresh and server.update in service portal? How we can pass custom input to server side from client side?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-31-2016 03:23 AM
Hi Abhishek,
server.refresh:Calls the server and automatically replaces the current options and data from the server response. Returns Promise
.
server.refresh: Calls the server and this.data
is automatically send to server side. Returns Promise
.
For more info. refer below thread:
Regards,
Swapnil
PS: Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2019 11:20 PM
Small correction to the above response.
server.refresh:Calls the server and automatically replaces the current options and data from the server response. Returns Promise
.
server.update: Calls the server and this.data
is automatically send to server side. Returns Promise
.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2019 11:28 PM
Hi Abhishekh,
Hefer below link.It Will Help you.
https://serviceportal.io/docs/documentation/widget_client_script.md