cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PadminiDeshudu3
Level: Powered On

Gallery control button onselect saved the logged in user name to SharePoint list

Previously I asked to save the logged in user name to SharePoint List multiuser field, where List Title column value is "A" on the PowerApps form button click. I have sucessfully add and delete my logged in user name to SharePoint multiuser fields on the button click.  First of all thank you soo much to  

ClearCollect(DemoColl1,Filter(,ID=).);

Patch(DemoColl1,Defaults(DemoColl1),{Claims:"i:0#.f|membership|"&Lower(User().Email),DisplayName:User().FullName});Patch(,Filter(,ID=),{:DemoColl1})

I have added the above rule on the "Vote" button "Onselect" but showing error. Give me some Idea please.

Best Regards,

Padmini.

 

1 ACCEPTED SOLUTION

Accepted Solutions
PadminiDeshudu3
Level: Powered On

Re: Gallery control button onselect saved the logged in user name to SharePoint list

ClearCollect(DemoColl1,Filter(,ID=).);

Patch(DemoColl1,Defaults(DemoColl1),{Claims:"i:0#.f|membership|"&Lower(User().Email),DisplayName:User().FullName});Patch(,Filter(,ID=),{Smiley Very HappyemoColl1})

 

I have changed the rule to 

ClearCollect(DemoColl1,LookUp('CourseInformation',Title=Gallery3_1.Selected.Title).UserName);
Patch(DemoColl1,Defaults(DemoColl1),{Claims:"i:0#.f|membership|"&Lower(User().Email),DisplayName:User().FullName});Patch('CourseInformation',LookUp('CourseInformation',Title=Gallery3_1.Selected.Title),{UserName:DemoColl1})

It is working fine.

View solution in original post

2 REPLIES 2
PadminiDeshudu3
Level: Powered On

Re: Gallery control button onselect saved the logged in user name to SharePoint list

ClearCollect(DemoColl1,Filter(,ID=).);

Patch(DemoColl1,Defaults(DemoColl1),{Claims:"i:0#.f|membership|"&Lower(User().Email),DisplayName:User().FullName});Patch(,Filter(,ID=),{Smiley Very HappyemoColl1})

 

I have changed the rule to 

ClearCollect(DemoColl1,LookUp('CourseInformation',Title=Gallery3_1.Selected.Title).UserName);
Patch(DemoColl1,Defaults(DemoColl1),{Claims:"i:0#.f|membership|"&Lower(User().Email),DisplayName:User().FullName});Patch('CourseInformation',LookUp('CourseInformation',Title=Gallery3_1.Selected.Title),{UserName:DemoColl1})

It is working fine.

View solution in original post

Community Support Team
Community Support Team

Re: Gallery control button onselect saved the logged in user name to SharePoint list

Hi @PadminiDeshudu3 ,

 

Glad to know that you have solved issue already and thanks for sharing the resolution here so others might benefit in the future.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,150)