Create Project using PSI Programmatically Project Server 2013

Create Project using PSI Programmatically Project Server 2013

In this post, I described you to Create Project using PSI Programmatically Project Server 2013.There are a few different ways you can create a new project in PWA. You can create a new project in the Project Center in Project Web App. and also can Create Project using PSI Programmatically Project Server 2013.

If you don’t know how to add service reference then follow my post. Add PSI Web Reference in Solution file

Step 1: Open Project Web App(PWA) home page

Create a New Project in PWA

Step 2: Open projects Center to click on Projects in the left-hand quick launch.

Step 3: Now in the Projects ribbon tabs, Select New.

Create a New Project in PWA

Step 4: This opens a drop-down list to allow the creation of a new project schedule.You can select the appropriate plan.

Step 5: A Project Details or Project Information web page appears with projects information fields. Fill project related information in the field.

Create a New Project in PWA

Step 6: Now click Save. Go to Project your project created.

Create a New Project in PWA

Create Project using PSI Programmatically Project Server 2013:

Step 1: First of all right click on a solution.and click on Add Service Reference

 

Create Project using PSI Programmatically Project Server 2013

Step 2: Service reference dialog box will be open, Click on the Advance button in the below-left corner.

Create Project using PSI Programmatically Project Server 2013

Step 3: Service Reference Setting dialog box will be open, Click on Add Web Reference.

Create Project using PSI Programmatically Project Server 2013

Step 4: Add Web Reference dialog box will be open. Copy-Paste URL in the URL box: http://ServerName/pwa/_vti_bin/psi/queuesystem.asmx?wsdl  .[AdSense-A]

Note: ServerName=Your SharePoint server name and PWA=Your PWA site name.

Add your Project namespace.(class library namespace.SvcProject)

Create a New Project in PWA

 

Step 5: Add one more service reference of QueueSystem

Service URL:box:http://ServerName/pwa/_vti_bin/psi/queuesystem.asmx?wsdl

Note: ServerName=Your SharePoint server name and PWA=Your PWA site name.

Create a New Project in PWA

 

Step 6: Add your Project namespace.(class library namespace.SvcQue=using Create_Project_PWA.SvcQue).

Create a New Project in PWA

 

Now all reference added.

Create a New Project in PWA

 

Here is complete code to Create Project using PSI Programmatically Project Server 2013-

//Here is code

 

Now run the code and go to Project Center your project created.

Click here to download complete code