In my parent table I use an Action to set the column [Finished] to TRUE.
After that the user should not be able to edit the children or to add new children.
How can I do that?
Solved! Go to Solution.
Sure can! Kindaโฆ I love the AppSheet platform, you can customize and control just about everything.
You can control when the system generated add, edit, delete buttons should be shown just like you would any manually created one.
I created a sample app based on the Order Sample app to show how all this works:
You could set the child recordโs EDIT button to hide when the parent record is marked โfinishedโ. But that wonโt prevent edits via other actions/workflows that may already be in use, so youโd have to hide/disable those too.
I donโt think you can limit the tableโs Adds, Updates, Deletes permissions based on a value in another table though.
Sure can! Kindaโฆ I love the AppSheet platform, you can customize and control just about everything.
You can control when the system generated add, edit, delete buttons should be shown just like you would any manually created one.
I created a sample app based on the Order Sample app to show how all this works:
Yes, this is a nice work around. I meant that you canโt in the sense that the formula for Are Updates Allowed? does not let you reference row values.
We can limit access to individual columns, or the whole table, but thereโs no way to lock a single row based on a condition.
We can limit access to individual columns, or the whole table, but thereโs no way to lock a single row based on a condition.
Not with the same methods, no; but with control over the buttons that make everything happen you can.
Another thing you can do, but this depends on the initial setup of your data, would be if you were to use an EnumList real column of base Ref to your children. In that case you could change the Editable property to something like NOT([Finished]).
User | Count |
---|---|
43 | |
29 | |
24 | |
22 | |
13 |