Announcements
hi there,
How would go about sending data in a collection to a specific sharepoint list for different users?
User A sends collection to 'sharepoint list A'
User B sends collection to 'sharepoint list B'
etc
Hi @BaseHQ ,
Some hard-coding and a Patch statement is the only way you will do this.
where can I learn this coding / find an example?
Hi,
You could try using a Switch function and Patch. The switch would control which user and patch function should be executed.
Example:
Switch( User.value, {UserA},
Patch( SharepointlistA, Defaults(SharepointlistA), { Phone: "1-212-555-1234" } )
{UserB},
Patch(SharepointlistB, Defaults(SharepointlistA), { Phone: "1-212-555-1234" } ),
etc. )
Reference Switch Function:
https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-if
Reference Patch function:
https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-patch
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 529 Most Valuable Professional
Haque 230
Kalathiya 217 Super User 2026 Season 1