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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2018 06:18 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-20-2021 05:42 AM
Thank you Tom, it helped me with a solution