External Content Type Page Number Filter

I have a External Content Type set up on a SQL Server view. My problem is when I use the content type as a external column in a SharePoint list the picker returns more than 200 items. I have tried to add the Page Number filter to allow users to page through
the items but I cannot get it to work. Is there a way to increase the item limit, or can someone explain how to use the Page Number filter on the Read List operation for a external content type?
Thanks,

Regarding increasing the limit, there are two parts. The actual BCS limit in SharePoint which can be increased using a PowerShell command (below), and then there is the web part that lets you select the BCS items. Based on a thread for SP2010, 200 is a hard
limit for the web part, although you will need to test to see if his limit has changed in SP2013.
http://technet.microsoft.com/en-us/library/ff607630(v=office.15).aspx
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/d0d3d0c9-8180-40f6-a886-be08c1a56a24/external-data-column-pick-list-sort-order-and-remove-limit-constraint
Regarding the Paging, the following thread provides some options (it's for SP2010 but apply for SP2013 as well):
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/6a39ae0d-cd62-4ec4-b346-7f311e8799c6/bcs-filtering-and-paging-under-readlist-method?forum=sharepointdevelopmentprevious
Dimitri Ayrapetov (MCSE: SharePoint)

Similar Messages

  • Search/Filter a Picture Library with an External Content Type

    We have the need to manage 50,000-100,000 images of ODOT Bridges. Currently, they are added to a SharePoint 2010 Picture Library that is associated to an External
    Content Type. To handle list threshold and performance issues, we are using folders. There are 2-10 images per folder. SharePoint works great for administering (Adding, Updating, Deleting).
    The problem that we have is providing an interface that anonymous users can search/filter. Prior to adding the external content data, we stored the metadata in the
    picture library itself. We had an InfoPath form that had multiple (3-5) filtered dropdowns which passed a filter to the picture library web part.that worked without issue.
    Do you know of an easy way to search/fliter for one picture library via dropdowns when all of the metadata is stored in a external content type?
    Any direction would be greatly appreciated.

    Hi James,
    How about create a page in SharePoint Designer instead of using InfoPath form? If you would like to have a try, please follow this step:
    1. Create a data source using database connection type. Get data from the same data from the data source you used to create the external content type.
    2. Add a page > Click Insert tab in the ribbon of Designer > Click Data Source > And insert the data source you created in step1.
    3. Insert > ASP.NET > Drop Down list > Choose Data Source for the drop down list control > Select the data source you add in step 2. And Enable AutoPostBack for the drop down list control.
    4. Insert the picture XSLT list view web part > click Parameters on the ribbon > Create a new parameter > Select Control as parameter source > Select the drop down list control you added in step 3.
    5. Create a filter for the XSLT list view web part > add the fitler equal to the parmaeter you added in step4.
    Best regards,
    Emir

  • Help sought filtering athe results for an external content type.

    I have been using resources like
    http://msdn.microsoft.com/en-us/library/office/ee557243(v=office.14).aspx to set up an external content type. Then I used resources such as
    http://msdn.microsoft.com/en-us/library/office/ee558778(v=office.14).aspx to create an external list.
    I got the infamous error "Unable to display this Web Part..." that web searches show generally happen when too many results are being returned.
    When I set up the Read List operation, I did create a limit filter. The column that has a unique value for each record was selected with a default value of 100. The bits I have read seemed to indicate that would limit the results to 100 records. In
    my case, what I was attempting to do should have only returned a few records, so that seemed safe.
    Since I am getting the error that people indicate is related to too many records being returned, and I looked using powershell and it seems that the default is 2000 items, the limit filter doesn't appear to be working.
    I have read books, web blogs, forum threads and technotes. Unfortunately most of what I have read does not really explain _what_ one is supposed to do in a way that is general. Typically it is all done in terms of some specific example, which perhaps I am
    not translating into my specific case appropriately.
    Can someone explain the filtering and how the functionality works?
    Thank you!

    Digging into the ULS logs reveals an odd error. It says:
    05/06/2014 07:13:11.93 w3wp.exe (NTSRV45SB:0x1E08)            
    0x0F14
    SharePoint Foundation         Web Parts                    
    89a1 High
    Error while executing web part: System.InvalidOperationException: A null value was used as an Identifier value for Entity (External Content Type) with Name 'HPSM External Data Connection' in Namespace 'http://sandbox/sites/it/projects/sm/hpsm_edc'. Null
    identifier values are not permitted. Check the data returned from the LobSystem (External System) or the TypeDescriptors for Method with Name 'PROBSUMMARYM1Read List' on Entity with Name 'HPSM External Data Connection' in Namespace 'http://sandbox/sites/it/projects/sm/hpsm_edc'.
    ---> System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.  Parameter name: identifierValues     at Microsoft.BusinessData.Runtime.Identity..ctor(Object[] identifierValues)     at Microso...
    532f2966-cc96-4fb8-b0e3-e83b838d2aef
    05/06/2014 07:13:11.93* w3wp.exe (NTSRV45SB:0x1E08)            
    0x0F14
    SharePoint Foundation         Web Parts                    
    89a1 High
    ...ft.SharePoint.BusinessData.Infrastructure.CompositeIdentifier.GetIdentity()     --- End of inner exception stack trace ---     at Microsoft.SharePoint.BusinessData.Infrastructure.CompositeIdentifier.GetIdentity()    
    at Microsoft.SharePoint.BusinessData.Runtime.AbstractEntityInstance.GetIdentity()     at Microsoft.SharePoint.SPExternalList.GetBdcIdentityFromEntityInstance(IEntityInstance entinst)     at Microsoft.SharePoint.SPListDataSource.GetFilteredEntityInstancesInternal(XmlDocument
    xdQueryView, Boolean fFormatDates, Boolean fUTCToLocal, String firstRowId, Boolean fBackwardsPaging, String& bdcidFirstRow, String& bdcidNextPageRow, List`1& lstColumnNames, Dictionary`2& dictColumnsUsed, List`1& mapRowOrdering, List`1&
    lstEntityData)     at Microsoft.SharePoint.SPListDataSource.GetFiltered...
    532f2966-cc96-4fb8-b0e3-e83b838d2aef
    05/06/2014 07:13:11.93* w3wp.exe (NTSRV45SB:0x1E08)            
    0x0F14
    SharePoint Foundation         Web Parts                    
    89a1 High
    ...EntityInstances(XmlDocument xdQueryView, Boolean fFormatDates, Boolean fUTCToLocal, String firstRowId, Boolean fBackwardsPaging, String& bdcidFirstRow, String& bdcidNextPageRow, List`1& lstColumnNames, Dictionary`2& dictColumnsUsed,
    List`1& mapRowOrdering, List`1& lstEntityData)     at Microsoft.SharePoint.SPListItemCollection.EnsureEntityDataViewAndOrdering(String& bdcidFirstRow, String& bdcidNextPageFirstRow)     at Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData()
        at Microsoft.SharePoint.SPListItemCollection.get_Count()     at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteSelect(DataSourceSelectArguments selectArguments, String aggregateString, Boolean wantReturn, BaseXsltListWebPart
    webpart, SPListItem& listItem, SPListItemCollection& listItems, String[]& f...
    532f2966-cc96-4fb8-b0e3-e83b838d2aef
    05/06/2014 07:13:11.93* w3wp.exe (NTSRV45SB:0x1E08)            
    0x0F14
    SharePoint Foundation         Web Parts                    
    89a1 High
    ...ieldList)     at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigatorInternal()     at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator()     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean
    bDeferExecuteTransform) 532f2966-cc96-4fb8-b0e3-e83b838d2aef
    05/06/2014 07:13:11.93 w3wp.exe (NTSRV45SB:0x1E08)            
    0x0F14
    SharePoint Foundation         Web Parts                    
    89a2 High
    InnerException 1: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.  Parameter name: identifierValues     at Microsoft.BusinessData.Runtime.Identity..ctor(Object[] identifierValues)    
    at Microsoft.SharePoint.BusinessData.Infrastructure.CompositeIdentifier.GetIdentity()
    532f2966-cc96-4fb8-b0e3-e83b838d2aef
    So I am thinking this may not be a limit problem at all. However, the Read List operation, right now, has only one filter parameter - on a column that I have verified has no null entries. There are a lot of columns - and a lot of rows. So I set up a limit
    filter with a default value of 100, which I thought would limit the number of records returned to 100.
    Perhaps the real problem is something different and it only manifests itself as a null value?
    Does anyone out there have any ideas?

  • Not able to crawl all items from External content type

    Hello All,
    "All the records in my external content source are not getting crawled, only 1/3 rd of the data are getting crawled."
    Steps:
    I created "External content type" using sharepoint designer which connects to a SQL Server database.
    Have written a SQL View joining 2 tables, which return 9,00,000 rows when executed using the SQL Server management studio.
    I used the default "Business Data Connectivity Service" and "Search Service Application" and made sure the necessary permissions are set.
    Created a External Content source for the search service application and selected the "Business Data Connectivity Service" -> "Crawl selected External datasource" -> <my external datasource i created in sharepoint designer>
    Issue
    When i ran the full crawl for the first time it crawled "3,49,923" records in 01 hour and 07 seconds. And returned 1 error "Error crawling LOB Contents.(Error caused by exception: System.InvalidOperationException. There is an error in XML
    document...)
    Later i removed the below item from the index and started a full recrawl, this time it crawled "3,49,924" records 1 record extra from my previous crawl
    and no errors were returned.
    Please let me know what could be the issue. It doesn't look like the permission related issues as i am able to crawl the 1/3rd of my total data. Also i am able to search the crawled data. I also set the throtteling limit for the "Business data catalog"
    to -maximum 10000000 -default 1000000 which is less than the data it has to crawl.
    SRIRAM

    Hi ,
    I started the change suggested in the link shared by you, but got stuck at a point,
    The field which i set as identifier in BCS earlier is not having unique values. Total rows returned by the sql view is 899000, but the unique values present in the column that is set as identifier is
    3,49,923, which is equal to the number of rows crawled. - Is this the reason why it didnt crawl all records?
    The table that is used in the sql view has composite key, - Is it possible to have multiple identifier in BCS as well?
    Is it possible to make BCS to ignore the identifier? i mean creating BCS without an identifier column?
    Please let me know your suggestions on this.
    Thanks,
    SRIRAM
    Yes, BCS needs a UID. This is so it can figure out changes over time to a single record. Otherwise all changes to a row could be a potential new row without BCS knowing any better.
    Yes, or just have it run off the composite key instead of the field you're using now.
    Nope, BCS needs a UID field like in answer 1 :)
    Good luck!
    My CodePlex -
    My Blog - My Twitter
    Join me at the San Francisco SharePoint User Group!
    If this post helped you or answered your question please remember to mark it! :)

  • Get "An Error occurred while retrieving data From ProjectWebApp.." when searching content on an External Content Type

    I have set-up an ECT in SPD2013 on SP2013.  It is a SQL Data source called ProjectWebApp.   I have BCS/SSS set-up.  I can create an ECT OK in SPD.  I can add the ECT to a custom list.
    The problem is when I add a new item in the list the following error message appears in red
    An error occurred while retrieving data from ProjectWebApp. Administrators, see the server log for more information
    I cannot filter or return any results.  There is data in the DB.
    Another test I do is to try and create a new App/List using the "External List" template.  When
    I select the ECT a red message appears "External Content Types are not available".  which is odd since I can add an ECT to a list as mentioned above.
    Any ideas?
    Tx
    Andrew
    Andrew Payze

    Hi Andrew,
    Please try the option Allow unlimited length in document libraries in the column settings:
    http://littletalk.wordpress.com/2011/08/18/external-content-type-an-error-occurred-while-retrieving-data-from-a-system-administrators-see-the-server-log-for-more-information/
    If it doesn't help, please refer to the link below and raise the External content type Read List operation thresholds:
    http://lightningtools.com/bcs/business-connectivity-services-end-user-implications-part-one-threshold-limit-errors/
    Please provide error message in ULS log for further troubleshooting.
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • How to create an External Content Type with SQL Stored Procedures Parameters and query it in a SharePoint App

    Hi,
    I'm new to SharePoint 2013 I want to be able to query a MSSQL database from a SharePoint App I have tried to create an External Content Type (ECT) which is produced from a MSSQL stored Procedure, this procedure has several parameters which are needed to
    filter the data correctly.  From here I want to produce an external list which I can then query from a c# SharePoint app.  If I leave the filters in the ECT null then the list is of course empty or if enter a default values the results are limited
    for the app to query so are no good.
    I want to dynamically pass values to the ECT when querying from the app, is this not possible.  Should I just be returning everything in an external list and then letting the query in the app filter the data, this seems inefficient?
    Is this the best way to do this or should I be doing this differently?
    Please can someone point me in the right direction.
    Thanks

    Hi Pandra801,
    When you create a the external content type, please try to add a filter based on your select statement.
    http://arsalkhatri.wordpress.com/2012/01/07/external-list-with-bcs-search-filters-finders/
    Or, try to create a stored procedure based on your select statement, then create ECT using the SQL stored procedure.
    A step by step guide in designing BCS entities by using a SQL stored procedure
    http://blogs.msdn.com/b/sharepointdev/archive/2011/02/10/173-a-step-by-step-guide-in-designing-bcs-entities-by-using-a-sql-stored-procedure.aspx
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Unable to edit ReadItem and ReadList operations on one specific external content type

    I'm experiencing a strange behavior.  Here is the scenario:
    - In Sharepoint Designer I create external content type A that uses external system X
    - I define ReadItem and ReadList operations for this external content type
    - I then create external content B that uses the exact same external system X and define ReadItem and ReadList operations for this external content type
    - I then go back to external content type A, select ReadList and click Edit This Operation
    - I get a message : "This operation cannot be matched with any objects in your data source.  There may be an error in the operation definition in Business Data Connectivity Metadata Store or the data source schema has changed since the operation
    was created"
    - I tried to edit ReadList operation of external content type B and it works with no problems.
    - so I delete the ReadItem and ReadList operations for external content type A, refresh external system X, and then recreate the ReadItem and ReadList operations for external content type A. 
    - When I try to edit the ReadList (or ReadItem) operation I get the same error message and I'm not able to edit this operation.
    This used to work a week or so ago, meaning that I was able to edit the ReadItem and ReadList operations for both external content types.  Now, the operations cannot be edited anymore for external content type A but can be edited with no problems for
    external content type B.  For content type A, if I want to make any changes I have to delete the ReadItem and ReadList operations and recreate them.  Does anybody have any idea as to what the problem might be?  These two external content types
    use the same external system which is a table of employees and project they worked on.  The only difference is that external content type A has a filter by employee ID defined and external content type B has a filter by project ID defined.
    thanks,

    Hi bbatl,
    I did a test as the followigs:
    Open SQL Management Studio, create a table containing a filed called “employee ID” and a filed called “project ID”.
    Add some data into the table.
    Open my site with SharePoint Designer 2010, create a new external content type called TestA.
    Connect the external content type TestA to the table that I created in step 1.
    Create Read Item and Read List operations in the content type. When creating Read List operation, add a filter based on “employee ID”.
    Click Save.
    Create another external content type called TestB
    Connect the external content type TestB to the table which was created in step 1.
    Create Read Item and Read List operations in the content type. When creating Read List operation, add a filter based on “project ID”.
    Click Save.
    Then I went back to edit the Read List operation of external content type TestA via clicking Read List operation under External Content Type operations->Edit Operation.
    No error displayed.
    So, I could not reproduce this issue.
    Whether you got the error when you clicked “Edit Operation” in SharePoint Designer. Please provide a screenshot about this issue.
    Please check whether someone has changed the table special for the column “employee ID”.
    And whether you have created an external list using the problematic external content type. If yes, please check whether it could work well.
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • Error : External Content Type Failed to SAVE

    Hello All,
    Im trying get connect the sqlserver tablt to Sharepoint List using BCS services + Sharepoint Designer.
    i have created the external content type using SPD, creating all permission to table, operation properties, parameter, filter parameter every thing is fine.
    then here i have to SAVE the external content type, im getting error: External Content Type Failed to SAVE
    detailed Error:
    An unexcepted internal error occured in the Business Data Connectivity Sahred Service: Access to the temp directory is denied. identity 'NTAUTHORITY\NETWORK SERVICE' under which xmlserializer is running does not have sufficient permissions to access the
    temp directory. CodeDom will use the user account to process is using to do the compilation, so if the user doesnot have access to system temp directory, you will not to be able to compile. Use Path.GetTempPath() API to find out the temp directory location
    Before this i created sample external content type which is working correctly. Any suggestion regarding this..
    Advance thanks..
    NS

    Hi,
    I understand that when you save the external content type, there is an error.I have seen similar errors, you can try the steps below:
    Open C::\Windows\Temp.
    Right click on Temp folder and choose Properties>Security.
    Add the Network Service with Full Control permisison.
    Thanks,
    Entan Ming
    Entan Ming
    TechNet Community Support

  • Creating app scoped external content type using Provider Hosted App in sharepoint 2013 using visual studio 2012

    Hi,
    I am creating provider hosted app in visual studio 2012 using app scoped external content type having OData with Northwind url
    App manifest start page url  :
    ODataNewAppWeb/Pages/Default.aspx
    In XML it is:
    <StartPage>~remoteAppUrl/Pages/Default.aspx</StartPage>
    When i am deploying app pressing F5 the app gets deployed successfully....
    Now i am changing my start page url in Appmanifest like this:
    ODataNewApp/Lists/Employees
    In XML it looks like:
    StartPage>~appWebUrl/Lists/Employees</StartPage>
    When i am deploying app pressing F5 the app..
    Getting register SOD error.....
    I have followed all the steps like:
    1)Creating app domain
    2)Starting all the required services
    3)Creating root site collection
    But still no success.. Please help me on this.... I am struggling with this from two weeks...

    Have you set up a wildcard DNS entry for the spapps.com domain?
    Also if you're trying to connect from the server you might be hitting loop back check issues.

  • External Content Type not displaying List.

    I am getting the following Error when i go to the External Content Type List i Created.
    Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator.
    When i open it up in Sharepoint Designer and look at the page i get this error.
    soap:ServerException of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.An error has occurred.
    I'm connecting to a SQL Server with sql server credentials. I'm able to see the tables and columns in the Data Source Explorer.
    The permissions for the Content Type are all authenticated Users with everything checked.

    Hi,
    How did you supply username and password to the external content type?
    As i know, there are four options (user's identity, BDC's identity, impersonate windows identity, impersonate custom identity), you cannot directly input the SQL username and password.
    I suggest you to use impersonate custom identity.
    Before using it, you need to create a new target application ID in secure store service application. and select
    user name and password for filed type at second step. after that, you need to set credentials for this target application ID to input your sql user name and password there.
    Then you need to input this target application ID at connection properties (both default and client tabs) of the external content type.
    Regards,
    Seven

  • ISO help using SharePoint Designer 2010 to create an External Content Types from a table that has many columns

    I am trying to create an external content type for a specific list. The problem is that there are so many columns (more than 200) that I get the error:
    The operation(s) generation creates an SQL query which exceeds the length limit in Business Data
    Connectivity Metadata Store. The operation(s) will not be generated. Recreate
    the operation(s) with less number of columns in the configuration.
    I tried turning off a dozen columns and I am still getting this error. I am nearing the limit of the "extra" columns I can eliminate.
    What is the actual limit on number of columns?
    Thank you.

    Hi,
    From my research, it seems to be the limitation in response TTL and response size. To confirm
    it, would you please check the detailed errors logged in ULS log? <o:p></o:p>
    If you identified the threshold has be reached, you may follow this link to increase
    the threshold according to your business requirement.<o:p></o:p>
    http://blogs.msdn.com/b/bcs/archive/2010/02/16/bcs-powershell-introduction-and-throttle-management.aspx
    Miles LI TechNet Community Support

  • Group by collapsed not working for external content type

    Hi,
    I've got a list that displays data from external content type and I need it to be grouped by a column and have it collapsed by default.
    The problem I have is that on a page by itself everything works fine. But when I add the list on a page with other web parts rendering the list as collapsed doesn't work as expected.
    It will render the group headers correctly and everything is collapsed. But when I expand one of the groups ALL items are shown under that group, even the ones that belong to some other group. I then expand another group and it also shows ALL items. But when
    I set the default to expanded each group header only has the items that belong to it, even if I collapse it and then expand again.
    As I said, having the groups collapsed works fine if the listview is by itself on a web part page, but as soon as I add another web part (doesn't matter what type) it stops working.
    Is this a bug or might there be something I'm doing wrong?

    Hi,
    As this issue is submitted via internal pipeline without external URL can be provided, we will keep focus on it to see if there any update.
    If there is an urgent requirement, I would suggest you call MS Customer Support Services for quick replies:
    http://support.microsoft.com/
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Rename columns of list created by external content type in share point 2010

    Hi,
    I want to rename columns of list created by external content type.
    Please help to solve the issue.
    Thanks in advance!
    Regards
    Rajni

    Hi,
    Steps to rename column name:
    Open external content type in SharePoint designer
    click on “Operations Design View” from ribbon
    select corresponding external content type operations
    click on edit operation from ribbon
    click next button to get the Return parameter configuration page
    select the parameter and change the display name from the properties
    Anandhan.S Remember to 'mark or propose as answer' or 'vote as helpful' as appropriate.

  • Access issue relating to external content types

    Hi,
    I was recently given permissions in the Central Administration to edit external content types. However, when I open Sharepoint Designer and click on External Content types, I am unable to view the existing external content types that was created by another
    site collection admin. The message I see is "There are no items to show in this view." I have the same permission level as this admin.
    Any suggestion in regards to resolving this?
    Thanks in advance!
    Vidya

    Hi  Vidya,
    For your issue, please confirm below check list:
    Do you have permission to access the Business Data Connectivity Service? You can verify this by trying to open Business Data Connectivity Service management page of Central Administration  in the Browser.
    If you cannot open, please ask permission for yourself from the farm administrator. Reference:
    Business Connectivity Services security overview.
    Do you have Edit , Execute and Selectable In Clients   permissions for the external content type you want to view? If not, please ask permissions for yourself. Reference:
    Set Permissions to External Content Type using PowerShell.
    If the issue persists, please go to Central Administration->Application Management ->Manage services on server,  restart the Business Data Connectivity Service.
    Reference:
    External content types: There are no items to show in this view
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How to read the content from a External Content Type with out creating External List in Sharepoint 2013?

    Hi,
    I have a requirement to read the External Content Type and storing the Data in a Session Variable. The Reading of the content from External Content Type with out creating a External List.
    Please help I am trying to find the solution, but unable to do that.
    Thanks,
    Pradeep

    Hi,
    Firstly an external content type designed to work with SharePoint list and there is no way to read apart from this.
    If you are looking the solution out of the " Business Connectivity" then find that data source has been exposed through WCF and  Web Service ?
    So you can use REST API and CSOM to consume those data in SharePoint.
    You can also leverage the ADO.NET option if the datasources based on MS technologies.
    Murugesa Pandian| MCPD | MCTS |SharePoint 2010

Maybe you are looking for