Attachment widget for service portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2019 01:18 AM
Hi,
I am facing issue with attachment ui macro in serviceportal for catalog item. I have variable with type macro with label which is attachment icon. In service portal this is not supporting. Can anyone help me with the widget creation for attachment.
UI macro code as below
<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<p></p>
<b>${gs.getMessage('Click')}</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>
${gs.getMessage('to add attachment to this request.')}
</b>
</j:jelly>
Your help is much appreciated.
Thanks & Regards,
Meghashree Raikar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2019 01:21 PM
Hi,
Download the update set from https://serviceportal.io/downloads/require-attachments/. and commit it.
Add the variable set in the catalog item.
Mark my answer as correct or helpful if it helped.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2019 12:20 PM
Did you find a solution for this?
Thanks.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2019 01:18 PM
Hi,
There is an update set readily available for getting the required functionality in place. Look for thread & download & commit necessary update set.
Thanks,
Jaspal Singh
Hit Helpful or Correct on the impact of response.