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 / Customization of Leave...
Power Apps
Answered

Customization of Leave Request Template App - issue/errors

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Experts,
 
I am trying to customize the Leave Request Template App, to reflect my needs in regards to type of leaves, but once I update the App OnStart collection, I am faced with 200+ errors in the "App checker".
 
I have reviewed all the other treads about this, but its only general suggestions or thigs i already did(as menitoned above).
Those are the threads i found:
https://powerusers.microsoft.com/t5/Building-PowerApps-Formerly/PowerApps-Template-Leave-Request/td-p/191780
https://powerusers.microsoft.com/t5/Building-PowerApps-Formerly/Issues-with-request-leave-power-app/m-p/305047#M87680
 
And the latest one:
https://powerusers.microsoft.com/t5/Building-PowerApps-Formerly/Leave-Request-Customization/m-p/342911#M98366
 
I cannot seem to understand where else i should update the Variables or Collections, since i see such to be able only at the OnStart App Property.
 
My goal is to leave only Vaction and Sick Leave as types and balance + adding 1 more specific type of leave , which should go as suggested with the folllwing :
 {             
                  type: "TypeName",
                  icon: 'iconImage',  /* iconImage and iconSelectedImage represent the image files you have embedded within your app*/
                  iconselected: 'iconSelectedImage',
                  description: "Description..."
               }
 
Could anyone help me out with navigating thourg this?
 
PP: I have as well watched Shane + Laura videos and went throug MS Docs articles on Variables and Collections. Still in the dark.
 
Thanks in advance.

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Here are few screenshots:
    Edited collections:
    ------------------------------

    collection 1.PNGcollection 2.PNG

     

     

    Errors:

    =============error 1.PNGerror 2.PNG

  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Do you want to customize these three collections: RequesterBalanceCollection, LeaveCollection, BalanceCollection?

    If so, you not only need to modify the formula in App.OnStart, but also you need to change all the formulas about these three collections.

    For example: HomeScreen's OnVisible, LeaveBalanceScreen's OnVisible,ComfirmationScreen's OnVisible, ManagerChangeRequestScreen's OnVisible, ManagerSendEmailScreen's OnVisible,etc.

    Please check all the formulas one by one. Anyone related can not be left.

    Actually, customize  a template is a little complex.

    I recommend you refer template and create a similar app by yourself. Everything will be more easier.

     

     

    Best regards,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @v-yutliu-msft ,

     

    I just want to resolve the errors, and everywhere i could find relation i modified the forumula, unfortunatelly there are some lefovers in the variables and i am not able to navigate to resolve them.

     

    I think as suggested, it will be best to create new app and just use the template for reference.

     

    Thanks anyway!

  • Verified answer
    v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    I'm glad that you've taken my advice!

    Do you have any other problems?

    If not , could you mark my answer as solution?

    Thanks!

     

     

    Best regards,

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!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 94

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard