Sample Duet Enterprise XML Snippet: Layout Definition

This XML snippet shows how to create a Microsoft Business Connectivity Services (BCS) layout schema for a Duet Enterprise solution.

Applies to: Duet Enterprise for Microsoft SharePoint and SAP Server 2.0 | Office 2010 | SharePoint Server 2010

The following example XML snippet shows a Duet Enterprise sample layout. This XML file defines the controls that are surfaced in the task pane, which external content types to populate them with, and any other custom properties that the control exposes. You can upload this file to the Business Connectivity ServicesSolution Galleries and associate it with an external list.

For more information about the Business Connectivity Services layout definitions schema, see LayoutDefinitions Schema(https://msdn.microsoft.com/en-us/library/ee557865.aspx).

Example XML Layout

The following XML snippet shows how an XML layout file might appear.

<?xml version="1.0" encoding="utf-8" ?>
<Layout xmlns="http://schemas/oba/2010/Layout"
     Name="ContactDetails"
     Version="1.0.0.0">
     <EntityDependencies>
        <Entity Name="Contact" Namespace="SAP.Office.DuetEnterprise.Account" Version="1.0.0.0" 
          IsPrimary="true" />
      </EntityDependencies>
    <Container ContainerType="Stack" 
               xmlns="https://schemas.microsoft.com/office/2009/05/BusinessApplications/Layout" 
               xmlns:loc="https://schemas.microsoft.com/office/2009/05/BusinessApplications/Localization">
    <Children>
    <OBPart PartType="Custom" 
        QualifiedTypeName="ContactDetails.Taskpane, $AssemblyName$, Version=14.0.0.0, Culture=neutral, 
          PublicKeyToken=$PublicKeyToken$"
            DataSourceName="Context"
            Text="Contact"
            Description="Customer contact">
           <CustomProperties />
            <ActionNames />
    </OBPart>
    </Children>
    </Container>
</Layout>

For a complete solution, see How To: Create an Outlook Solution Using Duet Enterprise Outlook Application Designer.

See Also

Other Resources

Creating Advanced Code-Based Solutions Using Business Connectivity Services (https://msdn.microsoft.com/en-us/library/ff394635.aspx)