Display delivery time on catalog items included in order guide
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
The delivery shown on the catalog item which is part of the a order guide is coming from the flow designer which is connected to it, but we want to show the delivery time from the delivery time present on the catalog item itself
We are prepared to customise the order guide widget which shows the catalog item
In this case the widget is "SC Order Guide"
HTML part of the widget
<div class="m-b" ng-if="!data.hideDeliveryTime && item.sys_class_name != 'sc_cat_item_producer' && item.sys_class_name != 'sc_cat_item_guide' && (!item.no_delivery_time && item.estimated_delivery_time)">
<b>${Delivery Time}</b>
<div>
{{::item.estimated_delivery_time}}
</div>
</div>
But i could not find the "item.estimated_delivery_time" anywhere, item is the glide object of the catalog item but could find the field with name "estimated_delivery_time".
Server side script
item = $sp.getCatalogItem(itemData);
i want to change the server side code such that the delivery time comes from delivery time of the catalog item rather than the flow.
Please help or advise if you have faced this before.
Catalog item in the order guide
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
so what did you start with and where are you stuck?
Unless you do some trial and error you won't learn
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
58m ago - last edited 57m ago
Refer this link once:
https://www.servicenow.com/community/itsm-forum/catalog-item-delivery-time-date/m-p/616053
Delivery dates & estimated delivery dates in your service catalog
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti