Template: BasicSubscription_Subscription.xml

Applies to: SharePoint Server 2010

The following is an example of a template for a basic subscription.

<?xml version="1.0" encoding="utf-8"?>
<!-- This file defines a cache subscription. A cache subscription tells the BCS Client Runtime what data to populate in the Client Cache. -->
<!-- This file defines a subscription for a single entity, which can be populated by executing a Finder method. -->
<!-- This file points to the information defined in the BDC Model. You may want to reference your BDC Model file when filling the values in this file. -->
<!-- The IsCached attribute is not used in this release. -->
<!-- The default values of RefreshIntervalInMinutes are shown. You can change them to meet your needs. --> 
<Subscription LobSystemInstanceName="EnterLobSystemInstanceNameFromModel" EntityNamespace="EnterEntityNamespaceNameFromModel" EntityName="EnterEntityNameFromModel" Name="EnterUniqueNameForSubscription" View="EnterSpecificFinderNameFromModel" IsCached="true" RefreshIntervalInMinutes="360" xmlns="https://schemas.microsoft.com/office/2006/03/BusinessDataCatalog">
  <Queries>
    <Query Name="EnterUniqueNameForQuery" MethodInstanceName="EnterFinderNameFromModel" DefaultDisplayName="EnterDisplayName" RefreshIntervalInMinutes="180" IsCached="true" Enabled="true" />
  </Queries>
</Subscription>