Solution Artifact: CustomerSubscription.xml
Applies to: SharePoint Server 2010
This topic presents the contents of the CustomerSubscription file that is used in the Customer Orders declarative Outlook solution.
<?xml version="1.0" encoding="utf-8"?>
<Subscription LobSystemInstanceName="AdventureWorksContosoLOBInstance" EntityNamespace="AdventureWorksContoso" EntityName="Customer" Name="AdventureWorksContosoCustomerSubscription" View="GetCustomerById" IsCached="true" RefreshIntervalInMinutes="360" xmlns="https://schemas.microsoft.com/office/2006/03/BusinessDataCatalog">
<Queries>
<Query Name="AdventureWorksContosoCustomerQuery" MethodInstanceName="GetCustomers" DefaultDisplayName="Customer Read List" RefreshIntervalInMinutes="180" IsCached="true" Enabled="true" />
</Queries>
<Associations>
<Association Name="GetOrdersForCustomer" MethodInstanceName="GetOrdersForCustomer" TargetSubscriptionName="AdventureWorksContosoOrderHeaderSubscription" TargetView="GetSalesOrderHeaderById" LobSystemInstanceName="AdventureWorksContosoLOBInstance" RefreshIntervalInMinutes="60"/>
</Associations>
</Subscription>