Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Configuring subscription through BCS

$
0
0

Hi,

I am developing a SharePoint app that reads data from an external source by using Business Connectivity Services(BCS).The following markup defines the subscription

<Subscription LobSystemInstanceName = “ABCLOBInstance”

EntityNamespace = “ABC” EntityName = “Employee”

Name = “ABCEmployeeSubscription” View=”GetEmployeeById”

IsCached = “true” RefreshIntervalInMinutes=”360”

Xmlns = http://schemas.microsft.com/office/2006/03/BusinessDataCatalog>

<Queries>

<QueryName = “ABCEmployeeQuery”

MethodInstanceName=”GetEmployees”

DefaultDisplayName =”Employee Read List”

RefreshIntervalInMinutes=”360” IsCached = “true” Enabled = “true”>

Line12

</Queries>

</Subscription>

Employee Identification numbers that are less than 100 must be ignored. I am configuring the subscription as below at line12

<FilterValues>

<FilterValue FilterDescriptorName=”MinEmployeeId” FilterIndex=”0” Type=”System.Int32”>100

</FilterValue>

</FilterValues>

At the same time below one also seems to reasonable to insert at line12

<FilterValues>

<FilterValue FilterDescriptorName=”MinEmployeeId” FilterIndex=”100” Type=”System.Int32”/>

</FilterValue>

</FilterValues>

Please share your ideas/thoughts on the same.

Regards,

Sudheer


Thanks & Regards, Sudheer


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>