- 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-16-2022 02:24 AM
Hello
Are you talking about the page where we see the screenshot
There are two ways you can clown the existing widget and add gs.addinfomessage in the server script
OR
Create a new widget and add gs.addinfomessage in the server script and add the new widget on the page
Please mark my answer as correct based on Impact.
Please mark my answer as correct based on Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2022 01:21 AM
Thank you for your response.
I tried, but how to display the CASE number with the message current.number is not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2022 02:02 AM
Hello,
current.number will not work as it is on portal not on any table to form. You will have to glide the record. So whenever you submit the record producer you will have the sysid in the url you just need to get the sysid from the url glide the case table and get the number.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2022 07:25 AM
Yes, its working but showing 3 times. How to fix this