I have created a survey related to structures and occupants. The Occupant portion of the survey is a repeat that needs to be updated. When creating a totally new record (structure + occupants) the delete button exists in the Occupant repeat.
After submitting the entire record, then refreshing the surveys to a device with the intent of updating the Occupant repeat, the Delete button is no longer there.
Is there a design setting I am missing to allow the deletion when updating?
Deleting of repeat records via the Inbox or Sent box (editing workflow) is not currently supported. If the survey has already been sent and is stored in feature service, this is considered an edit of the records. Therefore these records would need to be deleted from the feature service directly and then re-downloaded via the Inbox if you want to see them removed on the survey stored on the device.
Is there any updates on when or if this is possible? I have a similar user requirement where surveys are reviewed via the inbox, and sometimes there accidental duplicates of repeats, or repeats that should be removed.
If there's an update that delivers this coming soon we can hold on a bit, but otherwise I can implement a different workflow e.g. with the user adding a delete flag on the record that deletes it further down the line.
No, this is not supported and there is no plan in near future to support deleting repeat records from the field app. Using a workaround such as adding a delete flag on the record that deletes it further down the line would be the best solution for now.
Could you elaborate on this sentence in your reply: "...Therefore these records would need to be deleted from the feature service directly..." I am able to EDIT a repeat in the feature layer but I still haven't figured out how to DELETE one entirely. Some detailed guidance would be appreciated--thanks!
How are you trying to edit/delete the records from feature layer / related layer? Are you using AGO or Enterprise, and are you trying to do it from AGO webpage, or using ArcGIS Pro? You can also use a script, such as python, to query and delete records.
Thanks for the reply Phil. I am using AGO and trying to do it from the AGO webpage. I have some "empty" repeats that got submitted before I figured out how to prevent them so I'm just trying to do a little data cleaning of older data. I know I can take care of the issue when I do downstream analyses (in R) but I was just wondering if there was an easy fix from within AGO.
I don't think you can delete related recrods directly from AGO interface in web browser, however please reach out to AGO team in their GeoNet forum if you have more questions on that.
However, I know you can do it easily with ArcGIS Pro. Open the hosted feature service from AGO in Pro, and then open the related table. You can add/edit/delete records directly from the table in Pro. The edits will be saved immediately. Ensure you have correct permissions to be able to add/edit/delete records with the sign in user you are using.
Thanks Phil. I was almost able to make the ArcGIS Pro route work. I got to the last step to delete the empty record but it turns out I have a Basic license and a Standard or Advanced is required. I'm looking into upgrading now...