Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm currently trying to use an PageNumber-Filter for an Finder-Method in an .NET Assembly Connector. The relevant Part of the Method-Definition of the ReadList-Method looks the following.

<Method Name="ReadList" IsStatic="false">
 <FilterDescriptors>
<FilterDescriptor Type="PageNumber" FilterField="ID" Name="PageNumberFilter">
  <Properties>
    <Property Name="UsedForDisambiguation" Type="System.Boolean">false</Property>
    <Property Name="IsDefault" Type="System.Boolean">true</Property>
    <Property Name="CaseSensitive" Type="System.Boolean">false</Property>
    <Property Name="PageSize" Type="System.Int32">50</Property>
    <Property Name="SortType" Type="System.Boolean">true</Property>
  </Properties>
</FilterDescriptor>
</FilterDescriptors>
<Parameters>
   <Parameter Direction="In" Name="@ID">
       <TypeDescriptor TypeName="System.Int32" Name="ID" AssociatedFilter="PageNumberFilter" />
   </Parameter>
  <Parameter Direction="Return" Name="returnParameter">
       <TypeDescriptor ... />
  </Parameter>
</Parameters>
...
</Method

But in the ULS-Trace I found the following message after unsuccessfully trying to create a list from the External Content Type:

VLPROV: Finder 'ReadList' has a filter of type 'PageNumber'. These filters are not supported for external lists.Creating no view for this finder.

So the questions are:

  • Is the PageNumber-Filter supported for .NET Assembly Connectors Finder-Methods?
  • If yes, what is wrong with my approach.
  • If it is not supported, what is the best approach to realize paging in an .NET Assembly Connector Finder-Method. I'm aware of the solution other questions/answers are proposing. e.g Sharepoint 2010 external list paging – server side in the lightning tools blog. But I don't have sequential, numerical IDs provided by the external system.

Best regards and Happy new Year

Joachim

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.