How to allow only PDF format Attachments in Record producer ?

Venky Kshatriy1
Tera Contributor

How to allow only PDF attachments in Record producer ?

Attachments - Allow only submit PDF format attachment with Max 5 MB size.

 

2 REPLIES 2

Sagar Pagar
Tera Patron

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

The world works with ServiceNow

Yousaf
Giga Sage

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.***