Display info message on CSM Portal

Khusi1
Tera Contributor

How to display info message with CASE number after CASE submission.

 

bandita_lakra_0-1668593484602.png

 

1 ACCEPTED SOLUTION

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

 

 

View solution in original post

10 REPLIES 10

Ok. You can add .toString() right after the number in your code. It will convert the glide element to string.