WorkPoint365.WebAPI.Model.FieldValue
SharePoint Field Values
The values can be CSOM objects or strings specified as in the following table:
SharePoint FieldTypes
|
Remarks
|
Example for values
|
AllDayEvent
Attachment
Boolean
Recurrence
CrossProjectLink
|
Boolean
|
0, 1, false, true
|
Choice
Note
OutcomeChoice
Text
|
Text
|
Hello World
|
ContentTypeId
|
SharePoint Content Type. Values can be the name of the Content Type or the Id (Guid) of the Content Type.
|
Active customers, Registred customers, {0x0100C2C291D883A44C449D5C696C6C993F69}
|
DateTime
|
Date with and without time
|
03-06-2015, 12-11-2010 08:30:45
|
Guid
|
Guid
|
{0x0100C2C291D883A44C449D5C696C6C993F69}
|
Lookup
|
*Lookup. If there are more than one lookup value, they must be separated with ;#
|
xxx, xxx_|_yyy, xxx_|_, _|_yyy
xxx;#yyy, xxx_|_yyy;#xxx_|_
|
MultiChoice
|
Text. Multiple values must be separated with ;#
|
Dog
Dog;#Cat;#Whale
|
URL
|
Link with description. Format:
[url], [Description]
|
http://www.workpoint.dk, WorkPoint
|
User
|
User. Multiple values must be separated with ;#
|
user1@domain.onmicrosoft.com
user1@domain.onmicrosoft.com;#user2@domain.onmicrosoft.com
|
Managed Metadata
|
**Term label. Use the label of the term.
Multiple values must be separated with ;#
|
Green
Red;#Yellow;#Green
|
*) Lookup SharePoint field type:
The LookupListFieldNameKeys specifies, which fields in the field lookup list, in combination form a unique key. The value must match this key. If the key is composed of multiple fields, separate each match value with "_ | _ ".
Examples:
If LookupListFieldNameKeys contains one key field; Key1
Correct values could be:
xxx (in the lookup list there will be searched for: Key1 = xxx)
yyy (in the lookup list there will be searched for: Key1 = yyy)
If LookupListFieldNameKeys contains two key fields; Key1 and key2
Correct values could be:
xxx_|_yyy (in the lookup list there will be searched for: Key1 = xxx and Key2 = yyy)
xxx_|_ (in the lookup list there will be searched for: Key1 = xxx and Key2 = null)
_|_yyy (in the lookup list there will be searched for: Key1 = null and Key2 = yyy)
**) Term Label:
Make sure that all terms in the termset has a unique term label. If mulitple terms in the termset has the same term label, the first term match in the termset hierarchy will be used.
Name | Description | Type | Additional information |
InternalFieldName |
The internal field name in SharePoint
|
string
|
None.
|
Value |
Se explanation above
|
Object
|
None.
|
LookupListFieldNameKeys |
When the field is a lookup field use these keys on the lookup list to find the lookup item with a value as explained above
|
Collection of string
|
None.
|