- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2022 12:51 AM
In the docs, the data size of content that can be retrieved with getContent() and getContentBase64() are limited to 5MB.
There is no mention of a limit regarding the data size that can be written with writeContent() and writeContentBase64().
Is the data size of writable content limited to 5MB?
I read this docs.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2022 01:02 AM
Hi @Takaaki Sawai ,
I don't think we have a data size mentioned anywhere for Writing .
files are written using GlideSysAttachment
api with content type, name
var attachment = new GlideSysAttachment();
var DecodedBytes = GlideStringUtil.base64DecodeAsBytes(rawfile);
var fileSysId = attachment.write(record, fileName, contentType, DecodedBytes);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2022 01:02 AM
Hi @Takaaki Sawai ,
I don't think we have a data size mentioned anywhere for Writing .
files are written using GlideSysAttachment
api with content type, name
var attachment = new GlideSysAttachment();
var DecodedBytes = GlideStringUtil.base64DecodeAsBytes(rawfile);
var fileSysId = attachment.write(record, fileName, contentType, DecodedBytes);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2022 01:13 AM
Thank you for your answer.
Do you know if DecodeBytes that is 4th parameter in write() can write more than 5MB without any problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2022 01:19 AM