Service Portal: Add info message

gomathyshankar
Tera Contributor

Hi,

Whenever user submits the incident (something is broken)we get the below mentioned info message in the incident page.The same incident when we submit in portal it showing same message.We want to override this message as want to redirect to other page   in service portal .Could some please help me here.

incident.png

14 REPLIES 14

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello Gomathyshankar,



This message is hard coded in the script section of the record producer. Please check the same on your instance. Replace the below link with YOURINSTANCE NAME to get to the record producer


https://YOURINSTANCENAME.service-now.com/sc_cat_item_producer.do?sys_id=906528a10a0a0bf000a85bc20dfb...



http://wiki.servicenow.com/index.php?title=Record_Producer


sarfraz3
Mega Expert

If you are using your customized service portal, wherever you have the code base for the page or i frame for the page(i believe it would be coming from i frame), you can do some java script DOM manipulation by identifying the element of "info message" and add you own data forcibly in the html content . By this you can achieve it to work only for portal and not for native UI.   If you want to go ahead with this probably i can help with some codes .



thanks


please hit helpful/correct based on the impact of the response.


Hi Sarfraz



It would be great help if you help me with codes


are you using a layout that is common through out your portal?.. if yes we can write javascript there!. please do post your layout code