Retrieve Archived Order attachments using Select APIs

Discussions related to order tracking development with the ProForm module.

Moderator: Phil Barton

Post Reply
rgupta
Posts: 2
Joined: Wed May 10, 2017 7:09 am

Retrieve Archived Order attachments using Select APIs

Post 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?
John Morris
Posts: 411
Joined: Thu Sep 11, 2008 11:35 am
Location: Raleigh, NC, USA
Contact:

Re: Retrieve Archived Order attachments using Select APIs

Post 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.
John Morris
Sr. Software Architect
SoftPro
Post Reply