How can I download a feature attachment using the 100.2 .Net SDK?

326
1
03-27-2018 02:02 PM
KayugaSolution
New Contributor

Our feature service has photos attached to each row in the feature table.

I would like to download these photos using the .Net SDK for WPF.

While there is a great example for 10.2.7 at

Work with feature attachments—ArcGIS Runtime SDK for .NET | ArcGIS for Developers 

I haven't found the equivalent example for the 100.2 .Net SDK.

There is no QueryAttachmentsAsync for the feature table so I'm wondering how to do this?

0 Kudos
1 Reply
NagmaYasmin
Occasional Contributor III

Hello,

You could use GetAttachmentAsync() method to retrieve the attachments from an ArcGISFeature:

ArcGISFeature.GetAttachmentsAsync Method 

Hope that helps.