Select to view content in your preferred language

enable Delete related table records in edit widget

204
6
Jump to solution
3 weeks ago
StuartMoore
Frequent Contributor

i'm using the edit widget in experience builder with feature layers you can select if you want to be able to Add / Update / Delete

StuartMoore_1-1751365806081.png

, but i can't see any way to do the same for a table, they don't even show in the list

StuartMoore_0-1751365762401.png

 

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
Allen_Zhang
Frequent Contributor

The related tables will follow their related layers' updating/deleting privileges.

If you turn on the layer's delete, the related table can delete records too.

View solution in original post

0 Kudos
6 Replies
Allen_Zhang
Frequent Contributor

If the related table does have a relationship with the layer, and the editing form has been configured with a related table field, the related table will display and you can add/update/delete its records.

Allen_Zhang_0-1751425629224.png

 

0 Kudos
StuartMoore
Frequent Contributor

Hi @Allen_Zhang thanks for that, it does show the relationship and when i try to edit it i can add / update / delete but that is because i am the data owner, any one else who tries it just has the ability to add/update

the feature service has all three enabled, i just cant see anywhere to enable delete against the table

Stu

0 Kudos
Allen_Zhang
Frequent Contributor

A related table's updating/deleting privileges follow its related layer's privileges, just like Map Viewer.

Adding related records is always available regardless of the layer's setting.

Is your layer's deleting privilege turned off?

0 Kudos
StuartMoore
Frequent Contributor

Is your layer's deleting privilege turned off?

yea i believe it is but i can't find anywhere to enable it, "tables" do not appear in the same way as layers within the edit widget

 

0 Kudos
Allen_Zhang
Frequent Contributor

The related tables will follow their related layers' updating/deleting privileges.

If you turn on the layer's delete, the related table can delete records too.

0 Kudos
StuartMoore
Frequent Contributor

ah, i didn't want to allow them to delete the parent only the related child table record

0 Kudos