Offline packaging fails for a dataset I want edit in Field Maps. Using Enterprise 11.4, only archiving is enabled on the dataset, no versioning. Server log produces this warning for 4 layers in the feature service -
Warning: RelationshipClass: INTDB.DBO.<layer> ATTACHREL: inputCount: <no. of records>. Keyset-based join Query for SRC. GetObjectsRelatedToObjectids failed
Please advise how to fix this.
Sincerely
did you enable GlobalIDs before activating attachments?
Yes, and the relationship to attachment tables is based on GlobalIDs.
What size are the attachments? Are you able to package the area without attachments?
If you don't need attachments here is the documentation on how to remove them
https://pro.arcgis.com/en/pro-app/tool-reference/data-management/remove-attachments.htm
Hi @DanielFox1
I want to collect attached photos but there are no attachments still. About 15k records only. When I disable attachments and try to package, it fails. Surprisingly no error in logs even after increasing the logging level to debug.
Sincerely
Hi @Y_Chau
Does your workflow follow up to the guidance noted in the following
Taking Your Maps Offline: Data Preparation - Esri Community
Solved: Related Tables for Offline Data Collection - Esri Community
Yes, it checks all the bullets. I have done it many times. It was actually working fine in 11.3. Then we upgraded and also made some schema changes. We rolled back the schema changes and still can't get rid of this problem.
Even if I remove attachments I can't take it offline. Now it doesn't even leve any warning in server logs.