How to use/replace GlideSysAttachment for scoped app?

aklimenko
Mega Expert

We use GlideSysAttachment in these cases. Is it supported in scoped app or how can we rewrite it?

1. GlideSysAttachment.copy() to copy an attachment from one object to another

2. .getBytes() to get binary stream to be later sent to external server

13 REPLIES 13

pavan_poul
Kilo Expert

Hi Alexey,



GlideSysAttachment   is not supported in scoped app.


We have raised problem for the same"PRB625222", which is for adding some IMP API's in scoped app.





Thanks,


Pavan


Pavan, where can I look at the problem status. Most importantly, is it fixed in Patch2? Thank you!


Hi Alexey,




PRB625222: api additions for scoped applications


GlideSysAttachment.copy()


Now it is in testing phase, will see this in next release.


Thanks,


Pavan


We refactored our app not to deal with attachments.


Is there a replacement for the write() method on GlideSysAttachment in scoped app?   Seems to not be available in Fuji patch 4