Attachment file size restriction

Dhruv Chandan
Giga Guru

Hi,

i want to restrict the attachment to 5mb in incident form explicitly and if the attachment count is more than 3 files then , it should ignore the data and throw an error message.

i don't to change the system properties for attachment. Just want these changes to be done for the incident from. Is it possible to restrict it via Business Rule so or other script .

Please suggest.

Thanks,

Dhruv

1 ACCEPTED SOLUTION

Govind Kumar S1
Kilo Guru

Hi Dhruv,



please check below thread :


Attachment size pop up



Hope this helps you



Thanks & regards


Govind Kumar Sharma


View solution in original post

5 REPLIES 5

Mateen
Giga Guru

You can write an on Insert business rule on sys_attachment table to check file after insert. If it exeeds the limit, delete the file and give an error message. Same BR can be used to achieve secod requirement as well.  


Govind Kumar S1
Kilo Guru

Hi Dhruv,



please check below thread :


Attachment size pop up



Hope this helps you



Thanks & regards


Govind Kumar Sharma


Hi Govind,



Thanks for the help...Its was quite useful



Thanks


Dhruv


You're Welcome