Solution Artifact: RelatedOrderHeader.xml
Applies to: SharePoint Server 2010
This topic presents the contents of the RelatedOrderHeader.xml file that is used in the Customer Orders declarative Outlook solution.
<?xml version="1.0" encoding="utf-8" ?>
<Container ContainerType="Stack" xmlns="https://schemas.microsoft.com/office/2009/05/BusinessApplications/Layout" xmlns:loc="https://schemas.microsoft.com/office/2009/05/BusinessApplications/Localization">
<CustomProperties>
</CustomProperties>
<Children>
<OBPart PartType="List" DataSourceName="PrimaryEntityNameInContext" Text="Related Order" Description="A list of all related Orders" >
<CustomProperties >
<CustomProperty Name="DataSourceMode" Value="AssociationList" />
<CustomProperty Name="DataMemberName" Value="GetOrdersForCustomer" />
<CustomProperty Name="MaximumVisibleRowCount" Value="12" />
<CustomProperty Name="DefaultActionName" Value="Edit" />
<CustomProperty Name="DefaultActionSource" Value="TargetContext" />
<CustomProperty Name="ConsumerPartName" Value="IPOBP" />
<CustomProperty Name="ColumnsXml" Value="<Columns><Column DisplayName=" " Name="$SyncState$" /><Column FormatString="d" DisplayName="Order Date" Name="OrderDate"/><Column FormatString="#.00" DisplayName="Total Due" Name="TotalDue" /></Columns>" />
</CustomProperties>
<ActionNames>
</ActionNames>
</OBPart>
<OBPart PartType="InfoPath">
<CustomProperties>
<CustomProperty Name="Name" Value="IPOBP" />
<CustomProperty Name="FormLocation" Value="OrderHeaderTemplate.xsn" />
<CustomProperty Name="IsReadOnly" Value="True" />
<CustomProperty Name="Height" Value="600" />
<CustomProperty Name="ViewName" Value="taskpaneview" />
</CustomProperties>
</OBPart>
</Children>
</Container>