File Attachment functionality defined in a custom UI macro and added to an Item via variable does not work on an Order GuideDescriptionWhen using a UI macro as an item variable, an attachment link in the code works when browsing the item, but does not work when the item is included in the Order Guide.Steps to Reproduce Create a UI macro and include add attachment link in the code. For example: <?xml version="1.0" encoding="utf-8" ?> <j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null"> <b>Use the paperclip</b> <a onclick="saveCatAttachment(gel('sysparm_item_guid').value, 'sc_cart_item')"> <img title="Attachments..." height="16" src="images/icons/attachment.gifx" border="0" width="16"/></a> <b>to attach items to this request.</b> </j:jelly> Create a variable and set the condition Type is Macro. Use the macro you just created. Attach the variable to a service catalog item and try the item. The link to add attachment works. Create a test order guide and include the item created in the rule base. Try the Order Guide. The link to add attachment for the item doesn't work. Note, the attachment link in the cart template works (the macro in the base system is servicecatalog_cart_template. Use the following link: <a onclick="saveCartAttachment('$[sc_cart.sys_id]');">. Although this could be a workaround for the client, the client would need to attach files to each item in an order guide.WorkaroundDo not add an attachment to an item in the order guide. Instead, add the attachment during the checkout process: Select Checkout. Select Edit to add the attachment to the cart item. Select Update Cart, and proceed as normal. The requested item will then have the attachment.Related Problem: PRB613156