web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Leave Request Power Ap...
Power Apps
Answered

Leave Request Power App Template

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am attempting to edit the Leave Request Template Power Apps from Microsoft. I'm having several issues when customizing to fit my organization's needs that I'm hoping someone can help me with. 

 

  1. Editing Template Provided Collections: On the Company Holiday Screen , I need to edit the collection to adjust for my company's holidays.
    1. When I go to File -> collections, I do not see / have the option to edit the collection here.
    2. I also tried editing the collection in the fx bar under the app in tree view, but the changes do not reflect on the company holiday screen. (see photo)
  2. Change Approver Screen: On the Change Approver screen via preview Template mode (Leave Request Template), I am able to change the person I want to submit my PTO request too. However, when I go to test / preview now that I have created the app, it does not let me select & return back to previous screen anymore.
    1. I see this error in app checker (see photo): Use of functions that can change the screen or exit the app within the Concurrent function is not allowed.
    2. What do I need to change via Concurrent() formula or another formula to make this work again? 

      Thanks for help in advance! 
concurrent power app issue.PNG
company holiday power app issue.PNG
Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    69,485 Most Valuable Professional on at

    1) You edit that collection in the App ONStart property of the App object as you showed in #2.  Make sure you use the Run OnStart from the context menu of the App object after making the changes to recreate the Holiday collection and have them show in the app.

    2) That's a mistake in the original template.  YOu can't do a Back() function that would leave the screen inside a Concurrent() function on the screen. Put the Back() outside the Concurrent function like this.

    Concurrent(
     Set(_selectedApprover, ThisItem),
     Set(_selectedApproverPhoto, Office365Users.UserPhoto(ThisItem.Id))
     
    );Back();

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you! This solved both of my issues!!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello,

     

    I couldn't see the Holiday collection in my App's OnStart property...

  • Pstork1 Profile Picture
    69,485 Most Valuable Professional on at

    Please post this as a new question in the forums.  You'll get more visibility that way and others will be able to find the same answer later easier.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 846

#2
Valantis Profile Picture

Valantis 532

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard