I have strange scenario.
I have a feature class when I publish it with feature access enabled (Query Only) there is no problem
When I take the same feature class and add it to I SQL view (Only the feature class) and publish it with feature access enabled (Query Only). the spatial then falls in the sea. If I open the map image layer it's spatial correct, just the feature layer that is not spatially correct.
Any idea why this is happening?
Portal 10.6.1 federated