I need help with a formula or code that grants specific useremail() access to edit a table.
The table is currently READ_ONLY to all USEREMAIL() but need a code that will allow USER1 only to edit Table whiles it still remains READ_ONLY to USER2, USER3 & so onโฆ
Any help will be appreciated very much
Solved! Go to Solution.
Welcome to AppSheet community.
Please go to Data --> Table option --> Are Updates Allowedoption and please write an expression something like below
SWITCH(USEREMAIL(),
โuser1@mydomain.comโ, โUPDATES_ONLYโ,
โREAD_ONLYโ)
If you wish USER 1 to only edit the records and not add to it. Here โuser1@mydomain.comโ is the email of the USER1. Other users will have READ_ONLY access.
OR
SWITCH(USEREMAIL(),
โuser1@mydomain.comโ, โALL_CHANGESโ,
โREAD_ONLYโ)
If you wish USER 1 to add, edit and delete the records. Here โuser1@mydomain.comโ is teh email of the USER1. Other users will have READ_ONLY access.
Please take a look at following articles too.
Welcome to AppSheet community.
Please go to Data --> Table option --> Are Updates Allowedoption and please write an expression something like below
SWITCH(USEREMAIL(),
โuser1@mydomain.comโ, โUPDATES_ONLYโ,
โREAD_ONLYโ)
If you wish USER 1 to only edit the records and not add to it. Here โuser1@mydomain.comโ is the email of the USER1. Other users will have READ_ONLY access.
OR
SWITCH(USEREMAIL(),
โuser1@mydomain.comโ, โALL_CHANGESโ,
โREAD_ONLYโ)
If you wish USER 1 to add, edit and delete the records. Here โuser1@mydomain.comโ is teh email of the USER1. Other users will have READ_ONLY access.
Please take a look at following articles too.
This means a lot. Thanks for the help. Tried to use this expression earlier but didnโt understand it. Thanks for the explanation.
Much much appreciated
User | Count |
---|---|
40 | |
29 | |
24 | |
24 | |
13 |