Public Catalog Item attachment:

Narendra Kota
Mega Sage

Hi,

we made the catalog item and Record producer public on a CMS page and the attachment is not working.

I found some community articles https://community.servicenow.com/community?id=community_question&sys_id=5e9d0f2ddb9cdbc01dcaf3231f96... suggesting the workaround 4 years ago.

How can we make OOB Attachment work for public?,

Thanks in advance.

find_real_file.png

1 ACCEPTED SOLUTION

Hi Narendra,

I did a deep check, it's not possible to grant the attachment management for public users, please see the official answer by ServiceNow:

"Unfortunately this is not supported within the platform. The problem is that the processor AJAXGlideRecord used for the xmlhttp (AJAX) request triggers background code which requires the users to be authenticated. So even if the UI page/macro might be accessible public, the AJAX request used for uploading and storing the attachment requires authentication."

https://community.servicenow.com/community?id=community_question&sys_id=aa7503eddbd8dbc01dcaf3231f96...

Please, mark Correct or hit Helpful if you find my response worthy.

Cheers
Alberto

View solution in original post

5 REPLIES 5

I am having this issue but what I find weird is the user has the snc_external role and is able to add attachments using the attachment variable on the record producer but when I add to the wishlist then navigate to the item via the wishlist and try to add an attachment using the same variables nothing happens

The uploadAttachment function returns an empty object