Predecessors
Assign a task a value that reduces in length when i add resources
Hi,
I use MS Project to determine the amount of bricklayers required in a gang based on the value of the task against the cost of the bricklayers assigned.
Currently I work this out manually and set the Task length on a manual task.
Is there a better way to do this ?
Regards, Jason
ability to view or export project timephased work/cost according to a specific accounting calendar
Rod, I've got a group that is using MS Project 2010 Standard. They're looking for a tool that will allow them to view either directly in project or via an export that would display the time-phased work/cost using an accounting/fiscal calendar such as 4-4-5 where Jan & Feb are 4 weeks long and March is 5 weeks, the repeats the 4-4-5 cycle for the rest of the schedule.
Are you aware of any VBA modules that might perform this capability?
Dan
Pusher Notification issue
Id = 122, Status = WaitingForActivation, Method = "{null}", Result = "{Not yet computed}"
I am using Pusher notification in c# mvc and facing this type if issue.
And I know here we have to use await but i am using await than it's nothing to reply me.
I am tried with this give me a some solution .
Thanks in advance.
Running JSOM under Service Account
Hi
Is it possible to run JSOM code under Service account? Is so can someone provide any sample ?
Thanks, Parth
Project Server 2016 CSOM code with Claim based Authentication
One of our clients has enabled ADFS on his Project server 2016 In premise environment . We are using CSOM operation in our custom application and CSOM operations have failed due to this change.
For ADFS Claims based authentication we need to pass Authenticated cookie . Can someone help us with how to add authenticated Cookie with CSOM code.
Existing CSOM Code for getting list of projects:
publicstaticvoid GetProjectListInpremise()
{
NetworkCredential net =null;
Console.WriteLine("Read Project Online Started ..");
string PWAOnlineUrl =ConfigurationManager.AppSettings["pwaInpremiseUrl"];
string userName =ConfigurationManager.AppSettings["pwaInpremiseUser"];
string password =ConfigurationManager.AppSettings["pwaInpremiseUserPwd"];
string domain =ConfigurationManager.AppSettings["pwaInpremiseDomian"];
net = newNetworkCredential(userName, password, domain);
ProjectContext projContext =null;
projContext = newProjectContext(PWAOnlineUrl);
projContext.Credentials = net;
projContext.Load(projContext.Projects);
projContext.ExecuteQuery();
Console.WriteLine("Read Project Execute Query Successful..");
foreach (PublishedProject pubProj in projContext.Projects)
{
Console.WriteLine("Project Name :"+ pubProj.Name);
}
Console.ReadLine();
}
Process 'msbuild.exe' exited with code '1'
I am building a project with TFS through MSBuild Task which is executing with the build Agent. Though Project is getting build with Zero error and then Task is Failing after completing successfully build with One single line Error message "Process 'msbuild.exe' exited with code '1'.".
And my same project is getting build with the command line(all included parameters which is passing while TFS
build) on the same build machine.
As we can see there is an issue with Powershell script execution which is autogenerated to run build machine tasks.
but I am not able to find the problem..!
Environment Setup-
TFS2018(on premises) on The same network.
Build Agent-VS2015Express Web/Windows,
os-Windows Server2012 R2 Standard,
Build Agent Version - <g class="gr_ gr_419 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling" data-gr-id="419" id="419">vsts</g>-agent-win-x64-2.136.1.
My Error Log -
Thanks in Advance ..!!
Add start date to a new Task with CSOM
Hello
I’m working on a project where I have to export projects form an existing system to Project Online and I’m working with the CSOM to do so.
The problem I’m having is when I try to change the Start property for a task. When I try to set it works fine except it changes the month and the day of the date time when the project is added to the PWA.
Example:
draftTask.Start = newDateTime(2014, 9, 10);
This would change the tasks start date to 9<sup>th</sup> October 2014 and not as I would expect the 10<sup>th</sup> September 2014
If anyone knows what the problem is I would appreciate the help.
Thank you,
Claus
Task Start and Finish date with CSOM gets converted to USA format
I know that this theme was presented at forum, but I can't find answer for it.
I'm setting a task start date using CSOM, and do it using a UK format (DD-MM-YYYY), but Project Server reads it as if it was in USA format (MM-DD-YYYY).
The value gets set correctly in my code, but then Project Server treats it as if it were in USA format.
I wrote 05/12/2017, the date that appears on the schedule is 12/05/2017. You might think that it's just a viewing format, but other date time project fields are treated correct. This problem is reproduced only for task start and finish dates
What's going on here? Is there a setting in Project/SharePoint that defines how it treats dates after being read from CSOM?
This action is reproduced only for start and finish date, but others project fields with date time type are treated the data correct.
Typing is exceptionally slow in edge
Unable to read Task customField value using JSOM
Hi All,
I'm trying to read Task level customfield value for a given project using JSOM. I can able to read the custom field's name and its internal name but gettingundefined error while reading its value.
Any help would be greatly appreciated.
Below is the piece of code , is there anything wrong in the below code?
projectContext.load(AllTasks, 'Include(Id, Name,CustomFields,IncludeCustomFields, FieldValues)');
====
Thanks.
PWA.asmx class File
Hi
I would like to have class file from PWA.asmx for creating Rules.
Regards,
Parth
Thanks, Parth
Read only Task Custom Field in Project Online
Hi,
It may not be possible but just curious to know if there is way to achieve it.
I would like to have a Task CF that should be editable only for the Administrators. This field should be read only for all other security groups apart from the Administrators. It should be read only even in the MPP too.
Incase if there is a way to achieve it, could you please give me your suggestions/inputs?
Thanks.
reading timephased BCWP using PSI, CSOM, OData, or directly from database
Hi,
We need to read the BCWP per day values from a project plan to display them in an external system but we can't manage to find a way using the PSI, CSOM, or OData. Moreover, we can't find any tables in the database that contain the BCWP timephased data. Is there a way to read the timephased BCWP??
If there is no way to read it directly, is it possible to reproduce the BCWP timephased data? To do so, we need the physical % complete (since we use physical % complete as the earned value method) values that correspond to each status date from the start of the project but we also can't find the historical data for the status dates and physical % complete anywhere!! The current status date and the current physical % complete for each task can be read using CSOM but what about the previous values? We need them to reproduce the BCWP. If the timephased BCWP, historical data for status dates, and historical data for physical % complete are not found anywhere, how is microsoft project calculating BCWP? The below figure is there to clarify our point. Notice how the physical % complete and the status date needs to be knows for T1, T2, T3, and T4 in order to be able to reproduce the timephased BCWP. To prevent confusion, hours and $s are equivalent to us since all resources have rates of 1$/hr and there are no other costs.
Any help is much appreciated.
George
Project server - autospinstaller
I am using AutoSPinstaller - in my xml the project server app is called project server
In the AutospinstallerModule.psm1 the web app being looked for is 'Portal' so this is one of the reason the below script fails, but i get an
# Create a Project Server DB (2013 only)
$portalWebApp = $xmlInput.Configuration.WebApplications.WebApplication | Where-Object {$_.Type -eq "Portal"} | Select-Object -First 1
if (!(Get-SPDatabase | Where-Object {$_.Name -eq $serviceDB}))
{
if (Get-Command -Name New-SPProjectDatabase -ErrorAction SilentlyContinue) # Check for this since it no longer exists in SP2016+
{
Write-Host -ForegroundColor White " - Creating Project Server database `"$serviceDB`"..." -NoNewline
New-SPProjectDatabase -Name $serviceDB -ServiceApplication (Get-SPServiceApplication | Where-Object {$_.Name -eq $serviceConfig.Name}) -DatabaseServer $dbServer | Out-Null
if ($?) {Write-Host -ForegroundColor Black -BackgroundColor Cyan "Done."}
else
{
Write-Host -ForegroundColor White "."
throw {"Error creating the Project Server database."}
}
}
}
else
{
Write-Host -ForegroundColor Black -BackgroundColor Cyan "Already exists."
}
# Create a Project Server Web Instance
$projectManagedPath = $xmlInput.Configuration.ProjectServer.ServiceApp.ManagedPath
New-SPManagedPath -RelativeURL $xmlInput.Configuration.ProjectServer.ServiceApp.ManagedPath -WebApplication (Get-SPWebApplication | Where-Object {$_.Name -eq $portalWebApp.Name}) -Explicit:$true -ErrorAction SilentlyContinue | Out-Null
Write-Host -ForegroundColor White " - Creating Project Server site collection at `"$projectManagedPath`"..." -NoNewline
$projectSiteUrl = ($portalWebApp.Url).TrimEnd("/")+":"+$portalWebApp.Port+"/"+$projectManagedPath
if (!(Get-SPSite -Identity $projectSiteUrl -ErrorAction SilentlyContinue))
{
But i get the following error :
New-SPSite : A site collection could not be created as the provided managed path does not exist. Change the URL to usean existing managed path or create the missing managed path prior to calling this command.
At D:\sp\AutoSPInstaller\AutoSPInstallerModule.psm1:6222 char:28
The managed path is PWA, and i can see this set in CA... any ideas why this is failing?
error 0x807800A1
Interview for a Project
The questions are:
How did you start as a company?
Was it difficult to become popular?
How have you been developing your enterprise?
What Windows versions have been more significant?
Have you had any problems with some purchasers?
Why do you think that Windows Phone was a failure?
Why people have to pay for the office 365 services (not like the competency)?
What type of workers will you need for the future (programmers, mathematicians...)?
Need a Macro that subtracts Finish variance from the Duration field
Hello
We are using MS Project 2013 on Windows 7.
Every week we use the "Update Project Reschedule uncompleted work to start after" feature to move uncompleted work forward beyond the end of the current week.MS Project moves the work forward and it causes variances to occur.
Every week we look through hundreds of small change request tasks and their support tasks, look at the variances and manually subtract the variance from the Duration field to bring the finish date back in line. We do this from the Gantt chart view. Later we look at allocations and re-adjust based on any over allocations.
Can someone provide a Macro that when a number of tasks are selected it subtracts Finish variance from the duration field of the tasks selected changing the Duration field automatically?
Thanks
MFC Application crash while closing a document on touch screen laptop
Hi All,
I have an application developed in MFC. The application is about opening various types of files like image files, doc files, pdfs,etc. When we are trying to close the documents the application crashes on a touch screen laptop, but it works just fine when the touch functionality is disabled. When added log messages in the code, we found that the application is crashing on OnCloseDocument event. This event contains only lines of code:
1. AFX_MANAGE_STATE(AfxGetAppModuleState());
2. COleServerDoc::OnCloseDocument();
The first lines goes well but after the second line takes care of calling all the document closing and destructor calls. Except when the application is done with all the destructions, the application crashes without call the last log message.
Please help me understand what could be the possible cause of the above scenario. IS there any compatibility issue of the APIs with the touch screen laptop because when we disable the touch functionality no such issue occurs.
Thanks in Advance.
Regards,
Sujata
Linking Project Tasks with Regional Map
As a public utility we are looking to add a new tool to our outage coordination planning. Due to the regional dependency of our systems we would like to have a map that would highlight areas based on keywords in our fields.
Ex. Task 1: Substation A is out for maintenance Sep 15th- Dec 20th.
Task 2: Substation B is out for maintenance Nov 19th - Nov 30th.
Task 3: Substation C is out for Maintenance Dec 15th to Dec 25th.
These substation names would be linked to a regional map and would be highlighted when the task is selected. Secondly, It would check the outage durations of other tasks and highlight those to show the coordinated Outages. As a bonus the ability to show dependent tasks different colors would be beneficial.
Curious if such a plugin exists, or software that could fill this need.
Thanks.