PowerApps >> Create a Task Management App in 10 Minutes

2022-04-18 Power Apps

Table of Contents

In this article, let’s create a task management app using Power Apps.

PowerApps Task management app

Prepare data

Firstly, we need to create an Excel with the below format.

Task title Task detail Due date Status

PowerApps Task management app

We should set the format of the “Due date” column to Short Date type.

PowerApps Task management app

Select all the columns of the first two rows and click “Format as Table” menu. When dialog shows up, “My table has headers” should be checked.

PowerApps Task management app

PowerApps Task management app

Then change the Table Name and Sheet name to Tasks.

PowerApps Task management app

Save the Excel file as TaskList.xlsx and upload it to Google Drive.

PowerApps Task management app

Create an app from Excel

Next, Sign into Power Apps and click Create button and select Excel type.

If you don’t have a Power Apps account, you can reference the below article to register a 30-days free account.

PowerApps » Register A Free Account for Using Power Apps
https://thats-it-code.com/azure/powerapps__register-an-account-for-using-power-apps/

PowerApps Task management app

Select Google Drive in the connection selection page and click create button. Log into the Google account and grant the permissons.

PowerApps Task management app

Select the uploaded file on the above.

PowerApps Task management app

Choose the detected table (Tasks) and click Connect button.

PowerApps Task management app

The automatic app creation will begin.

PowerApps Task management app

When finished, a dialog will show up and click “See a preview of this app”.

PowerApps Task management app

The app edit page will show.
(1) Main menu
(2) Formula edit bar
(3) Tools sidebar
(4) Tree view of screen components
(5) Screen Preview
(6) Property setting

PowerApps Task management app

Customize the app

There are some unnatural aspects in the automatically generated screens.
We will make adjustments to these aspects.

Firstly, let’s open the edit screen.
PowerApps Task management app

Change field order
As you can see, the “Due date” is displayed at the top of the fields list. This order is unnatural. Let’s change the order of fields.
Select “EditForm1” in the Tree view, click “Edit fields” in the Properties tab. Fields list will show up.
We can change the order of the fields by drag-and-drop operation.

The final order is as follows.

  • Task title
  • Task detail
  • Due date
  • Status

PowerApps Task management app

PowerApps Task management app

PowerApps Task management app

Save the app
To prevent the loss of the app in production, it is best to save it in time We’d better save the app in time to prevent unexpected loss.

Click the “File” in the top menu, click “Save as”.
There are two options to save the app. The cloud and This computer.
If you select “The cloud” option, you need to provide a name for the app and click Save button.

PowerApps Task management app

PowerApps Task management app

If you select This computer option, the file for download is prepared. Click “Download” button and save the file to local folder.

PowerApps Task management app

PowerApps Task management app

Re-open the app
If we want to reopen the app editing, we can click Create button, select Excel, click Open, select Power Apps and select the saved app last time from the Available apps list.

PowerApps Task management app

PowerApps Task management app

Or click Browse and select the saved file in the local folder.

PowerApps Task management app

Delete hour and minute
Next, let’s continue to customize our app.
The hour and minute are not needed in the Due date field, so we should delete them.

PowerApps Task management app

To edit the field, we need to unlock it first.

PowerApps Task management app

PowerApps Task management app

And delete the hour, minute and the seperator.

PowerApps Task management app

Expand the date field and align it with the above fields.

PowerApps Task management app

As you can see, there are some error marks at the top left corner of Due date field. Click them and select “Edit in the formula bar”.

PowerApps Task management app

Delete the hour and minute reference parts.

PowerApps Task management app

Change HourValue1 to DateValue1.

PowerApps Task management app

PowerApps Task management app

Change the height of Task detail
When resolved the errors, let’s set the Required property of Task title and Status.
Click DataCard item, select Required property, set it to true.
Unlock the field if it is locked.

PowerApps Task management app

PowerApps Task management app

Then let’s increase the height of Task detail because there are more contents in the Task detal and change its Mode from Singleline to Multiline.

PowerApps Task management app

Preview the app and add data
Next, let’s preview the app and add some data using the edit screen.
Click the triangle icon at the top right corner to perview the app.

PowerApps Task management app

Click the icon to open the edit screen.
PowerApps Task management app

Fill all the fields, and click ✔ icon to save it.

PowerApps Task management app

Add the second data.
PowerApps Task management app

PowerApps Task management app

As you can see, the added two records show in the list.
Click × icon to close the preview.

PowerApps Task management app

Customize the browse screen
Make Task title item as the top item by modifying the formula from ThisItem.Status to ThisItem.‘Task title’.

PowerApps Task management app

PowerApps Task management app

Increase the height of the Task detail and move the Due date to the bottom fo the item display area.
Change the formula of the Due date as follows to add the label and show it in short date format.
"Due date: " & Text(ThisItem.'Due date', ShortDate)

PowerApps Task management app

Next, let’s add the Status field again. Click , select Text label when selecting the single item area.

PowerApps Task management app

Adjust the position of the Status field, make its font size same as Due date and change the font style to Bold.

PowerApps Task management app

Customize the detail screen
Next, let’s customize the detail screen.

PowerApps Task management app

Change the order of the fields.

PowerApps Task management app

Change the format of Due date.

PowerApps Task management app

PowerApps Task management app

Up to here, we have finished a simple task management app.

Share the app and run it on the mobile

To simulate real scenarios and test the app , we can share it to another user(user002).
And he or she open the app in their own mobile.

Share the app

Click the person icon at the top right corner to share the app.

PowerApps Task management app

Enter the user name(user002) and search it.
Select the target user and click Share button.

PowerApps Task management app

PowerApps Task management app

Run the app

The target user need to download the Power Apps app first on their own mobile.
Here we take the iPhone as an example.
Download the Power Apps app from the App Store.

PowerApps Task management app

Open the app, sign into it with user002.
We will find the shared app in the All apps.

PowerApps Task management app

Click it and the browse screen will show.

PowerApps Task management app

Click Task001 to see its detail.

PowerApps Task management app

Add a new record using the edit screen.

PowerApps Task management app

PowerApps Task management app

Let’s check the original Excel and the new data is added.

PowerApps Task management app

Conclusion

  • We prepared an Excel file and upload it to Google Drive.
  • We created a simple app from Excel.
  • We customized the app.
  • We saved and reopened the app.
  • We add the sample data.
  • Finally, we shared the app with another user and open the app on the mobile.

Subscribe and be the FIRST reader of our latest articles

* indicates required

Contact us