Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

I want to adjust the content of the modal window that can be displayed from the information marker i

bonsai
Mega Sage

Clicking the information button in the catalog item's reference field displays a record form in the default view within a modal window.

This record form doesn't appear to be a "form widget."

I want to hide the displayed UI actions and related lists, but I don't know how.

Does anyone know a good way to do this?

 

test_item_i.png

user_ref.png

 

 

A save button, which is not implemented as a UI action, is appearing.

It seems to be hardcoded into the widget; is it possible to remove it?

Ideally, I'd like to implement this without using code.

4 REPLIES 4

Tanushree Maiti
Kilo Patron

Hi @bonsai 

 

Option 1 : Make field read-only using ACL, Client Script, UI Policy or Dictionary

Refer : KB0714194 How to hide information icon on reference fields 

 

Option 2: Adding custom CSS

Refer: KB0958089 How to hide reference variable Information icon on catalog items in Service Portal 

 

Option 3 : Adding the attribute "ref_decoration_disabled=true".  

Refer: https://www.servicenow.com/community/developer-forum/remove-quot-preview-record-quot-icon-from-a-ref....

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

It seems that options other than Option 2 are methods to hide the platform's reference field icon.

The icon is displayed in the portal, so it had no effect.

Option 3 doesn't seem to work because it's a variable record, not a dictionary record.

bonsai
Mega Sage

The reference icon serves as a way for users to check the record contents, so I'd prefer not to hide it.

I want to adjust the content of the displayed modal window.

Ankur Bawiskar
Tera Patron

@bonsai 

see this if it helps

How to hide related list from sys_popup view in ServicePortal ? 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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