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

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (3,429)