Hello,
How can I read the resources Calendar.Exceptions and their subject label ?
Thanks for your help
Gérard Ducouret [Project MVP], Certifié Project 70632, Certifié ITIL
Hello,
How can I read the resources Calendar.Exceptions and their subject label ?
Thanks for your help
Gérard Ducouret [Project MVP], Certifié Project 70632, Certifié ITIL
Hi All,
I've written below code to add local users to the Project Team using JSOM, It has no syntax errors. But I cant see the changes in the project.
I'm I missing anything here? Any help would be greatly appreciated.
Thanks in Advance.
When querying tasks from Project Online in Power BI, typically the first two lines are these:
Source = OData.Feed(#"PWA Site URL" & "/_api/ProjectData/[en-us]",null, [Timeout=#duration(0, 0, 5, 0)]),
Tasks_table = Source{[Name="Tasks",Signature="table"]}[Data]
The shortfall with that is that it calls every task from every project, and that gets messy in terms of time when there are dozens of projects in the site.
Is it possible to fine tune this initial query such that fewer projects and/or fewer fields are called in at the onset?
Thanks for your help!
JFitch
I have added header files included in project and also path for that header files also included in project properties but still it is giving c1083 error
Hello,
How can we read and then write the Resource Availability in theResource Information dialog box, period by period?
Thanks for your help.
Gérard Ducouret [Project MVP], Certifié Project 70632, Certifié ITIL
Hi all.
In my script I update "% complete" from Lotus to MS Project shedules on MSP Server.
In MS Project App, in "enterprise global template" this setting (move end of ... and other) is switch on.
But tasks updates without "move end of..." after script is complete.
I don't use resources, all task have "Fixed unit tasks".
I want, when I updated "% complete" on task with "Finish date" in Past, this task move on Status Date with correctly set "% complete" - see example.
What was a problem? Where I wrong?
I everyone.
How can i connect start and finish with a personalized duration?
If i need to make a personalized start and finish which is the formula to connect all of them?
At last how can i bring the personalized start and finish on the gantt chard (calendar)?
You can translate into C++ this lazazrus script
program paramtrapint;Hello All,
I've not done too much with Project Online (so please be kind with your answers :-)), but know I used to be able to run SQL queries to update Project Server databases. What I'd like to do now is develop an Integration Services routine to take data from an Excel worksheet extracted from Project Online and manually updated, and use it to update a Project Priority field so that I can run Portfolio Analysis and specify that field to use for the priority.
I know I can't see the databases anymore through SSMS, I need to use Power BI and OData to run queries, but how do I see the schema of the real databases, and how do I update them? Is there a better way to do what I'm doing? We're using a 3rd party tool to prioritize and would prefer an automated way to update Project Online than to go to every project in the browser and update that way. Any and all help is greatly appreciated! Cheers, Ray
Hi Guys,
I noticed that recently Task.Owner property was added to CSOM for project online,
any idea when it will reach project server on premise dll?
Thanx
With kind regards
Maxim
From Project Techcenter
Hello,
We're using TFS 2017 Client, and Project 2016 Online, and I'd like to integrate the 2 products. When I create tasks in TFS, I provide a Start Date, Finish Date, work estimate, work completed and work remaining, and it looks like in the default mappings that it should update these fields when I do a Refresh in Project, which should update like work ids and add new work ids. Am I right in assuming this? I want to go from TFS to Project, adding new and updating existing. Is this a feature that's used a lot? Any good documentation available on how to configure. As always, any clues provided to the clueless are greatly appreciated!
Cheers, Ray
Hello,
I'm trying to check in the project.
The algorithm is: - POST CheckIn request - receive QueueJob; -- if completed - done -- if not completed (processing) - wait - GET Projects('GUID')/QueueJob('GUID') -- if completed - done -- if not completed
- goto wait 1. POST call to http(s)//myProjectServer/PWA/_api/ProjectServer/Projects('e140492f-d742-4a2f-88c3-3fe30edf16c1')/Draft/CheckIn('false') 2.
Getting back the QueueJob:
<entry xml:base="http://vmw4755:8080/PWA/_api/" xmlns="http://www.w3.org/2005/Atom" xmlns:ns2="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:ns3="http://schemas.microsoft.com/ado/2007/08/dataservices">
<id>http://myProjectServer/PWA/_api/ProjectServer/Projects('e140492f-d742-4a2f-88c3-3fe30edf16c1')/QueueJobs('9fbfdb67-07b7-e811-9b41-005056a207f2')</id>
<category scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" term="PS.QueueJob"/>
<link href="ProjectServer/Projects('e140492f-d742-4a2f-88c3-3fe30edf16c1')/QueueJobs('9fbfdb67-07b7-e811-9b41-005056a207f2')" rel="edit"/>
<link href="ProjectServer/Projects('e140492f-d742-4a2f-88c3-3fe30edf16c1')/QueueJobs('9fbfdb67-07b7-e811-9b41-005056a207f2')/Project" rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Project" title="Project"
type="application/atom+xml;type=entry"/>
<link href="ProjectServer/Projects('e140492f-d742-4a2f-88c3-3fe30edf16c1')/QueueJobs('9fbfdb67-07b7-e811-9b41-005056a207f2')/Submitter" rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Submitter" title="Submitter"
type="application/atom+xml;type=entry"/>
<title/>
<updated>2018-09-13T03:45:09Z</updated>
<author>
<name/>
</author>
<content type="application/xml">
<ns2:properties>
<ns3:Id ns2:type="Edm.Guid">9fbfdb67-07b7-e811-9b41-005056a207f2</ns3:Id>
<ns3:JobState ns2:type="Edm.Int32">3</ns3:JobState>
<ns3:MessageType ns2:type="Edm.Int32">21</ns3:MessageType>
<ns3:PercentComplete ns2:type="Edm.Int32">37</ns3:PercentComplete>
<ns3:WaitMilliseconds ns2:type="Edm.Int32">1000</ns3:WaitMilliseconds>
<ns3:WaitTime ns2:type="Edm.Time">PT1S</ns3:WaitTime>
</ns2:properties>
</content>
</entry>
All the good stuff is there: JobState - Processing, MessageType - checking in, wait - 1 sec. 3. waiting for 1 sec (sleep(1000)) 4. GET using the link: http://myProjectServer/PWA/_api/ProjectServer/Projects('e140492f-d742-4a2f-88c3-3fe30edf16c1')/QueueJobs('9fbfdb67-07b7-e811-9b41-005056a207f2')
I would expect getting back updated QueueJob, but instead getting this:
<?xml version="1.0" encoding="utf-8"?>
<d:GetById xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml" m:null="true" />
Next, tried just to get all of the QueueJobs: GET using the link:http://myProjectServer/PWA/_api/ProjectServer/Projects('e140492f-d742-4a2f-88c3-3fe30edf16c1')/QueueJobs (tried within the code and just directly from the browser - same result)
<?xml version="1.0" encoding="utf-8"?>
<feed xml:base="http://vmw4755:8080/PWA/_api/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml">
<id>5ed485e5-6ac1-4cf0-99d1-cb14e7637532</id>
<title />
<updated>2018-09-13T05:30:19Z</updated>
<author>
<name />
</author>
</feed>
Do not see any jobs, but at least CheckIn should be there? Right?
Opened the PWA, went to Server Settings and I can see the job there:
9fbfdb67-07b7-e811-9b41-005056a207f2 N/A 9/13/2018 5:45 AM 9/13/2018 5:45 AM E-9990 Project Checkin Success 100%
What am I doing wrong?
How can I get the all QueueJobs?
I'm using Project 2013 and Java-based client.
HELP!
Thanks.
I have a Project Server 2013 solution. In solution I am trying to update Custom Fields using PSI. On test server (one server) - work fine. But on Production servers(2 WFE + 2 APP servers), when task Custom Fields to much, i get exceptions:
System.NullReferenceException: Object reference not set to an instance of an object) OR (System.Web.Services.Protocols.SoapException: ProjectServerError(s) LastError=GeneralSecurityAccessDenied Instructions: Pass this intoPSClientError constructor to access all error information).
Task run through TimerJob, 10 copy task every 3 minute. TimerJob run on WFE server. Else task not match, then work.
Hi,
I use an addin to send my task information from MSProject to the Clarity.
my MSProject Addin is working properly when I use MSProject2010, Clarity v15 and Clarity PPM Addin v14.
When I switch to different environment (MSP2016, Clarity v15 and Clarity PPM Addin v 15, subroutine (below) returns an 1101 error. It is strange, because errors is generated in different lines of this subroutine even the same Project file is used.
This subroutine is rather simple, it rewrite the MSProject values to the Clarity buffer.
All MSGboxes are temporary fot debugging (except the last one)
Any ideas about the reason?
Private Sub AllignTasks(ByRef iLocalTask As MSProject.Task, ByRef iClarityTask As MSProject.Task)
Dim vShortName As String
Dim vMilestoneTag As String
Dim vTaskNameLength As Integer
Dim vFlag As Boolean
vFlag = False
On Error GoTo ErrHandler
MessageBox.Show("sTART date= " & iLocalTask.Start & vbLf & "Start date Baseline= = " & iLocalTask.BaselineStart & vbLf _
& "Finish Baseline= " & iLocalTask.BaselineFinish, RUN_CLARITY_UPLOAD_MSGBOX_TITLE, MessageBoxButtons.OK)
If Len(iLocalTask.Name) > 150 Then
vMilestoneTag = GetMilestoneOrObjectiveTag(iLocalTask.Name)
vTaskNameLength = 146 - Len(vMilestoneTag)
vShortName = Left(iLocalTask.Name, vTaskNameLength) & "... " & vMilestoneTag
iClarityTask.Name = vShortName
Else
iClarityTask.Name = iLocalTask.Name
End If
MessageBox.Show("After Task Name", RUN_CLARITY_UPLOAD_MSGBOX_TITLE, MessageBoxButtons.OK)
iClarityTask.UnlinkPredecessors(iClarityTask.PredecessorTasks)
MessageBox.Show("After UnlinkPredecessors", RUN_CLARITY_UPLOAD_MSGBOX_TITLE, MessageBoxButtons.OK)
iClarityTask.UnlinkSuccessors(iClarityTask.SuccessorTasks)
MessageBox.Show("After UnlinkSuccessors", RUN_CLARITY_UPLOAD_MSGBOX_TITLE, MessageBoxButtons.OK)
iClarityTask.Manual = True
MessageBox.Show("After Manual", RUN_CLARITY_UPLOAD_MSGBOX_TITLE, MessageBoxButtons.OK)
iClarityTask.Milestone = True
MessageBox.Show("After Milestone", RUN_CLARITY_UPLOAD_MSGBOX_TITLE, MessageBoxButtons.OK)
' to mark that the task is used to store milestone info at the level 1 rather than a project.
vFlag = True
' iClarityTask.Flag20 = vFlag 'True
MessageBox.Show("After Flag20= " & iClarityTask.Flag20, RUN_CLARITY_UPLOAD_MSGBOX_TITLE, MessageBoxButtons.OK)
If iLocalTask.Text9 = "M/CS" Then
If IsDate(iLocalTask.Start) Then
iClarityTask.Start = iLocalTask.Start
iClarityTask.Duration = 0
'iClarityTask.Finish = iLocalTask.Start
If IsDate(iLocalTask.BaselineStart) Then
iClarityTask.BaselineStart = iLocalTask.BaselineStart
iClarityTask.BaselineFinish = iLocalTask.BaselineStart
End If
End If
Else
If IsDate(iLocalTask.Finish) Then
iClarityTask.Start = iLocalTask.Finish
iClarityTask.Duration = 0
'iClarityTask.Finish = iLocalTask.Finish
If IsDate(iLocalTask.BaselineFinish) Then
iClarityTask.BaselineStart = iLocalTask.BaselineFinish
iClarityTask.BaselineFinish = iLocalTask.BaselineFinish
End If
End If
End If
MessageBox.Show("After M/CS; Text1= " & iLocalTask.Text1 & "; Text9= " & iLocalTask.Text9, RUN_CLARITY_UPLOAD_MSGBOX_TITLE, MessageBoxButtons.OK)
' clarity key task seting it for new tasks
'iClarityTask.Flag1 = vFlag 'True
MessageBox.Show("After Flag1= " & iClarityTask.Flag1, RUN_CLARITY_UPLOAD_MSGBOX_TITLE, MessageBoxButtons.OK)
iClarityTask.Text1 = iLocalTask.Text1
MessageBox.Show("After Text1= " & iClarityTask.Text1, RUN_CLARITY_UPLOAD_MSGBOX_TITLE, MessageBoxButtons.OK)
iClarityTask.Text9 = iLocalTask.Text9
MessageBox.Show("After Text9= " & iClarityTask.Text9, RUN_CLARITY_UPLOAD_MSGBOX_TITLE, MessageBoxButtons.OK)
If iLocalTask.PercentComplete = 100 And IsDate(iLocalTask.ActualFinish) Then
iClarityTask.ActualFinish = iLocalTask.ActualFinish
End If
MessageBox.Show("After Percent Complete", RUN_CLARITY_UPLOAD_MSGBOX_TITLE, MessageBoxButtons.OK)
Exit Sub
ErrHandler:
'System.Diagnostics.Debug.Print(Err.GetException.StackTrace)
Dim msgStr As String
msgStr = "Error encountered when uploading local task to Clarity in AllignTasks sub at: " & vbLf
If Not iClarityTask Is Nothing Then msgStr = "Clarity Task in AllignTasks sub " & iClarityTask.Name & vbLf
If Not iLocalTask Is Nothing Then msgStr = "Local Task in AllignTasks sub " & iLocalTask.Name & vbLf
msgStr = msgStr & Err.Description & " (#" & Err.Number & ") at " & vbLf
MessageBox.Show(msgStr, RUN_CLARITY_UPLOAD_MSGBOX_TITLE, MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
End Sub
Best regards
Maciej Majkowski
MaciejMajk
Hi,
We've Project server 2016 on premise environment. I had to install MPP on the DEV server to test one of the functionality that we implemented. But after installing MPP 2016 everything stopped working on the server including Central administration and we're not able to find the related errors on the log file. Posting couple of issues screenshots for your reference. We followed We've tried to fix them for almost a full day but finally we're able to resolve it by running a share point "Repair" setup. Is there any bug in MPP (or) will there be any way to fix these issues without repairing the share point server?
FYI, have tested this in two different server. However, came across the same problem.
Thanks.
Hi
I have JSON response and I want to get the Item and Position values. Where is it in the tree structure I want the Item and Position. In C# WPF
"address": [
{
"item": {
"country": "USA",
"locality": "Rio Rancho",
"postal_code": "87124",
"region": "New Mexico",
"street": "1380 Rio Rancho Blvd SE #363",
"type": [
"work"
]
},
"position": "168,124,399,124,399,169,168,169"
}
],
"comment": [
{
"item": "CELL",
"position": "554,277,596,277,596,291,554,291"
}
],
"email": [
{
"item": "aynejames@me.com",
"position": "532,114,746,114,746,139,532,139"
}
],
"formatted_name": [
{
"item": "Wayne Stansfield. CLCS",
"position": "55,178,399,178,399,208,55,208"
}
],
"label": [
{
"item": {
"address": "1380 Rio Rancho Blvd SE #363 Rio Rancho, NM 87124, 87124",
"type": [
"work"
]
},
"position": "168,124,399,124,399,169,168,169"
}
],
If there are two Items like in Organization tab it should return both Item1,2 and Position1,2 .
It is completely dynamic Address, Name, Email which are the starting Key values of the JSON response those also be may or may not there. And if there is any new key then the Item and Position value of that new key should also be returned.
Can anyone help me out from this problem?
Hi all,
I´m using Project Proffessional for office 365.
I´ve set up 3 Custom Fields (Total, Done & Percentage).
In the Percentage field my formula is:
Format(Done/Total)*100 & "%"
The formula works fine but the result has too many decimal places -> my result is for instance83,8235294117647% instead of ex. 84 or 83,8 would be just fine!
I´ve tried other versions of this formula to get my desired result, unfortunately it doesn´t work, for example I tried this one:
Format(Done/Total)*100, "0%" & "%"
Any ideas?
Regards
Hi.
Do you know if it's possible to change Microsoft Project Options using VBA.
We wan't to programatically change the option "baseline for Earned Value calculation", from baseline to baseline 1.
Thanks.
I'm wondering if this is a common problem/question. We have a WBS defined, but sometimes we have projects that don't fit the WBS exactly so we end up removing a task or two from the overall schedule. We want to display the WBS number next to the tasks in MSProject, but when you remove a task, it results in a renumbering of your WBS field. Those numbers are tied to our ERP system for billing, so we need those numbers to be static.
I was thinking of just creating a separate WBS field that doesn't use the autonumbering that MSProject provides. Is this my only recourse?