Is there anyway of hiding the โNewโ action within a dropdown field; I have a few Ref columns within the forms on the app. I have restricted the permissions of columns and behaviour actions but still when I test user accounts that do not have the ability to add new rows to a table the action still shows. When the action is clicked they are redirected to a blank form so no inputs are available.
I have hidden all system actions and created new ones with appropriate permissions; but this didnt do the trick.
Is this an AppSheet bug?
Solved! Go to Solution.
@Sarah_Keown you have to adjust this at the table level. See this here:
https://help.appsheet.com/en/articles/961472-controlling-add-update-and-delete
@Sarah_Keown how exactly are you looking whether or not a specific user can add records? And yes, I believe that if the user has restricted access at the table level this is a bug.
@praveen this is such a consistent question within the communityโฆ
Well in the table itself (the referenced table) I have specificed the users that can edit user records using the โEditable_Ifโ constraint.
And I have expressions within the Actions (add, edit and delete) for the referenced table using the โOnly if this condition is trueโ field I specify the same users with editing ability.
@Sarah_Keown you have to adjust this at the table level. See this here:
https://help.appsheet.com/en/articles/961472-controlling-add-update-and-delete
Thank you!
@Grant_Stead I was thinking that you might be able to control the โNewโ button inside a Ref dropdown via the corresponding Add action for the table (in actions) - but no go.
The Add action (of the table) is not tied to the โNewโ button inside a ref dropdown; the only way to remove it is indeed through table/slice edit permissions.
Yeah, itโs messyโฆ
One way to clean up the mess:
If you create a slice (to remove the โAddโ permissions of a table in a specific space in your app), you get the corresponding inline, form, detail views - which you then need to conform right?
Iโve been making use of the inline viewโs event action to launch a LINKTOROW() deeplink that opens the record they tapped in the original detail view (or form, whatever); this way I donโt have to conform the sliceโs detail view so itโs the same as the main tableโs.
Yes. Agreed.
User | Count |
---|---|
36 | |
31 | |
30 | |
20 | |
17 |