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 help

First 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/

Similar Messages

  • 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 |

  • 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 Smuda

    How 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.

  • 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.nu

    Hi 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

  • 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

  • How long does it take for the custom field created in SFDC to show up in the field mapping list?

    How long does it take for the custom field created in SFDC to show up in the field mapping list? I hit the refresh field button, but it is not showing up after 5 min. Do I just need to have patience? 

    Hi,
    What do you have to do to the field in SFDC to make it accessible so that it shows up in the Eloqua field mapping area as a field to be mapped?   

  • Display Custom Fields in a SharePoint 2010 Content Query Web Part?

    Using SharePoint 2010, Having Custom List With 4 Columns, Now I am Using Content Query Web-part To Display List Data ,But Currently It Display Only First Column, SO How to Display Custom Fields in a SharePoint 2010 Content By Query Web Part
    AKshay Nangare

    Hi,
    By default CQWP shows only one column. However, if you want to show more than one column, then CQWP needs to be customized. The property which you are looking for is CommonViewFields. It is used to specify the additional fields that you want to display in
    the Web Part. See this for more information:
    https://msdn.microsoft.com/en-us/library/ms497457%28v=office.14%29.aspx?f=255&MSPPError=-2147217396
    Blog | SharePoint Learnings CodePlex Tools |
    Export Version History To Excel |
    Autocomplete Lookup Field

  • 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 Dodda

    Hi,
    Please see this
    similar thread about reading local custom fields though the PSI.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • How to create & Assign unique Qualification level and Groups(Each trans.)

    Hi,
    While working on CRM_LEAD i have observed that i cannot create unique Qualification level or Groups/origins for each transactions, if i add one more Qualification level or Groups/origins in existing table it is reflecting in all corroseponding Leads.
    Please tell me how to create seperate Qualification level and Groups/origins for each Transaction, else we can use Authorisation Object for this.
    Please resolve.
    Regurds,
    Dipesh.

    Hi Chirag,
    I've read the following link, but the question is....
    - Where is the link to create transport groups? That is my only question It's as easy as that
    Found it...sorry I knew it was easy
    Edited by: Gonçalo Mouro Vaz on Dec 20, 2007 5:13 PM

  • 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 Ali

    Try 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

  • How can i adjust the sound level customized for each browser tab?

    Hi,
    I'm kinda a new mac user. I want to know how i can adjust the sound level specifically for each browser tab or application the way you could do in windows.
    Thanks.

    Volume Mixer feature  that Windows has, is not available in OS X.
    Best.

  • 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 |

  • Content Search web part - Display Project Enterprise Custom Fields and Lookup Tables

    My ultimate goal is to display a rollup table of our active projects (from PWA) on another site collection using the content search web part. I can return default properties (such as the project name, author and URL) fairly easily using the same basic steps
    in the link below.
    http://en.share-gate.com/blog/roll-up-sharepoint-2013-sites-using-search
    My problem is that I want to also display information associated with each project from our PWA enterprise custom fields (such as risk, phase, etc.)
    Because these custom fields do not appear to be site columns, I'm at a bit of a loss as to how this data is searched / indexed / mapped.
    Is it possible to display PWA enterprise custom fields in a content search web part?

    Hi Jennifer,
    According to your description, my understanding is that you want to display PWA enterprise custom fields in a Content Search web part in SharePoint 2013.
    As your active projects were from different site collection with the Content Search web part, you need to do a crawl for the content source, then create a managed property for the column in CA->Search Service Application->Search Schema. When you create
    the managed property, select Searchable, Queryable, Retrievable.  Then  map it to the crawled property based on the custom column. You can find the crawled property by searching the name of the column in crawled properties.
    More information, please refer to the link:
    http://technet.microsoft.com/en-us/library/jj219667(v=office.15).aspx
    I hope this helps.
    Thanks,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • 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 Dodda

    Hello,
    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
    Su

    Hello,
    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

Maybe you are looking for

  • Recording Itunes videos to DVD

    My husband and I just downloaded a TV show from Itunes in the hopes of copying it to DVD for our use. However, the burn command on Itunes is grey when I want to do this. How can we do this? Thanks for your support!

  • I have two firefox icons running horizontally at the bottom of my home page, how do I get rid of Firefox (2)?

    Don't think I need two FireFox icons, especially the one that says FireFox (2)

  • Calling abstract method from method, where is functional code

    HI All I'm trying to find the actual code that is responsible for the play() method to play sound of Applet or of AudioClip. I looked in the source files and found that the two are circle-refering to each other. Audio clip is an interface so it doesn

  • Pavilion dv6 charging not charging

    My laptop is doing this thing where it charges then doesnt. it will flash the, charging, not charging , to just not charging at all. and it does this until my computer just dies.  its been going inbetween doing this, and working perfectly fine. prett

  • Roomie remote & DA1800ES

    Struggling to get a DA1800ES Sony Receiver to respond to a Roomie Remote Universal Remote Control (app on an iPhone) via WiFi.  The Roomie Remote can control other WiFi devices (Apple Tv), and can manage InfraRed devices too, but I'm unable to get th