PDS EnterpriseCustomFieldUpdate method

K

kdawg

Can someone tell me what these parameters mean, and how to use them>

<Default></Default>
<ValuelistInUse></ValuelistInUse>
<ValuelistSortOrder></ValuelistSortOrder>

Thank you.
 
E

Ed Morrison

If you want the enterprise custom field to have a value list (aka dropdown
list) you'll use these fields. For example, this is the XML for a
enterprise resource text field called "Text List" with three possible
choices, Option A, Option B, and Option C. Option B is the default. They
are sorted ascending. Hope this helps.

<CustomField>
<FieldID>205521543</FieldID>
<FieldName>Text List</FieldName>
<SelectionRequired>0</SelectionRequired>
<Default>2</Default>
<ValuelistInUse>1</ValuelistInUse>
<ValuelistSortOrder>1</ValuelistSortOrder>
<ValueList>
<ValueItem>
<ID>0</ID>
<Value>Option A</Value>
<Description/>
</ValueItem>
<ValueItem>
<ID>1</ID>
<Value>Option B</Value>
<Description/>
</ValueItem>
<ValueItem>
<ID>2</ID>
<Value>Option C</Value>
<Description/>
</ValueItem>
</ValueList>
</CustomField>
 
K

kdawg

Wow, that was fast. Thank you very much

Ed Morrison said:
If you want the enterprise custom field to have a value list (aka dropdown
list) you'll use these fields. For example, this is the XML for a
enterprise resource text field called "Text List" with three possible
choices, Option A, Option B, and Option C. Option B is the default. They
are sorted ascending. Hope this helps.

<CustomField>
<FieldID>205521543</FieldID>
<FieldName>Text List</FieldName>
<SelectionRequired>0</SelectionRequired>
<Default>2</Default>
<ValuelistInUse>1</ValuelistInUse>
<ValuelistSortOrder>1</ValuelistSortOrder>
<ValueList>
<ValueItem>
<ID>0</ID>
<Value>Option A</Value>
<Description/>
</ValueItem>
<ValueItem>
<ID>1</ID>
<Value>Option B</Value>
<Description/>
</ValueItem>
<ValueItem>
<ID>2</ID>
<Value>Option C</Value>
<Description/>
</ValueItem>
</ValueList>
</CustomField>

--
Ed Morrison
msProjectExperts
"We wrote the books on Project Server"
http://www.msprojectexperts.com
FAQ - http://www.projectserverexperts.com
 

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