I want to add Info message in Portal view.

JVINAY
Tera Contributor

Hi Team.

I want to add Info message in Poral view.

Currently this message showing in platform view 

JVINAY_0-1744789241870.png

But I want to add this message in Portal view also

Condition : This message should remain display until "CAN PROVISION PROD (u_approved_for_production_provisioning) "box  is checked.

 

Can please help me how to achieve this.

Thank you. 

 

 
28 REPLIES 28

JVINAY
Tera Contributor

@J Siva 

I have created UI policy but not working , no info message showing  in the Portal view

JVINAY_0-1744793685020.pngJVINAY_1-1744793705005.png

Portal view :

JVINAY_2-1744793772866.png

Thank you.

@JVINAY 

the field message will be shown only when the Value of variable is not true

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Shree_G
Mega Sage

Hello @JVINAY ,

 

try 

spUtil.addInfoMessage('message');

 


If this solution helped resolve your issue, please consider marking it as helpful or correct.
This will assist others in finding the solution faster and close the thread.

JVINAY
Tera Contributor

Hi @Shree_G ,

for my understanding where to add this, Client script or Business rule. Please elaborate. 

Thank you.

Hello @JVINAY ,

 

The spUtil is used to perform common functions in the Service Portal widget client script.


If this solution helped resolve your issue, please consider marking it as helpful or correct.
This will assist others in finding the solution faster and close the thread.