Use this property to set up and configure the Workplace Parent Child controls. This is an XML string that should contain a parent node called FieldControls.
The parent node. This represents a collection of parent child field controls.
An individual field control can be a parent or a child of a parent.
This is the name of the parent control of which this control is a member. If left blank or omitted, the field will assume this control is a top level parent control.
The control name. This is how the control will be referenced during configuration.
If a label is provided this is text value that will be displayed as the description text for the control. If no label is provided the name will be used automatically.
The URL of the data source referenced by the Parent Child to populate its choices. This property also supports the use of the variables <%SiteURL%> and <%HostName%>. However the special characters must be encoded when using them. (<%SiteURL%> <%HostName%>)
%ParentValue% can be used for child controls and will be replaced with the selected parent value.
Default: empty
Examples:
http://domain.com/LookupDataSources/Contacts
<%SiteURL%>/LookupDataSources/Contacts
The text of the top-most item in the field control. This is the text that the user will see before any item has been selected.
Note: This is required when using XMLToURL
The XML node location of the display text to be presented by the lookup to users as the choices for selection. This property can be specified in one of two ways:
1) A simple xpath query, represented
by the following:
:xpath=(your xpath query here)
2) An XML string, which allows you to specify a more complex value consisting of multiple xpath queries and static text values. The XML string must contain a values root node with child value nodes representing your individual string pieces. The value nodes contain a single attribute type which tells the property whether it should treat the value as static text or an xpath query. The attribute values are type="text" or type="xpath".
Default: empty
Example:
:xpath=NewDataSet/Table1/Title
<values>
<value
type="xpath">NewDataSet/Table1/Title</value>
<value type="text"> -
</value>
<value
type="xpath">NewDataSet/Table1/Description</value>
</values>
The XML node location of the value that will be stored in the SharePoint list when the item is selected and the list item is saved. This property is optional; if no value is provided, the lookup will utilize the value represented by the XML to URL. This property can be specified in one of two ways: Note: This is required when using XMLToURL.
1) A simple
xpath query, represented by the following:
:xpath=(your xpath query here)
2) An XML string, which allows you to specify a more complex value consisting of multiple xpath queries and static text values. The XML string will contain a values root node with child value nodes representing your individual string pieces. The value nodes contain a single attribute type which tells the property whether it should treat the value as static text or an xpath query. The attribute values are type="text" or type="xpath".
Default: The value of the URL to XML property
Example:
:xpath=NewDataSet/Table1/Title
<values>
<value
type="xpath">NewDataSet/Table1/Title</value>
<value type="text"> -
</value>
<value
type="xpath">NewDataSet/Table1/Description</value>
</values>
NOTE: This capability does not exist when using a Parent Child in a Workplace Suite action. Also, the column being referenced here must be ordered before the Parent Child in the list.
The name of the list field to save this controls value to.
• useInternal (attribute, optional) – Set to true if the name provided is an internal field name.
• saveDisplay (attribute, optional) – Set to true if you want the DisplayValue to save rather than the ValueMember.
Example: <UpdateFieldName saveDisplay="true">Planet</UpdateFieldName>
Set to True to have the first item in the field control automatically selected when the page loads.
A group of static items to be appended or added to the field control.
• Display (required) – The text the user will see in the field control.
• ValueMember (required) – The text value that will be stored when the item is selected.
Example:
<StaticItems>
<Item>
<Display>Display Text</Display>
<ValueMember>Item Value</ValueMember>
</Item>
</StaticItems>
This represents how or what value(s) from the field controls will be saved to the list item. If this is omitted, the value of the last child control will be saved.
o Value (required) – A piece of the value that will be saved.
1. type (Attribute, Required) – Controls if the value being saved is a static text value or the value from a control. If static text, just provide the text you wished saved. If field, specify the field control name you provided and the valuemember of that field will be saved.
2. saveDisplay – Controls if the displayed value is used for the child filter rather than the drop-down value (hidden item value) of the item selected.