- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2025 12:49 AM
Hi all,
I'm trying to simplify the catalog item view in the Service Portal.
By default, below the Order button, there's a line that says "Required information" when mandatory fields aren't filled. Since these required fields are already marked with an asterisk (*), The Product owner feels this message is redundant and may clutter the UI.
I saw that this message is coming from the SC Catalog Item widget, but this widget is read-only and out-of-the-box, so I couldn't modify it directly. As a workaround, I cloned the widget, removed the line of code that displays the "Required Information" message(but i think this only hides the label), and saved it as a new widget.
My question is:
Can someone help me with the right html script and What is the best way to apply this custom widget across all catalog items on the portal so that it replaces the default SC Catalog Item widget?
Also, if anyone has done something similar before, could you please share the line of code that needs to be removed(or the condition to tweak) to stop showing the "Required Information" message?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2025 02:02 AM
Hi @kanishkab
Open the catalog item portal page and remove the highlighted widget.
Open your custom SC catalog item widget and update the default value of "show_field_validation_messages" under option schema as "false"
Now add your custom widget to the catalog item portal page
Result:
Hope this helps.
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2025 05:53 AM
It's achievable. but why to do that?
I will suggest to train your customer about this rather than cloning the widget and making the changes and re-applying the cloned widget to the OOTB page.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2025 06:18 AM
I suggest that also, better than updating OOTB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2025 04:53 AM
So you are starting with technical debt before you are even using the platform? Why? It literally shows what information they should enter. And yes, those are marked with an asterisk, but what if you have a long form and then click 'order'? You can see immediately that you forgot a field.
Just because you can, doesn't mean you should. Educate and train people instead of just blindly follow what is asked.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark