Select to view content in your preferred language

How do i check on Android if GeodatabaseFeatureTable supports Attchaments

1214
5
Jump to solution
09-20-2016 12:34 PM
TércyoStorck1
Occasional Contributor

How do i check on Android if GeodatabaseFeatureTable supports Attchaments?

0 Kudos
1 Solution

Accepted Solutions
TércyoStorck1
Occasional Contributor

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
Honored Contributor

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
Occasional Contributor

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

0 Kudos
AlexanderNohe1
Honored Contributor

Which version are you working with?

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

0 Kudos
TércyoStorck1
Occasional Contributor

10.2.8-1

0 Kudos
TércyoStorck1
Occasional Contributor

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