Share via


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="&lt;Columns&gt;&lt;Column DisplayName=&quot; &quot; Name=&quot;$SyncState$&quot; /&gt;&lt;Column FormatString=&quot;d&quot; DisplayName=&quot;Order Date&quot; Name=&quot;OrderDate&quot;/&gt;&lt;Column FormatString=&quot;#.00&quot; DisplayName=&quot;Total Due&quot; Name=&quot;TotalDue&quot; /&gt;&lt;/Columns&gt;" />  
      </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>