Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Attachment Upload Not working for Guest User in Public catelog form

Nivetha23jay
Tera Contributor

Hi everyone, I am trying to allow Guest users to upload attachments on my Service Portal.

Here is what I have done so far:

1.Created a custom widget that includes attachment functionality.

2.Set the system property glide.attachment.role.

3.Reviewed and adjusted ACLs related to the sys_attachment and sys_attachment_doc tables.

 

Even after these changes, the guest user still cannot upload attachments. The upload action is blocked, and the portal shows “Not allowed for Guest.” I also tried impersonating a guest user and assigning the public role, but it still did not work. Has anyone successfully enabled attachment uploads for Guest users on a Service Portal page? Any suggestions or examples on how to make this work securely, either through configuration or by extending the widget, would be appreciated.

Thanks

1 REPLY 1

Abbas_5
Tera Sage
Tera Sage

Hello @Nivetha23jay,

Please refer to the link below:
https://www.servicenow.com/community/developer-articles/allow-guest-users-to-add-attachments-on-cata...

 

If this is helpful, please click the thumbs-up button and accept this solution as the correct answer, referring to it in the future. It will be helpful to them.

 

Thanks & Regards,

Abbas Shaik