...
This structure represents the fields associated with a user defined valuevalue of a time card or cost card user defined field. User defined fields can be one of several possible data types. This structure has individual fields for each possible data type, and only the field connected to the actual UDF data type will be populated.
Format
Panel | ||
---|---|---|
| ||
|
Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
BooleanValue | Boolean | The value of a boolean type user defined field (i.e. true or false). |
true | ||
DateValue | DateTime | The value of a date type user defined field. |
2018-01-09 | ||
IntegerValue | Int32 | The value of an integer type user defined field. |
1 | ||
TextValue | String (255) | The value of a text type user defined field. |
Dinner | ||
RelationValue | The value of a relationship type user defined field. Relationship type user defined fields are designed to integrate with another system (i.e. Zendesk or Jira) and are only applicable to time cards and cost cards |
. Three values from the external system are stored in Projector, a UID, a code and text. | ||
NumericValue | Double | The value of |
a numeric type user defined field. |
2.1 |
Usage Example(s)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<a:Udf1Value xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"> <b:BooleanValue i:nil="true"/> <b:DateValue i:nil="true"/> <b:IntegerValue i:nil="true"/> <b:TextValue i:nil="true"/> <b:RelationValue> <b:CodeValue>SD-23</b:CodeValue> <b:TextValue>2 laptops for demo</b:TextValue> <b:UidValue>10022</b:UidValue> </b:RelationValue> <b:NumericValue i:nil="true"/> </a:Udf1Value> |