Showing results for 
Search instead for 
Did you mean: 
Not applicable

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

Hi @Anonymous,


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

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

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (13,944)