Page 1 of 1

Retrieve Archived Order attachments using Select APIs

Posted: Tue May 16, 2017 5:34 am
by rgupta
How do we retrieve archived Order attachments using Select public APIs?

IAttachmentFile -- does exposes a method called GetStream, however it doesn't bring any data for archived contents.

Currently the Archive feature is available on SPAdmin->Configuration->General Settings->Archive

Alternatively, (if APIs are not available), is there a database route to retrieve the archived Order attachments?

Re: Retrieve Archived Order attachments using Select APIs

Posted: Tue May 16, 2017 7:55 am
by John Morris
The API automatically restores archived content behind the scenes, so calling GetStream should be returning the content without your coded needing to know about archiving at all.

Can you provide more background about your setup? I suspect that is where your issue lies and not with Select itself.