- 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 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-22-2025 03:30 AM
Hello,
Thanks for the quick response ,
After applying the changes to hide the 'Required Information' section after setting show_field_validation_messages to false, the 'Order Now' and 'Add Attachment' buttons have shifted below the form fields instead of appearing on the right side as before. Could you please help me understand why this layout change is happening and how I can restore the buttons to the right side of the page?"(attaching image for reference)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2025 04:45 AM
@kanishkab Please compare your custom widget HTML with the OOB one.
I tried this in different instances. Everywhere it's working fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2025 05:48 AM
Update the value of "show_field_validation_messages" under the option schema of the widget SC catalog item and set it to false.