| Numéro d’ID de bogue |
BUG-000161963 |
| Envoi | October 9, 2023 |
| Dernière modification | August 18, 2025 |
| S’applique à | ArcGIS Field Maps |
| Version trouvée | 23.2.3 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 11.0 64 bit |
| Statut | As Designed
Après examen par l’équipe de développement, il a été déterminé que ce comportement est prévu. Pour plus d’informations, reportez-vous à la section Informations supplémentaires.
|
Informations supplémentaires
ArcGIS Field Maps Designer checks the feature layer's capabilities to see if it is sync enabled (capabilities must contain 'sync'). When sync is enabled by the steps in the Python script (update definition with syncEnabled true), the layer's capabilities are not updated. If the script is updated to match what ArcGIS Online does when enabling sync (update definition adding 'sync' to capabilities), then sync is enabled correctly and sync is added to the layer's capabilities, which works as expected in ArcGIS Field Maps Designer.
Solution de contournement
Change the Python script to enable sync with the same update definition call that is used when ArcGIS Online enables sync for the item's setting page. 'Sync' must be added to the 'capabilities' and update the definition call.
Étapes pour reproduire