I have an AGOL Hosted Feature Service that is shared as a WFS. In the resulting WFS all of the source attributes/fields of the source Feature Service are exposed. My requirement is not to return/include OBJECTID and Shape__Length attributes in WFS. Is this possbile with AGOL please ?
It does not look like WFS can be published from a View. And even after fiddling with Update Definition
and setting some of the fields to visible:false they still come through in WFS endpoint.