How to allow only PDF format Attachments in Record producer ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2022 06:09 AM
How to allow only PDF attachments in Record producer ?
Attachments - Allow only submit PDF format attachment with Max 5 MB size.
- Labels:
-
Procurement
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2022 06:15 AM
Hi,
If you use the attachment type variable then use allowed_extensions variable attributes to allow pdf file only and max_file_size to control size.
If not, then use GlideAjax and client script call check size and extension in sys_attachment table.
Feel free to mark helpful and correct!
Thanks,
Sagar Pagar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2022 06:29 AM
Hi Venky,
Please refer this.
Restricting attachment types on record producer and service portal
Mark Correct or Helpful if it helps.
***Mark Correct or Helpful if it helps.***