I generated a view from spatial and non spatial databases, was able to see records in arcgis pro. When I try to publish with sync enabled service for offline usage in arcgis field maps. am getting error. So i tried add Global Id and enabling Archiving on Registered view. I am getting, Views cannot support add GLOBAL ID or Archiving. is there any alternative to this process? We have related to records in non spatial database.
Please suggest.
Hi @vijaybadugu,
We had a similar situation happen and the only recourse we had was to schedule either python script or sql job to update a standalone table. Views cannot be published so we used one of the two as work around.
I have been doing for all my previous views . I'm looking solution or work around for it .
You may need to utilize the NewID() sql method to generate something similar but it might still give you the same error that we kept running into. We had talked with Esri support regarding this and, due to the issue of the view requiring editing capabilities, we were extremely limited in tackling this issue.
What's the error message when you publish the spatial view as a sync-enabled feature service?
If you can't use Archiving, you can try versioned view.
To be able to take the feature service offline, I remember the data needs to be from the same enterprise geodatabase.
Please see if the following resource helps: