We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Show delivery time on catalog item in the service portal

Shannon Burns
Kilo Sage

Does anyone know how to modify the widget that shows the details for a catalog item to include the delivery time?   It used to show in the old catalog, but the widget does not display it OOB for the Service Portal.

Thanks,

Shannon

1 ACCEPTED SOLUTION

In case anyone comes across this, I finally found a way to get this on the form.   I used the info from this post


Re: Service Portal - How can I add delivery time to catalog item



But I had to change the one line in the HTML to this to get it to work


<div class="text-muted">${Delivery Time}: {{::data.sc_cat_item.delivery_time}}</div><br/>


View solution in original post

8 REPLIES 8

Shannon Burns
Kilo Sage

Yes, I knew how to clone the widget and look at the code.     The problem is that when I looked at it, I couldn't seem to find where the fields that it was pulling were being defined.   I know what field I want to add, I just don't know where to tell it to include that in the things it's querying from the record.   I don't see where that's happening.


In case anyone comes across this, I finally found a way to get this on the form.   I used the info from this post


Re: Service Portal - How can I add delivery time to catalog item



But I had to change the one line in the HTML to this to get it to work


<div class="text-muted">${Delivery Time}: {{::data.sc_cat_item.delivery_time}}</div><br/>


Pradnya
Tera Contributor

Hi Shannon,

What changes did you make exactly to display Delivery Time on Service Portal view ?

GaneshKumar
Tera Guru

**Solution**

Sharing the solution so that any one who is facing this issue can solve this without modifying widgets/code

The 'Delivery Time' value on Portal is coming from the Workflow Properties > Schedule > Expected time

 

Update Delivery Time.jpg