How to give info message After or before reload the page in service portal.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2020 07:27 AM
Hi Team,
After update the record i want to give info message and i want to reload the page.
Client script:-
c.save = function()
{
c.data.action = "save";
c.server.update();
window.location.reload();
// c.location.href=c.data.link;
}
spUtil.recordWatch($scope, "sc_req_item", "", function(event,data) {
spUtil.update($scope);
spUtil.addInfoMessage("Record is updated")
});
It's not working.
Can anyone help me to give info message.
Thanks,
Uma.
Labels:
- Labels:
-
Service Portal Development
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2020 07:31 AM
Hi uma,
Find the below thread which is similar to your requirement.
Mark helpful or correct based on impact.
Regards,
Priyanka