Hi @tc_ton, for hosted feature layers in ArcGIS Online, currently, if the layer's editing settings only allows "Add" and "What features can editors see?", 'Editors can't see any features, even those they add.' option is selected, the Query capability will be disabled for the layer.
When the query is disabled, if the layer is opened in Map Viewer Classic, features won't draw and you get "Accessing data failed" error if you try to open the attribute table.
In Map Viewer, features are visible on the map but you don't see the option to open the attribute table.
If you try to use this layer as the data source in some of the apps (e.g. Dashboard), you may get an error and data from this layer may not be accessible by the app.
Since Survey123 3.14, the feature layers that are created for surveys have these editing settings by default. This was an intended change to provide the most secure data experience for survey creators by default and allow them to decide what permissions they want to open on their data.
You can enable the query capability by changing the layer settings:
- Enable 'Update' or 'Delete'.
- Change the option for 'What features can editors see?' to 'Editors can see all features' or 'Editors can only see their own features (requires editor tracking).'
- Disable editing.
Best,
MJ