I have a sharepoint list, and each member can only add 1 item.
I've looked in the sharepoint list settings, but I can't find any option that does that, so I remembered that I could use power auto.
Has anyone had this implementation scenario?
Thanks
Solved! Go to Solution.
Hi @skindu,
One workaround could be trying to enforce it from the input side of things, via column settings and Power Apps form customization.
I would add a single line of text column. Enforce unique values on that column. After that I would use PowerApps forms customization to disable input for this column and set the default value to User().email.
With this workaround whenever the same user tries to save another item they won't be able to, because there already is an item which has the same value in this new column. Be aware this workaround doesn't support adding items via the edit in grid view.
Below is an example of that approach.
1. Create new column which enforces unique values (on save item event).
2. Customize the datacardvalue with PowerApps form customization to set the default property to the User().Email and the DisplayMode of DataCard to Disabled.
Hi @skindu,
One workaround could be trying to enforce it from the input side of things, via column settings and Power Apps form customization.
I would add a single line of text column. Enforce unique values on that column. After that I would use PowerApps forms customization to disable input for this column and set the default value to User().email.
With this workaround whenever the same user tries to save another item they won't be able to, because there already is an item which has the same value in this new column. Be aware this workaround doesn't support adding items via the edit in grid view.
Below is an example of that approach.
1. Create new column which enforces unique values (on save item event).
2. Customize the datacardvalue with PowerApps form customization to set the default property to the User().Email and the DisplayMode of DataCard to Disabled.
I want to evolve PowerApps, but I still don't have enough skills.
The list have a lot fields, there are about 25 fields, with a lot of validations...
So, for now, I'm going to use the form with json sharepoint
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Read the latest about new experiences and capabilities in the Power Automate product blog.
If you are a small business ISV/Reseller, share your thoughts with our research team.
User | Count |
---|---|
25 | |
23 | |
9 | |
9 | |
7 |
User | Count |
---|---|
41 | |
35 | |
25 | |
21 | |
13 |