cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Stuartnt
Frequent Visitor

Creating a New Project in Project Online from Power Apps

Hi,

 

I have a well defined power app, which has a direct connection to our Project Online Cloud Server. Using the an OData for project Online Data connection within the App I can gain access to all many of OOB fields and custom fields which works a treat. 

 

One of the other options available is to from the Power App and using the Project Online Connector, create a new project direct into the Project Online instance. This having been tested works well, however with one downside, one submitting to create the new project it automatically selects the default Enterprise Template that ships with Project Online, however I have a specific Enterprise Template my team uses as it has certain elements associated with it such as unique prefix and a workflow that builds the status flow for each project.

 

So I am struggling to ascertain how I can select the required enterprise template when I hit the create project button, which is makes simple use of the existing connector, but I'm wondering if there is a means to select the require Enterprise Template as part of the request to create on clicking the button. 

 

Here is the code I run on the button to send the create project request to the Project Server:

 

ProjectOnline.CreateProject("https://siteurl/pwa", ProjectName.Text, {Description: ProjectDescription.Text, Start: ProjectStartDate, Budget: ProjectBudget.Text})

 

Hopefully there is a control of switch I can put somewhere in the above string that tells Project Online to select the required Enterprise template I need to call on create.

 

Thanks in Advance

 

Stuart

1 REPLY 1
v-jefferni
Community Support
Community Support

Hi @Stuartnt ,

 

You can use Power Automate with Send HTTP request to SharePoint action to achieve your need, according to below thread:

Automatically create Project with template - Microsoft Tech Community

 

Best regards,

 

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Ideas

Check out the New Ideas Site

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (4,671)