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

2 REPLIES 2
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:

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

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
News & Announcements

Community Blog

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

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (8,273)