How do i check on Android if GeodatabaseFeatureTable supports Attchaments

1067
5
Jump to solution
09-20-2016 12:34 PM
TércyoStorck1
New Contributor III

How do i check on Android if GeodatabaseFeatureTable supports Attchaments?

0 Kudos
1 Solution

Accepted Solutions
TércyoStorck1
New Contributor III

I've found why it awalys returns 'false'. I do not set GenerateGeodatanaseParameters.setReturnAttachments() to true. When I change it to true, it works fine.

Thanks!!

View solution in original post

0 Kudos
5 Replies
AlexanderNohe1
Occasional Contributor III

From the API reference:

public boolean GeodatabaseFeatureTable.hasAttachments()

Returns true if the table supports attachments.

Returns
  • true if the table supports attachments, false otherwise.

GeodatabaseFeatureTable | ArcGIS Android 10.2.8 API 

I hope this helps!

0 Kudos
TércyoStorck1
New Contributor III

I saw it. But it's always return false... even when GeodatabaseFeatureTable supports attachments

0 Kudos
AlexanderNohe1
Occasional Contributor III

Which version are you working with?

I can test in-house to see if I can reproduce.

0 Kudos
TércyoStorck1
New Contributor III

10.2.8-1

0 Kudos
TércyoStorck1
New Contributor III

I've found why it awalys returns 'false'. I do not set GenerateGeodatanaseParameters.setReturnAttachments() to true. When I change it to true, it works fine.

Thanks!!

0 Kudos