logo

NJP

Allow Guest users to add attachments on Catalog Items/Record Producers

Import · Jan 21, 2022 · article

If you are looking to allow guest users to add attachments on record producer or catalog item. Check out my solution on below link.

Attachments for Guest Users || Catalog Items & Record Producer

The widget uses GlideSysAttachment API to create and delete attachments for guest users.

Features:

  • Guest users can add attachments to record producers/Catalog items.
  • The customized section is only visible to guest users. Logged in user continues to use the OOB functionality.
  • Admin can control the file extensions allowed for guest users.
  • Attachment size limit is set to 5 MB but can be changed.
  • User can remove attachments as well.
  • Multiple attachments can be loaded at once.
  • Loaded attachments are associated with created record.
  • The widget uses GlideSysAttachment API to add and delete attachments.
  • Works both in scoped and global apps.

Acknowledging the help taken from below community thread:

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

Preview:

image

Leave your thoughts in comments.

View original source

https://www.servicenow.com/community/developer-articles/allow-guest-users-to-add-attachments-on-catalog-items-record/ta-p/2306385