Display an attachment on catalog item

madeves
Kilo Contributor

Hi,

 

I want to be able to show menus for our catering catalog item so when the people selecting their food choice, they can review the attached menus to decide.   I have attached the file to the catalog item itself and it doesn't show when I 'Try It' and there does not appear to be a 'Display Attachments' field on the form.

 

Any idea how I would do this please?

 

Many thanks.

5 REPLIES 5

ryangray01
Giga Contributor

To display a food-related attachment like a catering menu on a ServiceNow catalog item's "Try It" form, you can create a variable of type Macro and embed HTML that links directly to the attached file using its sys_id, such as <a href="/sys_attachment.do?sys_id=YOUR_FILE_SYS_ID" target="_blank">View Menu</a>. This allows users to easily preview the food menu, meal options, or buffet details while placing their catering request. Since attachments like savory menu PDFs or dessert lists don’t appear by default, this method ensures customers can make informed choices about their meals right from the form.