When related records are retrieved from a feature service, duplicate features are added to the service. To reproduce:
Open a network traffic monitoring tool such as Fiddler
In Application Builder, add a feature layer to an application that has related records that originate from a feature service
Click on a feature with related records to open its pop-up
Click the button on the pop-up to retrieve related records
Notice that, when related record are retrieved, a request to the applyEdits capability of the feature service is also made. Inspection of the data afterwards shows that a duplicate feature was added.
When related records are retrieved from a feature service, duplicate features are added to the service. To reproduce:
Notice that, when related record are retrieved, a request to the applyEdits capability of the feature service is also made. Inspection of the data afterwards shows that a duplicate feature was added.