- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on ‎01-21-2022 05:25 AM
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:
Preview:
Leave your thoughts in comments.
- 4,200 Views
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Interesting solution, but did you consider the consequences?
It would be very easy to launch a script-based attack that floods your instance with requests and file attachments.
At the very least, you should point out that a captcha should be built in for guest users to make sure that a human and not a machine is performing the upload.
Kind regards
Maik
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Thank you for pointing that out Maik.
I'll add this in the project description on developer portal. Here everyone is going to read your comment anyways. 😄
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
I am working on next version with Google reCAPTCHA enabled for public users. Stay tuned.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
hey, this is a great feature.
Have you been able to get the Google reCAPTCHA integration
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Yeah I did that but lost my progress because my PDI was reclaimed. I am again going to build that part.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Yes, PLEASE let us know when you get the reCAPTCHA working!
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
@JagjeetSingh Did you ever get the Google reCAPTCHA to work? 🙂