Getting error on Project Server 2010 onCreate Event Handler RRS feed

  • Question

  • Hi,

    I am creating Project Server Event Handler onCreate event, I want to populate a custom text field but I am getting CustomFieldRequiredValueNotProvided error surprisingly the same code is working fine onSaved event does oncreate event require some extra coding? here is my code

     SvcProject.ProjectDataSet.ProjectCustomFieldsRow cfRowProjCode =
    cfRowProjCode.PROJ_UID = new Guid(ProjId);
                        cfRowProjCode.CUSTOM_FIELD_UID = Guid.NewGuid();
                        cfRowProjCode.MD_PROP_UID = new Guid(ProjectCodeGuid);
                        cfRowProjCode.FIELD_TYPE_ENUM = 21;
                        cfRowProjCode.TEXT_VALUE = "My Data";
    projectClient.QueueUpdateProject(jobGuid, SessionId, projectDs, validateOnly);
    Wednesday, November 7, 2012 12:12 PM