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

Hello @JVINAY ,

 

Please refer below article raised for the same fieldMessage query on Portal. Hope this would resolve your issue.

https://www.servicenow.com/community/itsm-forum/show-field-message-function-in-service-portal/m-p/76...

 


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.

Ankur Bawiskar
Tera Patron
Tera Patron

@JVINAY 

can you share how that message is shown in platform view?

which script is doing that?

If some client script then ensure UI Type - ALL so that it works for both

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

Hi @Ankur Bawiskar ,

current script for using Platform view:

JVINAY_0-1744795228842.pngJVINAY_1-1744795252517.png

I have changed UI Type - ALL but not working portal view.

Can please look into this and help me.

 

Thank you. 

@JVINAY 

Is it going inside the IF statement?

are all the values matching correctly? i.e. environment sysId, state 110 and the other false

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

@Ankur Bawiskar ,

I have created new On change Client script.  please suggest any changes required

JVINAY_0-1744796502644.pngJVINAY_1-1744796516444.png

no luck above code also not working , Please help me the changes.

Thank you.