15

How to add WebPart client object on page via JSOM function addWebPart(webUrl, pageUrl,webPartXml,zoneId,zoneIndex, Success,Error){ var context = new SP.ClientContext(webUrl); var web = context.get_web(); var file = web.getFileByServerRelativeUrl(webUrl + pageUrl); var webPartMngr = file.getLimitedWebPartManager(SP.WebParts....


6

I eventually found the missing dependencies myself, incase anyone ever runs into the same problem, they are the following: <script type="text/javascript" src="/_layouts/15/ScriptResx.ashx?culture=en%2Dus&name=SP%2ERes"></script> <script type="text/javascript"> 'use strict'; // Set the style of the client web part page to be ...


5

This is because of license issue,either you have to assign existing license or need to buy new license then assign, please go through the link here this issue and root cause is mentioned. https://blogs.technet.microsoft.com/projectsupport/2013/05/15/project-online-getting-to-project-web-app/ for On-Prem This problem might occur if the User Licence ...


5

They carry the same requirement as MAXDOP = 1, especially now that in 2016 the Project schema resides within the content databases.


5

I have installed tons of SQL-Server Updates on lots of SharePoint farms. SharePoint never got broken. But if you heavily rely on that environment, you should have a testing-environment that matches prod environment as close as possible. You can install updates there and check if everything works as expected. Checklists are very helpful to standardize this ...


4

OK folks, Here is the answer for how to codelessly update a project from outside PWA when you need to update enterprise custom fields. Get the property GUID dev1projects/PWA/_api/ProjectServer/Projects('theguidi-just-pick-from-theprojectabove')/CustomFields [GET] retrieve d/results/(the index of the field you want to update)/Id Update the Field ...


4

Instead of PSI I suggest you to work with the managed object model of Project Server. That is much more developer friendly. Last year I wrote a post about how can you list lookup table entries: using (var projectContext = new ProjectContext(pwaUrl)) { projectContext.Load(projectContext.LookupTables, lts => lts.Include( lt ...


4

Via the query _api/ProjectServer/Projects('GUID_Project')/CustomFields('GUID_CustomField') you can achieve only the definitions of the custom fields, but not their value. To get the value, we need first the internal name of the field _api/ProjectServer/Projects('GUID_Project')/CustomFields('GUID_CustomField')?$select=InternalName For example, if the ...


4

You should be aware of the PWA setting can not be enabled on a publishing site, it only activated on the Team Site or Project Site template. For more details check Add Project Online to a site collection


4

In project server with Project Permission Mode enabled, you can control the PWA setting Links for a specific user by managing his Global permission by doing the following: Open PWA Settings. Security > Users. Global Permissions > Select the Permission you need > Check Allow or Deny. But unfortunately, you can't manage the permission for a specific link ...


4

Unfortunately, The Project class in the Project Server Interface (PSI) reference has been removed and is not supported in Project Server 2016. For all new development, use the Project Client Side Object Model (CSOM). Note: The CSOM is accessible from both Project Online and from an on-premises Project Server through the Microsoft.Project.Server.Client ...


4

You have mentioned in your question I would like to create a list in PWA so that I can have users fill in the information that I need in order to create a new Project. So it's not just a direct custom list, you need + one trick that is "Create Projects Option" as I mentioned below, At any site below the PWA root site, Click on the Site Setting icon, ...


4

Unfortunately, you can't install Project Server 2013 Trail over Licensed Sharepoint 2013.Based on my tries, there is no a valid workaround that succeeded in this scenario! The available options, Provide a license key for Project Server. Install SharePoint Server 2013 Enterprise Edition trail then install Project Server 2013 Trail


3

If they are in the same web app, you could technically access PWA via http://sharepoint/pwa. If so, you can add a DNS entry to point http://project to that server. Then in IIS manager you can add a second binding to the web app. Then you can access http://project/pwa. Note: Because they are the same web app, you could technically access them from either ...


3

Function LoadMultiple has the following signature: function LoadMultipleSods(keys, fn, bSync) where the first argument accepts the array of SOD keys, RegisterSod function is used for registering JS function. Most probably in your case the registration of ps.js library is missing. In order to load ps.js library it has to be registered first and then could ...


3

if you have to access the SharePoint Server then run the below powershell. Get-SPServiceApplicationPool | Select Name, ID, ProcessAccountName This will list Name of the App pool, ID of the AppPool and Account under which it is running. Try this script Get-SPServiceApplication | Select Name, @{Name="SPAppPoolName"; Expression={$_.ApplicationPool.Name}}, @...


3

The first Approach deletes every second, because, every time you delete an item from the collection, the item is also removed from the collection. so if the collection before the first delete contained 11 elements, after the deletion there are just 10 elements, and of course, the element on Position i is now the element which was on Position i+1 before ...


3

https://msdn.microsoft.com/en-us/library/office/jj669283.aspx might be what you're looking for. http://<sitecollection>/<site>/_api/ProjectServer/Projects('projectid')/deleteObject()


3

You should be aware of you can't delete Project Server application service if it's associated with PWA site collections. So you can’t delete it until delete all related project sites instances as the following: Open Central Administration > Below Application management > Mange Service application > Click on your Project server application service > and ...


3

In fact , this issue has a more reason and should be traced physically , meanwhile, I have checked your attached screenshot and I found out your Project Server Application pool that running with the service account psServiceAppPool has been stopped , so try to restart it again . Also, make sure that the Project Server Application Service has been started in ...


3

From what I see from samples here, they are using current web and not host web. From my understanding for Project it doesn't matter. So you can try to call directly https://yourorg-d2fcea9f69347f.sharepoint.com/sites/pwa/SharePointAddIn/_api/ProjectServer/Projects Or use ps.js and PS.ProjectContext.get_current()


3

Before you getting started with Project Server 2016, you should be aware of the following points: Project Server 2016 runs as a service application in SharePoint Server 2016. A separate installation is no longer required as it was in previous versions of Project Server 2010 /2013. The SharePoint Server 2016 MSI file will contain the installation files for ...


3

In Microsoft Project and Project server, there are two fields % complete and %work complete Both fields refer to the percent of achievements.but the difference is %Complete field value calculated based on Duration. The equation of % complete is = (Actual Duration / Duration) * 100 %Work Complete field value calculated based on Work. The equation of % ...


3

To create a category you should enabled Project Server Permission Mode. For more details check sharepoint permission mode vs project server permission mode Once the Project Server Permission Mode is enabled you should see the Security section within PWA Settings. For more details check THE PWA SETTINGS OPTION IS MISSING To create a category: Click on ...


3

Unfortunately, there is no Count() function to count the tasks in Project Enterprise Custom field formula. Meanwhile, you can use [Task Count] field in your formula to get the count of all tasks, The only limitation of this workaround, you can't show this custom field in Project Center views, but you can show it in Tasks view like Task Summary. ...


3

Try changing the query to this: projContext.Load(tasks, c => c.Where(t => t.Parent != null && t.Parent.Id == parentId));


3

As a supported scenario, you can use Project 2016 (Click-to-Run) or (MSI) with Office 2013 (MSI) on the same computer without any issue, For more details check: Supported scenarios for installing different versions of Office, Visio, and Project on the same computer. So on your side, try to Make sure the following: The installed Office 2013 is 64-bit. ...


3

Unfortunately, you can't add multiple timelines in Project Server 2013. The Multiple TimeLine is introduced in Project Server 2016. For more details, check Project Server 2016: New and deprecated features compared to Project Server 2013 What’re new features in Project Server 2016 compared to Project Server 2013?


3

Certain tables are supported for reading directly from the database in Project Server only (this extends to the Content Database where Project Server data resides in 2016/2019), namely the database that were previously present in the Project Server 2013 Reporting database. See the section titled Project Server database in Project Server architecture.


Only top voted, non community-wiki answers of a minimum length are eligible