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

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
Community Support Team
Community Support Team

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
WhatisPowerApps
Level: Powered On

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?
Community Support Team
Community Support Team

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
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (4,811)