- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2022 02:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2022 10:44 AM
Hello @Khusi1 ,
Try to print this info message in client controller instead of printing it in server script
try to store your number in a variable like below
server script :
data.number=reqItem.number.toString();
Client Controller :
api.controller=function(spUtil) {
/* widget controller */
var c = this;
spUtil.addInfoMessage('Case Number :'+c.data.number);
};
Hope this helps
MARK MY ANSWER CORRECT IF THIS HELPS YOU
Thanks
Mohith Devatte
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2022 07:27 AM
Please share the script that you have written
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2022 05:10 AM
Here,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2022 10:44 AM
Hello @Khusi1 ,
Try to print this info message in client controller instead of printing it in server script
try to store your number in a variable like below
server script :
data.number=reqItem.number.toString();
Client Controller :
api.controller=function(spUtil) {
/* widget controller */
var c = this;
spUtil.addInfoMessage('Case Number :'+c.data.number);
};
Hope this helps
MARK MY ANSWER CORRECT IF THIS HELPS YOU
Thanks
Mohith Devatte
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2022 01:56 AM
Can you check the solution proposed in this link:
https://www.servicenow.com/community/developer-forum/service-portal-how-to-display-message-after-sub...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2022 07:28 AM
I tried the same, It's not giving the CASE number