Custome Fields in project
Hi,
In our Project Server config 2003 . We are using MSP_TEXT_FIELDS with TEXT_FIELD_ID = '188744741' to capture project ID. Ideally this table should have single entry for each project. For couple of projects the entry is more than one.
I understand that this is because of Custom Field in Project , but I am unable to find out those field as this is not required.
Can anyone help with database query to fetch custom fields.
Thanks in advance.
Please check the your custom fields are added in Coding Block or not. Then these field must appear in the Addition Assignment section of the field status group.
Regards,
Gaurav
Similar Messages
-
Missing values of Enterprise Custom Field in Project Professional and Project Web Access
Hi all,
In Project Server 2010 SP2 we created a custom field called Iteration Path (without a lookup table).
We're in an environment where Project Server task data gets synched from TFS and we've mapped the Iteration Path from TFS to the Enterprise Custom Field in Project Server.
We've triggered synch of all synchronized work items from TFS to Project Server
Then, in the database we can see the Iteration Path values coming across
When I open these projects in Project Profssional, the entire column of Iteration Path is empty.
When I open these projects in Project Web App (from Project Center), the entire column of Iteration Path is empty.
When I open the master project which contains all these projects, no values are shown.
Any ideas what can be wrong?
I did already clear my cache, global.mpt, but nothing changed. We don't have this issue with other Enterprise Custom Fields that are mapped to TFS fields.
Cheers,
Bram
www.projectexpert.nuHi Bram,
In the 4th item, when you say "database", which one are you talking about? Project Server DB? Draft or reporting DB?
If the value are not showing up in Project Pro, it is no need to clean your cache, since the value are obviously not stored in the Project Server Draft DB. The issue is more likely to come from the TFS sync for this particular field. Do you have any logs
for the sync process? If your field in anyway different from the others, containing specific characters?
Hope this helps.
Guillaume Rouyre - MBA, MCP, MCTS -
Reporting on custom fields in Project 2013
I have created custom fields in project 2013 i.e. renamed "cost 1", "text 1" etc. for the fields I require. However when I go into reporting the fields are never there to select from. The fields dont have formulas, a couple
have look up tables but they are basic red/green/amber. I just need to know how I get a custom field to appear in the right hand field list when selecting fields to report on?Hi MS713,
We would need more details. Do you use Project Server or just MS Project standalone? Did you created the enterprise custom fields from PWA/server settings? Did you populate some values for some projects and publish the projects? What type of reports are
you talking about? SSRS, OLAP Cube, Excel? Is it that you cannot see the custom fields or you see them but with no values?
Hope this helps,
Guillaume Rouyre, MBA, MVP, P-Seller | -
Validation of Enterprise Customer Fields in Project Creation Page
I want to do the validation on the Enterprise Custom Fields of PWA site for Project center. A set of custom fields have been added on the Project Creation Page.
Custom Business Validation (such as a field value should be unique or based on another field) is required for some custom fields. This validation is required on clicking Save button in Project Creation Page of Ms Project Server 2010. The validation ought
to be done on clicking "Save" button.
Any help in this regard would be apppreciated.The link mentioned by you ToonS is not acessible.
Here is the link:
http://msdn.microsoft.com/en-us/library/office/gg615466(v=office.14).aspx
Hope this helps,
Guillaume Rouyre, MBA, MVP, P-Seller | -
How to define a unique project level custom field in project server 2010?
Hi every one;
is it possible to define a unique project level custom field?
our client wants to have a unique custom field( project code) which doesn't allow users to save and publish projects with the same value.
for example if user A define a project and set "project code = 1" if user B define another project and wants to save "project code =1" for it, the server doesn't allow him to save this value and he has to change value for example to 2
thanks for any helpFirst of all you need to have Project server development environment also for coding visual studio hands on is required.
To start with PSI (Project Server interface)you need to have Development Environment of Project Server 2010.
you can get the overview from http://msdn.microsoft.com/en-us/library/office/ms457477(v=office.14).asp
You
can get the information about SDK: Download SDK.
http://msdn.microsoft.com/en-us/library/office/ms512767(v=office.14).aspx
Below mentioned link is having code and reuqired information about :
Generate Unique ID for Project using a webpart
http://epmxperts.wordpress.com/2012/05/21/generate-unique-id-for-project-using-a-webpart/ -
How to find Project Level Text Custom Fields in Project Server 2010 databases?
Hello,
We are using Project Server 2010 SP2 in SEM Mode. We are planning to use Project Level Local Custom fields and we want to pull them in reports using SSRS, so I am wondering which table these "Local" (non enterprise) custom fields are stored in
database.
Any suggestions?
Regards,
Kishore Dodda
Kishore DoddaHi,
Please see this
similar thread about reading local custom fields though the PSI.
Hope this helps,
Guillaume Rouyre, MBA, MVP, P-Seller | -
Delete Enterprise Custom Fields in Project Server 2010
Hello,
We have Project Server 2010, SP2, in SEM mode. We recently removed some legacy unused Project Level enterprize custom fields from system, and observed that, the fields are not visible via PWA System Settings, but still see them in Project Pro, Project Information
dialog and also available as a field that I can add it to a view.
I have already tried following:
- Clear the roaming profile (global.mpt) and exit out of Project Pro, and reconnect to Project Server... but still see those fields.
Any ideas, why we see it, and is there any additional steps we need to perfome to remove from Project Pro?
Please suggest.
Regards,
Kishore Dodda
Kishore DoddaHello,
They should have removed automatically. I have seen this before and carried out these steps:
http://pwmather.wordpress.com/2012/02/22/projectserver-2010-msproject-enterprise-global-custom-fields-out-of-synch-ps2010-ps2007/
Fully backup the system before doing this and test on a DEV / Test system first.
Paul
Paul Mather | Twitter |
http://pwmather.wordpress.com | CPS -
Updating custom fields in project server 2010/2013 using psi
Hi,
I have two custom fields . Lets call them A and B.
A has some content. Now i want B to have the same content as A . B is a formula custom field wher b=[A] .
now b is empty data and A has data.
how do i get column in B be populated.
i tried manual publish. IT worked but i have several projects.so iam looking for a script to do bulk publish so that data in B can be populated with data in A
a) i checked out project (CheckOutProject)
b) published project (QueuePublish())
c) checked in project (QueueCheckInProject())
however i donot get the value of A reflected in B using. Am i doing something wrong?
Pls help.Any pointers towards a script would behighly appreciated.
i am using project server 2010
Thanks
SuHello,
You probably want to use Project Pro to do the publish so the calculation happens and updates field B. For bulk publish using project pro use VBA to automate project pro to open each project then do save and publish etc.
Paul
Paul Mather | Twitter |
http://pwmather.wordpress.com | CPS |
MVP | Downloads -
How to Edit Custom Fields of Project Server 2010 Programatically
Hello,
I want to change the Custom field value of Project Server 2010. I am following the brain article. My problem is the code run successfully but the changes did not reflect to the Project server. Following is my code, Any Help??
private void UpdateRecordInProjectServer(string newValue, string projGuid, string propertyToEdit)
ProjectSoapClient projectSvc = new ProjectSoapClient();
CustomFieldsSoapClient customfieldSvc = new CustomFieldsSoapClient();
CustomFieldDataSet fieldDefs = customfieldSvc.ReadCustomFields(string.Empty, false);
LookupTableSoapClient loockuptableSvc = new LookupTableSoapClient();
Guid projectId = new Guid(projGuid);
ProjectDataSet projectDs = projectSvc.ReadProject(projectId, ListProjects.Project.DataStoreEnum.WorkingStore);
foreach (ProjectDataSet.ProjectCustomFieldsRow cfRow in projectDs.ProjectCustomFields.Rows)
// projectDs.ProjectCustomFields.RemoveProjectCustomFieldsRow(cfRow);
CustomFieldDataSet.CustomFieldsRow fieldDefinition = fieldDefs.CustomFields.Single(
cfd => cfd.MD_PROP_UID == cfRow.MD_PROP_UID);
if (fieldDefinition.MD_PROP_NAME == propertyToEdit)
cfRow.TEXT_VALUE = newValue;
//projectDs.ProjectCustomFields.AddProjectCustomFieldsRow(cfRow);
projectDs.ProjectCustomFields.AcceptChanges();
Guid sessionUid = Guid.NewGuid();
Guid jobUid = Guid.NewGuid();
if (!IsProjectCheckedOut(projectId))
projectSvc.CheckOutProject(projectId, sessionUid, "Updating
CF");
jobUid = Guid.NewGuid();
projectSvc.QueueUpdateProject(jobUid, sessionUid, projectDs, false);
System.Threading.Thread.Sleep(4000);
jobUid = Guid.NewGuid();
projectSvc.QueueCheckInProject(jobUid, projectId, false, sessionUid, "Updating
CF");
System.Threading.Thread.Sleep(4000);
jobUid = Guid.NewGuid();
projectSvc.QueuePublish(jobUid, projectId, true, SPContext.Current.Site.Url);
System.Threading.Thread.Sleep(4000);
Muhammad AliTry this instead of your last section(after last "if" statement):
jobUid = Guid.NewGuid();
projectSvc.CheckOutProject(projectId,
sessionUid, "Updating CF");
System.Threading.Thread.Sleep(4000);
projectSvc.QueueUpdateProject(jobUid, sessionUid,
projectDs, false);
System.Threading.Thread.Sleep(4000);
projectSvc.QueuePublish(jobUid, projectId, true, SPContext.Current.Site.Url);
System.Threading.Thread.Sleep(4000);
Here is QueueUpdateProject inserted before Publish and checkIn replaced with checkOut -
Custom fields with the same name in Project Online
Today I discovered something interesting when creating custom fields in Project Online.
I usually create a certain set of custom fields that are useful to have on both the project and the task level. An example of these is Reportable, which I use to determine which tasks to roll up into reports and also which projects overall to report on.
So I created a project level custom field called Reportable. No problem.
I then created a custom field on the task level called Reportable. And the computer said no!
I then learned that although you could do this in Project Server 2013, you can't in Project Online. You can't have duplicate custom field names, even if they are of different types.
This has led me to use a naming standard, such as Reportable Task and Reportable Project. But I really don't like that as codes are for computers, not us humans. So I hope this changes in the future, but for now you just need to think about how you approach
the fields.
Good luck!
Ryan Darby
National Manager PMO
www.ipmo.com.au
www.projectonline.com.auHi Ryan,
I would follow Ben on this..
Just made a test on a Project 2013 instance on-premise and I cannot create a task ECF and a project ECF with the same name. The same test on a Online instance returns the same result: the ECF names must be unique whatever the entity is.
Waiting for Ben's confirmation.
Hope this helps,
Guillaume Rouyre, MBA, MVP, P-Seller | -
Custom field changes in Project 2010
Is there a last-modified-date indicator in one of the databases to indicate when a custom field was changed? For example, I want to know when a custom field called project-phase (not workflow) has changed from one value to the next within a PDP.
The purpose is to produce a report that indicates the progression of a project from one phase to the next (plan-analyze-design, etc.).this question is closed - but for what you asked for the basic query provided gave you the custom field modified date which would be more precise then the project modified date -
The below query will get you the information you want
YOU put in the project GUID OR the GUID of the Custom Field and this will return the tasks and project name it will also show you the difference (at least it did in my DB) the project modified data versus the task/custom field modified date which is
also what you asked for...
USE ProjectSevrerDraft
SELECT
mscf.MD_PROP_NAME as "Custom Field",
mstcv.MD_PROP_ID as "MD PROP ID - can remove",
proj.PROJ_NAME as "Project Name",
proj.MOD_DATE as "Project Modified Date",
mst.TASK_NAME as "Task Name",
mstcv.CREATED_DATE as "Task Created Date",
mstcv.MOD_DATE as "Task Modified Date"
FROM MSP_TASK_CUSTOM_FIELD)VALUES mstcv
JOIN MSP_PROJECTS proj
ON mstcv.PROJ_UID=proj.PROJ_UID
JOIN MSP_TASKS mst
ON mstcb.TASK_UID=mst.TASK_UID
JOIN [ProjectServerPublished].[dbo].[MSP_CUSTOM_FIELDS] mscf
ON mscf.MD_PROP_ID=mstcv.MD_PROP_ID
-- You can select either below un-comment out the '--'
-- And insert what you want - the project or Custom field
-- GUID will help. The PROJ_UID is found under MSP_PROJECTS
-- THE MD_PROP_ID is found under the published database in
-- the MSP_CUSTOM_FIELDS table
--WHERE mstcv.PROJ_UID =' GUID OF PROJECT'
--WHERE mstcv.MD_PROP_ID = 'GUID OF CUSTOM FIELD' -
Custom field not visible for Project task in PPM 5.0
Hi,
I have done the SPRO configuration required to add a custom field in Project task
1. Enhance DB table. added the field in structure DPR_TS_TASK_EXTENDED_ATTR, object type TTO
2. Define field groups for custom fields
3. Set up field control.
The custom field tab has come after making SPRO changes. But the field is not visible on the tab.
Please let me know if I am missing any steps.
Thanks,
YomeshDear Yomesh;
You have to config the view or subview at:
SAP Portfolio and Project Management -> Portfolio Management -> Global Customizing -> Global Field Settings -> Assign Fields to Views/Subviews
Here try to to setup the view that you want to see the custom field.
Hope you help you.
Regards.
Mariano -
Change project - project definition - customer fields
Hi experts,
I defined a new customer field for project definition. When I check it CJ02->Project definition then from main menu: Details->Project definition customer fields then For some projects this menu item is active and for some is inactive. It should be active for all. Anyone knows on what it depends? Thank you in advance
Best regards
Paul SmudaHow can I recognize if project is created with old profile?
Open the project, that you want to check, in CJ20N and in the control tab check the project profile. Compare this with the projects for which the customer field is being displayed.
I doubt whether this could be the cause for your issue. If nothing helps i would suggest you to raise this with SAP. -
Update project fields including custom fields
Hello forum members,
i am trying to write a utility that would migrate project data from Oracle database into Project Server by using CSOM. However, SetCustomFieldValue() method is not working for me. I am getting the following 'Microsoft.ProjectServer.Client.ProjectCreationInformation'
does not contain a definition for 'SetCustomFieldValue'. Any ideas? Is there a better way to do this with PSI? I would appreciate some code samples.
//todo: replace code to pull values from db
using (OracleConnection connection = new OracleConnection(connectionString))
newProj.Id = Guid.NewGuid();
newProj.Name = projName;
newProj.Description = "Test creating a project with CSOM";
newProj.Start = DateTime.Today.Date;
newProj.EnterpriseProjectTypeId = GetEptUid(basicEpt);
newProj.SetCustomFieldValue("Custom_<c22c082a-3490-e311-b25c-0050569d03ac>", "Approved"); //does not work
tatianaok. i found the answer! here is a link to the blog where i found it: http://blogs.msdn.com/b/brismith/archive/2010/08/25/project-server-adding-custom-fields-to-projects-and-tasks-using-the-psi.aspx
here is the solution on how to add a value to a custom field by using PSI and it worked for me:
//Adding a row for my first custom field
SvcProject.ProjectDataSet.ProjectCustomFieldsRow cfRowCost = templateDs.ProjectCustomFields.NewProjectCustomFieldsRow();
cfRowCost.PROJ_UID = templateRow.PROJ_UID;
// The Custom_Field_UID is the unique identifier for each custom field row
cfRowCost.CUSTOM_FIELD_UID = Guid.NewGuid();
// The MD_PROP_UID identifies the specific custom field
cfRowCost.MD_PROP_UID = new Guid("6c289ce3-eb97-e311-87f7-0050569d03ac");
//give it a value
cfRowCost.TEXT_VALUE = "programmatically added to custom field";
//Adding to the dataset
templateDs.ProjectCustomFields.AddProjectCustomFieldsRow(cfRowCost);
tatiana -
Read only custom field for particular user
Hi,
I have requirement to few enterprise custom field should be edited by only top management,Project manager and team member can only read the same field.
Like i have one custom enterprise baseline finish date,which need to update by only IT GM,and other staff can see only as read mode.
Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Sharepoint and EPM Consultant,TCS
|
| TwitterHasan,
You have few options, based on the route you want to take"
1) You could control the "Visbility" of the fields, via using a feature like
Target Audiences .
However,this may not control the same custom field on the page based on user permissions.
2) Use JavaScript: https://badalratra.wordpress.com/2013/05/04/how-to-disable-pdp-custom-fields-using-javascript/
3) Jquery: http://epmainc.com/blog/locking-custom-fields-pdp-project-server-2013-using-jquery
4) Customization: https://epmxperts.wordpress.com/2014/01/20/secure-pdp-pages-as-per-project-server-security/
5) You could look into a third part product, by Fluent Pro: https://help.fluentpro.com/pdp_manager/start
I realize these may not be exactly what you need, but with some effort, I am sure you could modify the code and reuse.
Cheers,
Prasanna Adavi, Project MVP
Blog:
Podcast:
Twitter:
LinkedIn:
Maybe you are looking for
-
NVIDIA driver not working on HP envy dv7
Hi, i trying to install nvidia official driver to my HP envy dv7 laptop. Two wasted nights without success. I trying newest version from nvidia.com and from pacman. Result is same in both cases - black screen, high cpu temperatures, no video output.
-
HP OfficeJet Pro K550 not working after restoration
I have succesfully restored from a SuperDuper! backup. Everything is working, however I noticed that I cannot print. The HP software was installed and finds the printer, but when I click on print, it brings up the printer queue, and then stops it aft
-
How to make this effect in Keylight?
Hi, I have question, how to make this effect in Keylight? I know that this overlay is added here: http://oi57.tinypic.com/1174fup.jpg Photos: http://iv.pl/images/18475588964010299091.jpg
-
How can I repair a QuickTime AAC file? Please help!
I'm in desperate need of help. Yesterday I was making an audio recording of a very important conversation using QuickTime 7.6.6 on my MacBook Pro running 10.5.8. When I tried to stop the recording, QuickTime kept recording anyway. Repeated attempts t
-
Hi, We use JBoss 3.0.6 and now we are at a stage to decide about the database to use. Our project is a mid-size one and we being limited on funds we would be leaning more towards the open source tools. We narrowed down to MySQL. I tested my applicati