Building a #PowerApps app for #MSProject data Part 4 #SharePoint #PowerPlatform #PowerAutomate #LessModeMorePower #NoCode #CDS #Office365

Continuing with the Power App for Microsoft Project SharePoint task list data, in this post we look at examples for building capabilities into the app that will enhance the Microsoft Project experience. If you missed part 3 we covered syncing the Microsoft Project data to the Power App Common Data Service (CDS) using a Power Automate flow, this can be found here: https://pwmather.wordpress.com/2020/04/27/building-a-powerapps-app-for-msproject-data-part-3-sharepoint-powerplatform-powerautomate-lessmodemorepower-nocode-cds-office365/

The initial app can be seen below (we covered this in part 2: https://pwmather.wordpress.com/2020/04/25/building-a-powerapps-app-for-msproject-data-part-2-sharepoint-powerplatform-powerautomate-lessmodemorepower-nocode-cds-office365/):

App1

As you can see, I like a test project, naming things is hard! Accessing a project then loads the project details:

App2

Only the Project Description field is editable as the Project Name and Task List URL are controlled by the Power Automate flow as these come from SharePoint. The Tasks tab shows the tasks from the Microsoft Project plan (via the flow from the SharePoint task list):

App3

Accessing a task shows the task form:

App4

Only the Highlight field is editable as the other fields are controlled by the Power Automate flow as these come from SharePoint. Now we will continue building this app with additional Project and Task fields and provide the ability to manage Risks for these projects. If you have been following along with the blog series, access the solution:

Solution1

Then access the MPP Project entity:

MPP Entity

We will add a new field for Overall RAG Status, click the + Add Field button and complete the form, select the Data Type as Option Set as we want a pick list of Red, Amber and Green. Click the + New option set option:

Field

Complete the form for the new option set and click Save:

Options

Complete the form for the new field and press Done:

Field 2

Repeat this process for other fields you want to add based on your requirements. It could be fields like Project Category, Program, Project Type etc. Save the entity using the Save Entity button. Access the Views for the MPP Project entity and add the new fields to the existing view or create new views as needed:

View

Once the view is updated remember to Save and Publish the each view. Now access the Forms for the MPP Project and edit the forms as required to add the new fields in:

Form

Save and Publish the form when completed. Navigate back to the solution and access the MPP Tasks entity. Repeat the process for this entity by add in the required Task level fields, add those fields to the views and forms. I’ve just added two field, one called “Task RAG” and one called “Task Notes” as you can see on the view and form below:

Task View

Task Form

Now navigate back to the solution and create a new entity:

New Entity

Complete the new entity form and press Create:

Entity

Now add the fields to the new MPP Risk entity and save the entity, I added the following:

  • Risk Details as  Text Area field
  • Impact as a Whole Number field with a minimum value of 0 and a maximum value of 10
  • Probability as a Whole Number field with a minimum value of 0 and a maximum value of 10
  • Exposure as a Whole Number field set to be a calculated field with a calculation of Probability * Impact
  • Risk Status as an Option Set field using an option set with Open and Close options with a default option set to Open
  • Due Date as a Date Only field
  • Assigned To as a Lookup field to the User entity
  • Related Project as a Lookup field to the MPP Project entity
    • This field creates the relationship between the risks and the project

Now create the views required such as:

View

Save and Publish the views. Now create the form/s, I created:

Form

Save and Publish the form/s. We probably want to see the risks as a tab when looking at the project record. Navigate back the solution and open the MPP Project entity and access the forms then open the main form and add a 1-column tab from the components list – call this tab “Risks”. Then add the Subgrid component into the new Risks tab section – check the Show related records option then select the MPP Risks entity and set the correct view:

Risks Grid

Update the properties such as labels and names as needed:

Properties

Publish the updated MPP Project form. Now we need to add the MPP Risk entity in to the app so that we can view all risks across all projects. Navigate back the solution and open the site map to load the Sitemap Designer and add a new Group. I called this Logs so that it could be used for Risks, Issues etc. Then added a new sub area in the Logs group for the MPP Risk entity:

Site Map

Save the site map then Publish once complete Save and Close the site map. Now access the app and you will see the Logs group and Risks sub area:

Risks

This is the central risks views across all projects. Access a project and you will see the Risks tab:

Project

Access the Risks tab and you will see just the risks for the current project:

Project Risks

That’s it for part 4, there are lots of other features you can add but hopefully this gives you a good starting point for building a project management Power Apps app around the Microsoft Project Desktop data. For other ideas for features to add to the app, there are some links below for another blog series I’m doing for extending Project for the web:

There will be a few more posts on coming on the Project for the web series. The final part to this mini series for Project MPP data will be part 5 where we will look at some simple Power BI reports for the MPP Projects data.

    One thought on “Building a #PowerApps app for #MSProject data Part 4 #SharePoint #PowerPlatform #PowerAutomate #LessModeMorePower #NoCode #CDS #Office365

    Comments are closed.

    Create a free website or blog at WordPress.com.

    Up ↑