Select to view content in your preferred language

MMPK FeatureTable Relate Information

2636
10
Jump to solution
06-18-2019 07:47 AM
KyleGruber
Frequent Contributor

I can hear the collective groan when my name shows up on this forum already.

In the 100.5 Runtime SDK release notes:

  • BUG-000108264 RelationshipInfo is not returned properly from a mobile map package

Unfortunately, I'm not seeing the results of this.

I created a new MMPK after this relate was created.  When you debug in runtime:

As always, your assistance and guidance is greatly appreciated.  Let me know if you need a repro project, I can provide that relatively quickly.

Details:

ArcGIS Pro 2.3.3

Esri.ArcGISRuntime 100.5.0

Esri.ArcGISRuntime.WPF 100.5.0

Visual Studio 2017

Thanks!

Kyle

0 Kudos
10 Replies
KyleGruber
Frequent Contributor

Michael,

Got everything working perfectly with Create Relationship Class, with one exception.  Is it not possible/valid to have multiple relationship classes with the same destination table?  It seems when I try this and try to export an MMPK, I get an Error 2698:  No Permission To Perform The Operation Upon The Datasource.  I have tried removing all traces of the relationship classes (the tables from Contents, and the tables in the geodatabase in the catalog), but I'm still getting the error.  I also can't find any documentation on this particular error code.

EDIT:  Resolved the error, but it does seem that creating multiple relationship classes that have the same feature as the destination table causes the MMPK creation to fail.  The following errors show up in ReplicaLog, and the source table of the second relationship class is the feature that always fails to copy.


<ReplicaMsg time='7/12/2019 3:55:12 PM' type='LOG_MESSAGE_TYPE_WARNING' code='102014' elapsed='642.520000 seconds' method='GeoDBDataTransfer::Transfer' objectClassName='ESN' replicaName=''>Failed to copy dataset ESN.</ReplicaMsg>


<ReplicaMsg time='7/12/2019 3:55:12 PM' type='LOG_MESSAGE_TYPE_WARNING' code='102015' elapsed='0.007000 seconds' method='GeoDBDataTransfer::Transfer' objectClassName='ESN' replicaName=''>Conflicts detected but resolve conflict is set to false. Bailing out.</ReplicaMsg>

0 Kudos