Is there a workaround for GlideSysAttachment().getBytes() iam getting an issue beacuse of the Maximam size 5 mb/

Sheldon
Tera Contributor

GlideSysAttachment().getBytes() is returning zero beacuse the size of attachment is more than 5 mb. I have tried to replace the getBytes() function with getContent() and getContentBase64 functions but it is returning as undefined.Is there any other workaround to overcome this issue?

5 REPLIES 5

astha_chaubey
Tera Expert

Thank you Tom, it helped me with a solution