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

Please share the script that you have written

Khusi1
Tera Contributor

Here,

bandita_lakra_0-1668863410903.png

 

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

 

 

mdash
Giga Guru

Khusi1
Tera Contributor

I tried the same, It's not giving the CASE number

bandita_lakra_2-1668785256010.png