Converting the attachment into base64 encoded string.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2024 02:39 AM
"Have you ever thought GlideSysAttachment getContentBase64() function to pass attachments through an integration it is returning an empty string even though the attachment is present 🤔."
Cause:
This may happen due to the size of attachment.
As per the documentation we can only convert the files up to 5 MB.
Resolution:
However, if you need to covert the attachment more than 5 MB. You can use the below script include to overcome with this challenge and you can easily convert the attachments into base64 encoded string.
Stay tuned for more facts like this.
- 425 Views
0 REPLIES 0