Showing results for 
Search instead for 
Did you mean: 
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!

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:




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.
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


Power Apps Super User Class of 2020

Check it out!


New Badges

Check it out!


Power Apps Community User Group Member Badge

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


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


Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

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