PDS - Enterprise Custom Field

K

Krishna Alavala

Hi

I created Enterprise custom field by checking out the Enterprise global. I
am able to see my custom field both in Project Server 2003 client and web
access.

How can see my custom value using PDS? I am using the following PDS xml for
the to fetch data from server.

<Request>
<ProjectData>
<ProjectID>13</ProjectID> /* 13 is project id */
</ProjectData>
</Request>

I am migrating data from old systems to Project server 2003. I need to
create many custom fields. This is my first step towards that.

Any help would be greatly appreciated.

Thanks
Krishna
 
I

icolias

Try ProjectCodeValues function.

<Request>
<ProjectCodeValues>
<ProjectID>13</ProjectID>
</ProjectCodeValues>
</Request>
 
K

Krishna Alavala

Thanks for the reply

I am able to get the Enterprise Project Custom fields.

How can I get the Enterprise Task Custom Fields

Thanks
Krishna
 
I

icolias

Try the following:

<Request>
<EnterpriseCustomFields>
<CodeType>0</CodeType>
</EnterpriseCustomFields>
</Request>
Codetype
0 Project enterprise fields
1 Resource enterprise fields
2 Task enterprise fields
 
K

Krishna Alavala

I tried this and got the following result. This is a Enterprise Task Custom
field, I have a value against this custom field 'Activity DS' in a project
and task called 'Test task Description'. How to retrieve this value?. Meaning
<ProjectCodeValues> (you mentioned in your earlier post) will fetch Project
enterprise fields and values. List that how to fetch Task enterprise fields
values in a project? I would also like to update these fields user PDS
method. For updating Project enterprise fields there is a method called
<ProjectCodeValuesUpdate>.

Thanks a lot for the update.

<Reply>
<HRESULT>0</HRESULT>
<STATUS>0</STATUS>
<UserName>Krishna Alavala</UserName>
<CustomFields>
<CustomField>
<FieldID>188744479</FieldID>
<FieldName>Activity DS</FieldName>
<SelectionRequired>0</SelectionRequired>
<Default>0</Default>
<ValuelistInUse>0</ValuelistInUse>
<ValuelistSortOrder>0</ValuelistSortOrder>
<ValueList />
</CustomField>
</CustomFields>
</Reply>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top