cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Paige_S
Level: Power Up

Leave Request Template and Collections

I am absolutely new to PowerApps and I do not have a technical background.  I was attempting to revise the Leave Request Template  with my company's information.  However, I am struggling with the collections.  Is there anyway to update the collections already stored within the template or do I have to create my own collections and link them within the template?  

 

I have read MS instructions on collections and I am still confused.  Can anyone help?  It would be soooo greatly appreciated.  Thank you!

2 REPLIES 2
Community Support Team
Community Support Team

Re: Leave Request Template and Collections

Hi @Paige_S,

 

That depends on where will you save your data to. If you have a data source to store the data, say SharePoint list, it is possible to submit collections to SharePoint with multiple rows at a time by using a combination of ForAll and Patch to submit the items.

 

For example, your OnSelect property of a Submit button would look something like this:

ForAll(CollectionName, Patch(SharePoint_ListName, Defaults(SharePoint_ListName), { ColumnName1: value1, ColumnName2: value2, etc})

So this is the main part that you need to change about the sample app. 

 

For your reference:

https://powerapps.microsoft.com/en-us/blog/bulk-update-using-forall-and-patch/

 

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.
Anonymous
Not applicable

Re: Leave Request Template and Collections

Hi Mona,

 

Am also having the same issue , Am trying to modify the Leave Type,Defaut value and Descriptions . As per the guide tried editing in login screen On Start function , But the changes are not reflecting. Could you pelase advice .

 

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,047)