I recently published two articles on creating a navigation type app for Project Online using PowerApps, here is a screen shot of the project details screen from that example app:
For those of you that missed those posts, the links are below:
That particular example used a SharePoint list as the data source as there were certain properties I needed such as the Project Site URL that are not available in the native Project Online connector for PowerApps. I also stored project images in that source SharePoint list and displayed those in my example app. I used a custom process to populate the SharePoint list with the Project Online data and kept that data in sync. In this series of blog posts we will look at how to use the native Project Online PowerApps connector: https://docs.microsoft.com/en-us/connectors/projectonline/.
This connector allows us to perform certain actions in PowerApps such as read the list of Projects directly from the PWA site collection: https://docs.microsoft.com/en-us/connectors/projectonline/#List_projects or creating a new project: https://docs.microsoft.com/en-us/connectors/projectonline/#Creates_new_project for example.
This series of blog posts wont build a full PowerApp using this connector but it will show snippets on how to use some of the Project Online PowerApps connector functions.
The first one we will look at is displaying a list of projects in PowerApps using the list projects function.
This series of posts assume that you have set up a Project Online Connection to Project Online:
If you haven’t set up a Project Online connection yet, it is very simple, just click the + New Connection link and find Project Online then add.
Using the PowerApps studio, either desktop or web, we will start with a blank app:
The first thing to do is to add the Project Online data source, click “connect to data”. This will load all of your connections you have added to PowerApps / Flow, select the Project Online connection:
Then close the Data window. Now decide on the visual that you need to display the projects, I inserted a gallery:
Then set the layout to just Title as I only will just display the project name for the purpose of this blog post:
Click Advanced on the Gallery settings pane and you will notice it states “CustomGallerySample” in the DATA > Items field. Update this to:
ProjectOnline.ListProjects("{PWASiteURL}").value
Now you can select a property to display on the gallery, in this example I will select Name:
Now all of your projects will appear in the gallery directly from Project Online:
In the next post we will look at how to use the ListTasks function in the Project Online PowerApps connector.