Service Portal Add attachment Link/Remove Paperclip

Community Alums
Not applicable

Hi Community,

 

I have a requirement to show a similar 'add attachment'  in catalog item service portal view. when a user clicks on the add attachment it should give option to choose file.I'm sure, I have to create a widget for this task, as I do not have much experience on service portal and I do not have an understanding of Angular Js. I'm looking for the code.

Also followed  Nathan Firth has released a drag/drop attachment feature but it is not supporting in Madrid version. The update set is not showing option me to commit the update set after loading it.
https://serviceportal.io/downloads/require-attachments.

And I want to hide "add attachment" OOB paperclip icon in "Service Portal" view..

nathanfirth Any suggestions ?

Can some one help me. I need this to be delivered today. Any help is appreciated.

 

find_real_file.png

Thanks

3 REPLIES 3

VigneshMC
Mega Sage

Link says it is supported upto new york, are you sure you are using "widget-sc-cat-item-v2" widget to render the catalog item , which is required per the attachment documenation?

Thanks

Omkar Mone
Mega Sage

Hi Rafmine,

 

Update Sets can only be previewed/committed when in Global Domain. You need to switch your domain to Global (in UI 16, click on refresh icon near domain picker).

 

Check this once and let me know.

Omkar Mone
Mega Sage

To hide the add attachment,

 

You need to clone the Sc Catalog Item widget, and comment the div on line 95 as shown below - 

find_real_file.png

 

Hope this helps.

 

Regards,

Omkar Mone