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

PowerApps Submit Button

Hello Everyone, 

 

Need assistance please.  I created a form with 2 datasources: Calendar and Sharepoint List and the list is updated when the form is submitted, however I would like the form to also to update a field (FilledSeats) in the calendar when the form is submitted to keep track of attendees (max 4).  How do I go about in completing this task?

 

Thank you in advance for your assistance!    

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: PowerApps Submit Button

Hi @ArnelB ,

Do you want to update FilledSeats field in calendar table with the data of attendees field that is one field of Sharepoint List1?

Does the form's data source set to Sharepoint List1?

Could you tell me the data type of FilledSeats field and attendees field?

I've made a similar test for your reference:

I assume that: use attendees field's data to update FilledSeats field; the form's data source set to Sharepoint List1; FilledSeats field and attendees field are both number.

 

1)inset a form conneted with list1.

2) Set the attendees field's Datacard's Update to a variable.

Set(testdata,attendees_DataCard1.Update)

3)submit the form and update FilledSeats field.

SubmitForm(Form1);Patch(calendar,Defaults(calendar),{FilledSeats:testdata})

621.png

 

Best regards,

Community Support Team _ Phoebe Liu

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

Re: PowerApps Submit Button

Hi @ArnelB ,

Do you want to update FilledSeats field in calendar table with the data of attendees field that is one field of Sharepoint List1?

Does the form's data source set to Sharepoint List1?

Could you tell me the data type of FilledSeats field and attendees field?

I've made a similar test for your reference:

I assume that: use attendees field's data to update FilledSeats field; the form's data source set to Sharepoint List1; FilledSeats field and attendees field are both number.

 

1)inset a form conneted with list1.

2) Set the attendees field's Datacard's Update to a variable.

Set(testdata,attendees_DataCard1.Update)

3)submit the form and update FilledSeats field.

SubmitForm(Form1);Patch(calendar,Defaults(calendar),{FilledSeats:testdata})

621.png

 

Best regards,

Community Support Team _ Phoebe Liu

Community Support Team _ Phoebe Liu
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

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

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: 191 members 3,897 guests
Please welcome our newest community members: