Full AppULTRABeta5 views, copy-paste YAML for Power Apps Studio

Leave Request App for Power Apps

A finished time off app that runs on your SharePoint: everyone sees their days left and asks for time off in one sheet, approvers decide with the balance in front of them, and a team calendar shows who is away. A flow creates the lists for you. Scroll to see what your team gets, then set it up in five steps.

View 1 of 5

My time off

The page everyone opens: how many days are left, and what happened to the requests.

Step 1 of 6

How many days do I have left?

Four cards answer the questions people otherwise ask HR: days left, days taken, days waiting for approval and the next time off.

Step 2 of 6

Counted, never stored

Days left is worked out each time the page opens: days a year plus what was carried over, minus what is approved and what is requested. No number sits in a list where it could drift away from the requests.

Step 3 of 6

Every request and where it stands

Pending, Approved, Declined or Cancelled, with the dates and the working days. A request that is still pending, or an approved one that has not started yet, can be cancelled right here. The app asks once more before it does it.

Step 4 of 6

Who is away soon

Colleagues from your own department who are off in the next 30 days. It only says that they are away, never why.

Step 5 of 6

One button to ask for time off

Request time off opens a sheet on the right. That is the next view.

Step 6 of 6

Four themes built in

The same page in Night. Ink, Warm, Forest and Night change color and font, never the layout. The dots at the bottom of the bar switch between them, and you choose the one the app starts with.

Time off · My time offScreenshot from the app
Leave Request app, My time off, ink theme

View 2 of 5

A request in one sheet

Four things to fill in, and the answer to "is that all right?" before anything is sent.

Step 1 of 5

What kind of time off

Vacation, Sick leave, Training and Unpaid leave come with the app. An admin changes them or adds more in Settings, each with its own color.

Step 2 of 5

First day, last day, half days

Two dates, and a half day on the first or the last day when you need one. Picking the first day moves the last day along, so one day off takes one click.

Step 3 of 5

The app does the counting

It counts the working days while you pick: weekends and the public holidays of your region are left out. Here that is 4.5 days, 8.5 are left afterwards, the request goes to Mara Schneider, and Jonas Keller is away in the same days.

Step 4 of 5

Sent, and the page behind it is up to date

Send request saves it as Pending and the cards on the page count it at once. A type that needs no approval, such as sick leave, is saved as approved right away. Two requests over the same days are not possible.

Step 5 of 5

In your colors

The sheet in Warm. The buttons take the color of the theme.

Time off · RequestScreenshot from the app
Leave Request app, Request, ink theme

View 3 of 5

The team calendar

Who is away when, a month at a time. The page a team lead opens before saying yes.

Step 1 of 8

People down, days across

One row per person, one column per day. A bar is time off. Saturdays, Sundays and public holidays are shaded.

Step 2 of 8

Your own row comes first

It says You instead of the department, so you find yourself without searching.

Step 3 of 8

Approved or still open

A solid bar is approved. A dashed one is a request that waits for a decision, so nobody plans around days that are not sure yet.

Step 4 of 8

Today

A line marks today, and the day in the header takes the color of the theme.

Step 5 of 8

One department at a time

The chips come from the departments of your people. All shows everyone.

Step 6 of 8

Colors, and who sees them

Each leave type has its color. A private type such as sick leave is grey for colleagues: they see that someone is away, not why. The person, their approver and admins see the color.

Step 7 of 8

Month by month

The arrows move a month back or forward, Today jumps back. A request that runs over the end of a month continues in the next one.

Step 8 of 8

Green for a change

The calendar in Forest.

Time off · Team calendarScreenshot from the app
Leave Request app, Team calendar, ink theme

View 4 of 5

Approvals

Everything an approver needs to decide on one page, without opening a second tool.

Step 1 of 7

A dot when something waits

The approvals icon only shows for approvers and admins, and it carries a red dot while a request is waiting.

Step 2 of 7

The requests waiting for you

Approvers see the requests of the people who have them as approver. Admins see all of them, so a request is never stuck because someone is on holiday themselves.

Step 3 of 7

Can they afford it?

The balance of the person, written as a sum: days a year plus carried over, minus taken, minus requested, equals left. The request you are looking at is already in the sum.

Step 4 of 7

Who else is away then

The colleagues from the same department who are off in those days, approved or requested.

Step 5 of 7

Approve or decline, with a note

The note is optional and the requester sees it. After the decision the next request is selected.

Step 6 of 7

What was decided

Decided lists this year's decisions with their notes.

Step 7 of 7

After hours

Approvals in Night.

Time off · ApprovalsScreenshot from the app
Leave Request app, Approvals, ink theme

View 5 of 5

Settings

What an admin looks after, in the app instead of in SharePoint or Studio.

Step 1 of 6

Only admins see it

Whoever sets the app up becomes the first admin and can make others admin too. Nobody can change their own role, so no admin locks themselves out.

Step 2 of 6

People, Leave types, Holidays, General

People holds one row per person: days a year, carried over, approver and the region for public holidays. Holidays are entered per region. General holds the name of the app and its link for the mails.

Step 3 of 6

Your leave types

Four come with the app. A type keeps its name once requests use it, and it cannot be deleted while they do.

Step 4 of 6

A color for the calendar

Nine colors to choose from. The bars in the team calendar and the dots in the request sheet take it.

Step 5 of 6

Three switches per type

Counts against the allowance, Needs approval and Private. Sick leave, for example, does not count, needs no approval and is private.

Step 6 of 6

Easy on the eyes

Settings in Warm.

Time off · SettingsScreenshot from the app
Leave Request app, Settings, ink theme

Look around

All five views in all four themes. These are screenshots from the app running on its SharePoint lists, not mock-ups: what you see is what you paste.

Time off · all viewsScreenshot from the app
Theme
Leave Request app, My time off, ink theme

My time off. Your days left, taken and requested, your next time off, your requests with their status, and who from your department is away soon. Screenshot from the app on SharePoint lists.

Set it up

Five steps from an empty SharePoint site to a working app, plus optional e-mail flows. Beta: the app is in English, has no phone layout and was built and tested in one Microsoft 365 tenant so far.

Step 1 of 6

Create the five lists

A small flow builds them on your SharePoint site.

Screenshot for action 1

You are done when

The flow says "Your flow ran successfully." and your site has five new lists: Leave People, Leave Types, Leave Requests, Leave Holidays, Leave Settings. Running the flow again is safe, it only adds what is missing.

Set it up with your AI

Connect PowerLibs MCP to Claude, ChatGPT or your editor. It knows every step, the lists and the flows. Then say:

Help me set up the PowerLibs Leave Request app, one step at a time.

If something goes wrong

There is no My clipboard tab in the flow

The flow is open in the new designer. Turn off the New designer switch, choose Switch without saving, then press New step again.

The page freezes after Switch without saving

Reload, create the flow again and change v3=true to v3=false at the end of the address in the browser. That opens the classic designer directly.

Nothing happens after Ctrl + V in the flow

Press the Copy button again and paste right away, on the My clipboard tab.

A flow step says Invalid connection

Open the step and pick or create your SharePoint (or Outlook) connection.

Formulas in Studio are red after pasting

One of the five lists is missing under Data, or the lists have another name prefix than the app was copied with.

Paste does nothing in Studio

Use Paste in the ... menu of a screen in the Tree view instead of Ctrl + V. It shows the reason when a paste fails.

The app opens on an empty white screen

Screen1 is still the first screen. Delete it so appStart is first.

The start screen says you are not on the list

The setup only shows while Leave People is empty. Ask the admin named there to add you.

A change made in SharePoint does not show in the app

Click the logo at the top of the bar on the left. It reads everything again.

No mail arrives

Wait a few minutes after switching a flow on, then make a new request. Check that the person has an approver other than themselves. Nobody gets a mail about their own action.

The working days of a request look too high

Add the holidays of that person's region under Settings, Holidays. Leave Holidays starts empty.

A colleague cannot save anything

They need edit rights on the lists, not only on the app.

Good to know

  • Who may use the app is the list Leave People: one row per person with their days a year, their approver and their region. The first person who sets the app up is the admin.
  • Nothing stores a balance. Days left is counted from the requests each time, per calendar year. Carried-over days are a number per person and do not expire by themselves.
  • Working days leave out weekends and the holidays of the person's region. Half days work on the first and the last day.
  • Colleagues only see that someone is away, not why. Everyone needs edit rights on the lists, though, so they could read Leave Requests in SharePoint.
  • Layout: built for 1366 x 768, no phone layout. The app is in English.
  • Beta: built and tested in one Microsoft 365 tenant so far, with one account, an admin.

Leave Request App: Complete App (Beta)

ULTRANEW
Leave Request App for Power Apps | PowerLibs