External content type based on OData is not crawlable

Hi all,
I followed instructions from this msdn article
How to: Create an external content type from an OData source in SharePoint 2013. I've created an external content type based on OData. I imported created bdcm file to BCS store in central administration. So the ECT is scoped to the farm. I could create
an External List and the data from OData service was displayed. But I couldn't get the ECT crawlable. When I try to add a new content source in Search Service Application and select Line of Business Data it isn't possible to select External Data Source. I
tried to add IDEnumerator method and RootFinder property to the ECT in order to get it crawlable without any luck.
External Content Types based on MS SQL are crawlable fine.
Dmitry
Lightning Tools Check
out our SharePoint tools and web parts |
Lightning Tools Blog | Мой Блог

Hi,
In order to use the ECT for search you have to manually edit it as it's not complete for use with search. The two most important ones to add are:
ShowInSearchUI
RootFinder
I experienced the same issue when creating an OData BCS model for my session at the SPC2012 conference and I think those were the two properties I was missing (in addition to cleaning up some other stuff).
Take a look at
MSDN for more information on BDC model properties, and take a look at Search Connector Framework Troubleshooting for SP2010 which shows some samples.
Let me know if you need more help and I can provide a copy of my OData model (which is against an SP2010 site)
Thanks,
Mikael Svenson
Search Enthusiast - SharePoint MVP/MCT/MCPD - If you find an answer useful, please up-vote it.
http://techmikael.blogspot.com/
Author of Working with FAST Search Server 2010 for SharePoint

