F
Fernando A. Gómez F.
Hello all,
How can I know a Custom Field Property's GUID and ID?
I need to create a project and send it to Project Server. I need to
populate the ProjectDataSet.ProjectCustomFields table. For that, I do
something like:
row = dataset.ProjectCustomFields.NewProjectCustomFieldsRow();
row.CUSTOM_FIELD_UID = Guid.NewGuid();
row.PROJ_UID = projectId; // projectId taken elsewhere
row.MD_PROP_UID = propUid; //<------------------ here is the gotcha
row.MD_PROP_ID = propId; //<---|
row.FIELD_TYPE_ENUM = (byte)fieldType;
Now, the values provided to row.MD_PROP_UID and row.MD_PROP_ID must come
from somewhere, presumably from the Project Server database. My question
is, where can I get these values? Should I look into Project Server's
database, or is there another place where I can see them?
Thanks in advance.
Regards.
How can I know a Custom Field Property's GUID and ID?
I need to create a project and send it to Project Server. I need to
populate the ProjectDataSet.ProjectCustomFields table. For that, I do
something like:
row = dataset.ProjectCustomFields.NewProjectCustomFieldsRow();
row.CUSTOM_FIELD_UID = Guid.NewGuid();
row.PROJ_UID = projectId; // projectId taken elsewhere
row.MD_PROP_UID = propUid; //<------------------ here is the gotcha
row.MD_PROP_ID = propId; //<---|
row.FIELD_TYPE_ENUM = (byte)fieldType;
Now, the values provided to row.MD_PROP_UID and row.MD_PROP_ID must come
from somewhere, presumably from the Project Server database. My question
is, where can I get these values? Should I look into Project Server's
database, or is there another place where I can see them?
Thanks in advance.
Regards.