cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate I
Advocate I

Need help with submitting collection (email list) and form to SharePoint list in one row

Hi,

I need help with submitting collection and form to SharePoint list all in one row.

 

MyPeople = collection

Approval = SharePoint List 

Approver = SharePoint List Column

Mail = collection column (I have multiple emails in this column)

 

ForAll(MyPeople, Patch(Approval,Defaults(Approval),{Approver: Mail})); SubmitForm(Form1); NewForm(Form1); Clear(MyPeople)
 
How do I make it so that it updating SharePoint list all in one row?
I just started using PowerApps. I'm still learning. Thanks for your help!
 
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Need help with submitting collection (email list) and form to SharePoint list in one row

Hi @WhatisPowerApps ,

 

You can check if one data card is marked as required or not from the property and if you unlock the data card, you can manually set it to be required by setting the Required property to "true".

Capture.JPG

 

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.

View solution in original post

2 REPLIES 2
Highlighted
Advocate I
Advocate I

Re: Need help with submitting collection (email list) and form to SharePoint list in one row

So.. I came up with moving MyPeople (collection) and From Text to another collection. Then, I move them to SharePoint List. 

 

Collect(SubForm,{Mail:Concat(MyPeople,Mail,", "),Department:DataCardValue3.Text,Reason:DataCardValue2.Text,Title:DataCardValue1.Text,Status:"Waiting"});
 
ForAll(SubForm,Patch(Approval,Defaults(Approval),{Approver:Mail,Department:Department,Reason:Reason,Title:Title,Status:Status}));
 
NewForm(Form1);Clear(MyPeople);Clear(SubForm)
 
I ran into another problem. It's unable to check the required form text boxes. What would be the best option for me?
Highlighted
Community Support
Community Support

Re: Need help with submitting collection (email list) and form to SharePoint list in one row

Hi @WhatisPowerApps ,

 

You can check if one data card is marked as required or not from the property and if you unlock the data card, you can manually set it to be required by setting the Required property to "true".

Capture.JPG

 

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.

View solution in original post

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,537)