The CreatorCon Call for Content is officially open! Get started here.

Service Portal Public Widget - Add attachment ?

ASA5
Kilo Sage

Hello,

I have create a public widget on service portal to allow not logged-in users to add attachments to a custom table.


find_real_file.png

 

The pop-up is opened to choose a file but when i click OK it seems that something block with permissions : 

find_real_file.png

find_real_file.png

 

Adding attachments is available only for logged in users ?

Have any one does a widget like that before ?

 

Thank you !

9 REPLIES 9

Harry Campbell2
Mega Guru

Hi,

 

Have a look at point 5 here:

https://docs.servicenow.com/bundle/london-platform-administration/page/administer/contextual-securit...

You need to give write access to the sys_attachment table.

Thansk

Harry

Ben81
Tera Guru

Hello ASA,

I wanted to perform the same action initially so I have created as well a custom widget to allow unauthentified user add attachment.
However I am blocked at the sage where I need to use the API to upload the attachment and the API doesn't allow request for unauthentified users.

How have you done that ?

Thanks,

Ben

Shambhu K B
Giga Guru

Hi ASA,

 

Any leads you got for this ? I am also trying to implement the same. please let me know if you got any solution to this.

 

Regards,

Shambhu

Got any solution? Even I have public Page which need attachment.