"globalID is a required value" error

394
2
12-21-2022 02:46 PM
DuanePfeiffer
New Contributor III

The following line of code is giving me "globalID is a required value." error:

                let result = try await appData.jointUseTable.queryFeatures(using: query)

This code works in version 100.12 (not using try await but completion block)

The jointUseTable comes from a mobile map package.  I capture a reference to it after the map is loaded.  I have verified that it has GlobalID field.

EDIT: Ends up that this is a CoreData issue and not related to the ESRI SDK at all.

2 Replies
DuanePfeiffer
New Contributor III

Also, there doesn't seem to be an example in the Samples git repo

0 Kudos
rolson_esri
New Contributor III

Can you provide the data (URLs) and the code to setup the line that is throwing the error please?  If we can reproduce the issue we can help diagnose it.

 

Does the same code work with 100.15?

 

Thank you

0 Kudos