Similar Messages

  • Setting up an External Content Type

    Is it possible to set up an External Content Type in SP Designer if the WCF service I'm using only has a method for creating an item in another system? I see that you must create a "Read Item" and "Read List" operation, and when I try
    to do so, it doesn't allow me to see the "Finish" button, or it throws a bunch of various errors at the bottom.
    I have a WCF service that was not specifically made for BCS. It's designed to simply submit a ticket to a help desk system, with no ability to read from that system. Using custom workflow in SharePoint, I'd like to trigger the WCF service and send a ticket
    using data held in a SharePoint list. Any pointers appreciated!

    Hi,
    According to your post, my understanding is that you failed to set up an External Content Type in SharePoint Designer.
    Please make sure you create external content type based on a WCF service
    correctly.
    For more information, you can refer to:
    How to: Create an External Content Type Based on a WCF Endpoint
    Creating External Content Type Associations Based on WCF
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Creating a external content type for Read and Update data from two tables in sqlserver using sharepoint designer

    Hi
    how to create a external content type for  Read and Update data from two tables in  sqlserver using sharepoint designer 2010
    i created a bcs service using centraladministration site
    i have two tables in sqlserver
    1)Employee
    -empno
    -firstname
    -lastname
    2)EmpDepartment
    -empno
    -deptno
    -location
    i want to just create a list to display employee details from two tables
    empid firstname deptno location
    and same time update  in two tables
    adil

    When I try to create an external content type based on a view (AdventureWorks2012.vSalesPerson) - I can display the data in an external list.  When I attempt to edit it, I get an error:
    External List fails when attached to a SQL view        
    Sorry, something went wrong
    Failed to update a list item for this external list based on the Entity (External Content Type) 'SalesForce' in EntityNamespace 'http://xxxxxxxx'. Details: The query against the database caused an error.
    I can edit the view in SQL Manager, so it seems strange that it fails.
    Any advice would be greatly GREATLY appreciated. 
    Thanks,
    Randy

  • External content type with web service - new read item operation disable

    Hi,
    i'm tring to create an external content type based on web service.
    I add for test the web service:
    http://www.webservicex.net/globalweather.asmx?WSDL
    when i try to set get reat item operation- it's disabled.
    what should i do in order to create the operations?
    keren tsur

    Hi,
    Please Provide screenshot about your issue.
    For more information about how to create an external content type based on a web service:
    http://msdn.microsoft.com/en-us/library/office/ee556431(v=office.14).aspx
    besides, here are two posts about defining read operation on External content type error, you can take a look at:
    https://social.technet.microsoft.com/Forums/en-US/f86a8f37-7c8c-4cf0-8722-c6d44aa1e3d8/defining-read-operation-on-external-content-type?forum=sharepointadmin
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/4bcc1cd9-a9d6-4171-87d9-c6749543749c/bcs-connecting-to-a-list-in-another-site-collection-using-the-wcf-service?forum=sharepointcustomizationprevious
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • Defining read operation on External content type

    Hi,
    I have used SharePoint designer to connect create an external content type to the lists.asmx web service on another sharepoint farm. On attempting to generate a read operation, I receive the following error. Any idea of how to fix this? is there any way
    I can point to a single list as opposed to getting the methods for all the lists on the external sharepoint?
    BTW, I am currently pointing to https://<soourceurl>/_vti_bin/lists.asmx 
    thanks
    Sherazad
    Sherazad

    Hi,
    I found a similar issue for your reference:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/4bcc1cd9-a9d6-4171-87d9-c6749543749c/bcs-connecting-to-a-list-in-another-site-collection-using-the-wcf-service?forum=sharepointcustomizationprevious 
    Quote:
    We cannot use the Lists.asmx web service, because every method has parameters.
    Do you want to add/update/delete a list in from another site? If so, you can display the list in a data view web part using Lists.asmx and give the New Form/Edit Form’s URLs in the data view web part.
    For more information about how to create an external content type based on a web service:
    http://msdn.microsoft.com/en-us/library/office/ee556431(v=office.14).aspx
    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

  • External Content Typ: "Connection manager did not return valid connection."

    Hi,
    I created an external content typ in the sharepoint designer which takes my custom WCF Service as a data source. I sucessfully added all my required operations and created a new list based on the new content typ. At first I had a security issue which I got
    resolved by editing my BDC configuration in the Central Administration. Now I face a new issue. When I open my external list the BDC Service gives me the following error message:
    "Connection manager did not return valid connection."
    Has someone a solution for this kind of message?
    Thanks,
    Eric

    Hi,
       I got the same error "Connection manager did not return valid connection.". In the error log it shows
    09/17/2010 12:21:35.28  w3wp.exe (0x13FC)                        0x0F60 Business Connectivity Services Business Data                
     a5t8 Medium   Chose 'PassThrough' auth mode cb34d6ff-663a-4872-9022-21782a7be122
    09/17/2010 12:21:35.28  w3wp.exe (0x13FC)                        0x0F60 Business Connectivity Services Business Data                
     a5uo Medium   Initialized WcfSystemUtility for LobSystemInstance with Id '144'. cb34d6ff-663a-4872-9022-21782a7be122
    09/17/2010 12:21:35.28  w3wp.exe (0x13FC)                        0x0F60 Business Connectivity Services Business Data                
     a5up Medium   Wcf Service AuthN Mode: PassThrough  cb34d6ff-663a-4872-9022-21782a7be122
    09/17/2010 12:21:35.28  w3wp.exe (0x13FC)                        0x0F60 Business Connectivity Services Business Data                
     f8dk Medium   Checking for current connection to SystemInstance: NewCustomer cb34d6ff-663a-4872-9022-21782a7be122
    09/17/2010 12:21:35.28  w3wp.exe (0x13FC)                        0x0F60 Business Connectivity Services Business Data                
     a5s9 Medium   Creating ClientBase object with type : BCSServiceProxy.WCFCustomerClient cb34d6ff-663a-4872-9022-21782a7be122
    09/17/2010 12:21:35.29  w3wp.exe (0x13FC)                        0x0F60 Business Connectivity Services Business Data                
     a5tz Unexpected System.MissingMethodException: Method not found: 'Void Microsoft.BusinessData.SystemSpecific.Wcf.IBdcClientBase.set_ActAs(Boolean)'.     at Microsoft.SharePoint.BusinessData.SystemSpecific.Wcf.WcfConnectionManager.ConfigureCredentials(Type
    clientBaseType, Object clientBase)     at Microsoft.SharePoint.BusinessData.SystemSpecific.Wcf.WcfConnectionManager.CreateClientBase()     at Microsoft.SharePoint.BusinessData.SystemSpecific.Wcf.WcfConnectionManager.GetConnection()    
    at Microsoft.SharePoint.BusinessData.SystemSpecific.Wcf.WcfSystemUtility.ExecuteStatic(IMethodInstance methodInstance, ILobSystemInstance lobSystemInstance, Object[] args, IExecutionContext context) cb34d6ff-663a-4872-9022-21782a7be122
    Can you help me on this?
    Thanks in advance
    Thybu

  • 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! :)

  • Created column not showing in the Document Library View for a Custom Content Type based on Document

    We have a custom content type based of Document Content Type. The OOTB "Created" column does not show up in the view as well as in the Site Settings -> Columns.
    But it shows up in the Display Form and Edit Form of the Item at the bottom "Created at " by " " and "Modified by" at by ""
    Would anyone know how to make this column appear as part of the view ?
    thanks,
    Harsh

    Hi,
    They should by default be possible to add to a view. The only reason they would disappear from the UI if someone has changed the attribute of the Field to hidden = true. You can verify that with PowerShell and if so you can use PowerShell to revert the setting
    to false.
    $w = Get-SPWeb http://dev13$f = $w.Fields.GetFieldByInternalName("Created")$f.Hidden$f.Hidden = $false$f.Update()

  • Custom Content type based on "Link to a Document" does not open new folder in a dialog

    Hi,
       We have created a custom Content Type  based on "Link to a Document" (0x01010A) into a document library. When I use the New Document button on the ribbon, the "Link to a document" form appears on the same window, not as a dialog. If we
    use the "link to a document" content type it works fine.
      This issue occurs when creating the content type from the SharePoint UI as well as via XML (provisioning the content type).
       Is it a SharePoint bug or are we missing something?
    Thanks!
    Sergio

    Hi S3rgiones,
    I can reproduce your issue, when create a custom content type based on “Link to a Document” content type, create item using the content type, it will open the NewLink.aspx page in the same window not the modal dialog.
    In this situation, you can try to custom the content type and customize the form page for it, specify it in the content type customization, if this doesn’t work, you may need to custom the content type not inherit from the default link to
    a document, but customize it yourself.
    Thanks,
    Qiao Wei
    TechNet Community Support

  • Create BCS External Content Type or a list based on a WCF Web Service using Visual Studio

    Hi ,
    How to create a BCS External Content Type or a list Based on a WCF Web Service using Visual Studio.
    The link provided here shows the requirement through Designer. http://msdn.microsoft.com/en-us/library/office/ee556431(v=office.14).aspx but I want this to be through VS code..
    Please help ..Appreciate your help..
    Thanks,
    Satheesh

    HI Sateeshlt,
    You can see the below link also;
    http://www.fabiangwilliams.com/2013/10/14/part-2-of-3-blog-update-on-sharepoint-bcs-with-full-crud/
    Best Regards,
    Brij K

  • External content type error: Business Data Connectivity object not found.

    Hello
    I have to change the external database (external system) for an external content type. The database view on the new database is exactly the same as on the old database.
    After changing the external system of the external content type, this happens:
    When I try to add a new item to the list, I get this error under the external data field:
    "Business Data Connectivity object not found. Administrators, see the server log for more information."
    Also, when I try to update the external data field, it is not possible because the buttons are grey.
    When I add a new external data field to the same list, I can use the external content type. For some reason the current external data field doesn't update.
    Any ideas?
    Any help would be much appreciated!

    Have you implemented both ‘Read List’ & ‘Read Item’ operations in your ECT?
    This may be helpful -
    https://sharepointcreations.wordpress.com/2014/03/13/business-data-connectivity-object-not-found/
    Thanks
    Ganesh Jat [My Blog |
    LinkedIn | Twitter ]
    Please click 'Mark As Answer' if a post solves your problem or 'Vote As Helpful' if it was useful.

  • SP 2013 ECT - Created an External Content Type in SPD But Not Appearing in BCS

    Hello Community,
    I have created an External Content Type in SP Designer 2013, and the connection and operations all seem to work fine, but the ECT List throws an access error, and when I check the BCS Service Application the ECT doesn't even appear in the list.  Has
    anyone else ever seen this kind of problem and if so please brovide guidance and examples for resolving it.
    Thanks!
    Tom
    Tom Molskow - Senior SharePoint Architect - Microsoft Community Contributor 2011 and 2012 Award -
    Linked-In - SharePoint Gypsy

    Hi Tom,
    Have you created external content type from SharePoint designer 2013 successfully prevously?
    And was it displayed in BCS service applicaiton previously?
    Have you executed "External Content Type Operations" and saved it back successfully in SharPoint Designer like the following article?
    Please check if it is related to the permission issue by using SharePoint Farm Administrator account to create this external content type.
    If all above don't solve the issue, please check the ULS log for more information for troubleshooting when create the external content type.
    http://www.c-sharpcorner.com/UploadFile/anavijai/create-external-content-type-using-sharepoint-designer-2013/
    Thanks,
    Daniel Yang
    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]
    Daniel Yang
    TechNet Community Support

  • 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

  • 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

  • Can't create external content type

    Hi,
    I'm trying to create an ECT in Sharepoint Designer for my Office365 environment. I have an E3 license, so I should be alble to create one. I need it to create an external list from an Azure SQL DB.
    In Sharepoint designer, the button for a new ECT is available, but if I click the button nothing happens. I have an SSS-object with the credentials already.
    I do not know why the button is not reacting. Hope someone knows.
    Jordy

    Make Sure you have done all these steps before you start creating an external content type..
    Prepare SQL Server   A database administrator needs to provide permissions to make sure that that the right people have access to the data and that the data does not end up in the wrong hands. The database administrator must also
    create a SQL Server account that has db_owner permission. The database administrator might also want to create specific tables, views, queries, column aliases, and so on to limit the results to just what is needed and to help improve performance.
    Configure SharePoint services   An administrator must activate Business Connectivity Services (BCS) and the Secure Store Service.
    Configure the Secure Store service   An administrator must determine the best access mode for the external data source, create a target application, and set the credentials for the target application.
    Configure Business Data Connectivity Services   An administrator must make sure that the user who creates the external content type has permission to the Business Data Connectivity (BDC) metadata store and that appropriate users
    have access to the external content type on which the external list is based.
    Be sure Office 2013 is ready to use   To synchronize external data with Office 2013 products, you must use Windows 7 or a later version, and make sure that the Office installation option for Business Connectivity Services (BCS) is
    enabled (this is the default). This option installs the Business Connectivity Services Client Runtime which does the following: caches and synchronizes with external data, maps business data to external content types, displays the external item picker in Office
    products, and runs custom solutions inside Office products. You must also have SQL Server Compact 4.0, .NET Framework 4, and WCF Data Services 5.0 for OData V3 on each client computer (If necessary, you are automatically prompted to download the software).

Maybe you are looking for

  • Can't open iphoto after migration to new machine

    I just migrated from an older iMac to a new one, and now when I try to open iPhoto I get the message "You can't open your current photo library using this version of iPhoto".  I tried updating iPhoto on the new machine, but it seems to be up to date.

  • Scheduling agreement process doc

    Hi, can anybody share the Process Document/config doc for Procuing Materials from Supplier through ALE 1. Scheduling agreement created and IDoc tranfered to Supplier.At supplier end Sales Scheduling agreemenet created. 2. Maitain Delivery schedules a

  • E-mail error : SO_DOCUMENT_SEND_API1

    Hi, After running F110 transaction, spools are getting generated with Remittance Advises Notes which are using Scripts. Requriement is Take each spool and covert into PDF and send it to Vendor email id. Iam using FMs CONVERT_OTFSPOOLJOB_2_PDF and SO_

  • Xserve-RAID Password

    I recently bought and Xserve RAID on ebay. It has never been used except that the owner and started the process of naming and adding a password. He has since forgotten the password and I cannot get into set up the RAID. Is there any way to re format

  • Safari not working yoesmite

    ever since I updated from mavericks to yosemite safari isnt working at all