- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 02:00 AM
How can I hide the Estimated Delivery and Delivery Date fields if there are no value. The delivery time in catalog item is 0 days. I am looking at the widget SC_Order_Status but not sure where to edit here. I know there is a check box in the catalog item to hide the delivery date, but would it be possible to configure it the widget level?
Anyone who implemented same before? Please help. Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 04:16 AM
after cloning you can update this line to hide it if empty
line number 36
<div class="text-muted" ng-if="::options.display_delivery_date == 'true' && data.request.show_estimated_delivery!='' ">
${Estimated Delivery} : {{::data.request.show_estimated_delivery ? data.request.esimated_delivery : '--'}}
</div>
Similarly do in the next few lines where they are rendering it as table
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
08-02-2023 02:35 AM
HI @Ankur Bawiskar can I ask for your help here? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 02:46 AM
could you share which page it is in browser?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 02:40 AM
I know there is a checkbox for this on Item level but not sure if that checkbox is being used in the widget to render that.
Did you check the script for that widget?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 04:03 AM
Hi Ankur,
here's the link of the page
/sp_config?id=page_edit&p=order_status&table=sp_instance&sys_id=664e28ce9f4332002528d4b4232e702c