Can't seem to find a way to remove the delete capabilities from the Edit Feature Widget. I've uncheck the add record and delete record but the delete button is always there... and working!
I need to give my staff the capability to add attachment to the feature but I don't want them to be able to delete the whole feature!! Anyone have the same issue?
Thanks,
Ken
Solved! Go to Solution.
Hi @KenBouchard,
Have you tested the editing from your end-users side to see if they still had the privileges to delete?
Some changes were made to the Edit widget in the last release to make sure it adheres tp the currently connected user's privileges; so if you are an admin and you disable editing you will still have privileges to edit. This is in line with the behavior you'll see in Map Viewer which shows a message like below when you enable/disable editing for a layer.
You'll find the latest changes to the Experience Builder Edit widget here: What's new—ArcGIS Experience Builder | Documentation
Hi @KenBouchard,
Have you tested the editing from your end-users side to see if they still had the privileges to delete?
Some changes were made to the Edit widget in the last release to make sure it adheres tp the currently connected user's privileges; so if you are an admin and you disable editing you will still have privileges to edit. This is in line with the behavior you'll see in Map Viewer which shows a message like below when you enable/disable editing for a layer.
You'll find the latest changes to the Experience Builder Edit widget here: What's new—ArcGIS Experience Builder | Documentation
🤦:male_sign: My gosh...
I was on my admin account. Sorry, forget about this...
Thanks for your response!
Ken
I just tried this out and it is not functioning like you have outlined. If a member is a part of the group (not shared update) in which the ExB, Web Map, and HFL are a part of and with default "user" (creator) role permissions they can still delete records with the ExB Edit widget. I have proofed this by also building a WAB based on the same web map and the edit widget in the WAB version users cannot delete.
I am experiencing this exact issue. Has @AlixVezina provided you with a solution? Care to share?
How then does a developer test functionality? I can't expect an end user to drop what they are doing to test every time I need to check something.
Our organization doesn't allow multiple accounts.
This.
I am not sure if this would work for your situation, but could you turn off the 'delete' privilege on the Feature Service side? Keep in mind that people with Admin level permission of wherever the data is hosted will retain the ability to fully edit including delete. I am sure admins retain the ability to do whatever they want to data in EB as well.
This topic needs further attention. I have several groups of users that need the ability to update records and are therefore part of a shared update group. When I build an experience for each target audience though, they can still delete content - even with the "Delete Records" capability turned off and with the web feature's layer settings adjusted.
@NateExley Thanks for posting. Please would you be able to provide more details why the app and editable layers are shared via a shared update group? What is the workflow that requires to provide full privileges to these users?
If your layers are editable, have delete disabled, and are shared with those users without the "shared update group" option enabled, they should still be able to update the data without the ability the delete it.