Attachment widget for service portal

meghashree
Tera Contributor

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

3 REPLIES 3

Narendra Kota
Mega Sage

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.

SN Emy
Tera Guru

Did you find a solution for this?

Thanks.

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.