cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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=),{Smiley Very HappyemoColl1})

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),{UserNameSmiley Very HappyemoColl1})

It is working fine.

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),{UserNameSmiley Very HappyemoColl1})

It is working fine.

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
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 238 members 5,043 guests
Please welcome our newest community members: