
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2018 01:05 PM
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.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2018 01:50 PM
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."
Please, mark Correct or hit Helpful if you find my response worthy.
Cheers
Alberto

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2018 01:14 PM
Hi Narendra,
maybe as a possible solution, you could try to create a custom Add Attachment button, following the steps described below:
How to add a custom 'Add Attachment' button to a Service Catalog Item
I hope this could help you.
Please, mark Correct or hit Helpful if you find my response worthy.
Cheers
Alberto

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2018 01:27 PM
Hi Alberto,
Thanks for your response. I already tried adding custom Add Attachment button, I gave public role to this variable as well, but this custom button is working only for logged in users and not the public.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2018 01:50 PM
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."
Please, mark Correct or hit Helpful if you find my response worthy.
Cheers
Alberto

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2018 04:05 AM
Hi Narendra,
Can you mark my answer as correct? This helps in removing this question from unanswered list and helps users to learn from your thread.
Thanks in advance.
Cheers
Alberto