Regarding application/octet-stream attachment type
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2022 03:03 AM - edited 11-23-2022 03:04 AM
Hi Team,
We are using GlideSysAttachment.write Api to attache the attachment to the ticket. It is working in all the cases but failing to handel "application/octet-stream" type.
API
var att = new GlideSysAttachment();
var result = att.write(gr, attachments["name"], attachments["type"],decodeBytes))
Payload
<ns:attachment>
<name>fileName.txt</name>
<type>application/octet-stream</type>
<content>data</content>
</ns:attachment>
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2024 11:28 AM
Did you manage the problem?
Could you share?