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

Similar Messages

  • 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

  • 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

  • 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

  • Meaning of "Map To Identifier " while creating an External Content Type

    In SharePoint 2010 Desginer, I created an External Content Type that retrieves data from a VIEW in SQL Server. In the wizard, I see "Map To Identifier." What is the purpose of that. I want to understand the meaning of Map To Identifier? Thank you.
    Mayank

    Hi Mayank,
    When we create database-based external content type, we could map the data source element to an identifier of the related external content type as input to the association.
    In the Data Source Elements pane on the left side, select the data source element in the list. In the
    Properties pane on the right side, select the Map to Identifier check box. In the
    Identifier list, select the appropriate identifier.
    The database object name is referred to as its identifier. An object identifier is created when the object is defined. The identifier is then used to reference the object.
     http://msdn.microsoft.com/en-IN/library/ms175874.aspx
    We map the field of the external content type to the identifier of the external content type.
    http://msdn.microsoft.com/en-us/library/office/ee558417(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

  • 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.

  • 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

  • Error while creating an external content type using wcf service.

    Hi!
      I have been asked to create a wcf service to expose sql data and populate them in a list using external content type.i have created the service but while creating the content type it gives me error. Can anyone suggest me about which url should
    be used in service metadata url and service endpoint url.
    Thanks in advance.

    You can refer these links, may be helpful
    https://msdn.microsoft.com/en-us/library/office/jj163810.aspx
    https://msdn.microsoft.com/en-us/library/office/gg318615(v=office.14).aspx
    http://www.dotnetcurry.com/showarticle.aspx?ID=799
    http://www.c-sharpcorner.com/UploadFile/Roji.Joy/connecting-to-a-web-service-using-business-connectivity-serv/
    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.

  • Content type problem for 'does not appear to be a proper arcive'

    Hi all,
    The following code will create a ZipOutputStream using ByteArrayOutputStream (not FileOutputStream) and attach the outputstream to a MIME multipart email using ByteArrayDataSource (so the file never exists physically).
    It works and sends the email but the zip 'does not appear to be a valid archive' even though it looks about the right size. If I do the same and use FileOutputStream to create a physical file it works OK. I think it is an issue with the content type, or maybe this just isn't possible!
    I have tried:
    byteArray.toByteArray(),
    byteArray.toString().getBytes() and application/zip & application/unknown.
    Can anyone help or suggest an alternative way to create a 'in-memory' zip file that can then be emailed?
    Many thanks
        // Specify files to be zipped
                                                                 String[] filesToZip = new String[3];
                                                                 filesToZip[0] = "C:\\Program Files\\NetBeans3.6\\firstfile.txt";
                                                                 filesToZip[1] = "C:\\Program Files\\NetBeans3.6\\secondfile.txt";
                                                                 filesToZip[2] = "C:\\Program Files\\NetBeans3.6\\thirdfile.txt";
                                                                 byte[] buffer = new byte[18024];
                                                                 // Specify zip file name
                                                                  String zipFileName= eq_rt.getReportName() + ".zip";
                                                                 try {
                                                                   // Create ZipOutputStream to store the FileOutputStream
                                                                   //ZipOutputStream out = new ZipOutputStream(new FileOutputStream(zipFileName));
                                                                   ByteArrayOutputStream byteArray = new ByteArrayOutputStream();                                                             
                                                                   ZipOutputStream out = new ZipOutputStream(byteArray);                                                              
                                                                   // Set the compression ratio
                                                                   out.setLevel(Deflater.DEFAULT_COMPRESSION);
                                                                   // iterate through the array of files, adding each to the zip file
                                                                   for (int a = 0; a < filesToZip.length; a++) {
                                                                     System.out.println(a);
    //                                                                 // Associate a file input stream for the current file
                                                                     FileInputStream in = new FileInputStream(filesToZip[a]);
                                                                     // This ROCKS as it is passing a array into the text file .getBytes() seems
                                                                     // to be the KEY in getting ByteArrayInputStream to WORK
                                                                     String strSocketInput = "TAIWAN";
                                                                     ByteArrayInputStream baIn = new ByteArrayInputStream(strSocketInput.getBytes());
                                                                     //ByteArrayInputStream baIn = new ByteArrayInputStream( getAttachementNoFormat(eq_rt.getStoredProc() ) );                                                               
                                                                     // Add ZIP entry to output stream.
                                                                     out.putNextEntry(new ZipEntry(filesToZip[a]));
                                                                     // Transfer bytes from the current file to the ZIP file
                                                                     int len;
                                                                     while ((len = baIn.read(buffer)) > 0)
                                                                     out.write(buffer, 0, len);
                                                                     // Close the current entry
                                                                     out.closeEntry();
                                                                     // Close the current file input stream
                                                                     baIn.close();                                                   
                                                                  // DataSource sourcezip = new FileDataSource(zipFileName);
                                                                   //DataSource sourcezip = new ByteArrayDataSource(byteArray.toByteArray(), zipFileName, "application/octet-stream");   
                                                                    DataSource sourcezip = new ByteArrayDataSource(byteArray.toByteArray(), zipFileName, "application/octet-stream" );
                                                                   // Create a new MIME bodypart
                                                                   BodyPart attachment = new MimeBodyPart();
                                                                   attachment.setDataHandler(new DataHandler(sourcezip));
                                                                   attachment.setFileName(zipFileName);                       
                                                                   /* attach the attachemnts to the mail */
                                                                   multipart.addBodyPart(attachment);                                                                
                                                                   // Close the ZipOutPutStream
                                                                   out.close(); 

    Many thanks Dr Clap. Moving the Closing the ZipOutputStream before I attached it to the email solved my problem.
                                          /* Close the ZipOutPutStream (very important to close the zip before you attach it to the email) Thanks DrClap */
                                                                    out.close();                                                    
                                                                    /* Create a datasource for email attachment */
                                                                    // DataSource sourcezip = new FileDataSource(zipFileName);
                                                                    DataSource sourcezip = new ByteArrayDataSource(byteArray.toByteArray(), zipFileName, "application/zip" );
                                                                    /* Create a new MIME bodypart */
                                                                    BodyPart attachment = new MimeBodyPart();
                                                                    attachment.setDataHandler(new DataHandler(sourcezip));
                                                                    attachment.setFileName(zipFileName);                       
                                                                    /* attach the attachemnts to the mail */
                                                                    multipart.addBodyPart(attachment);  

  • Using the External Content Type as a column lookup

    Hi.
    I am working on a solution that will get data from a web service (third party) and create a list in SharePoint Online (Office365 E3 subscription). The use a column from that list as a lookup column for another list. The reason for this is to allow updates
    on the third party data source to update the list in Office 365.
    Using SPD 2013, I created that external content type then created the list. However, due to the limitations on BCS (which I just learned after googling it) that the only thing I can use from this column is the ID column.
    Has anyone found a work around on the matter? I was thinking of just creating a list app then load the bcs data to it. My problem will be how to update the list every so often.
    Thanks!
    Robert
    Outsource Trainer

    Hi,
    According to your post, my understanding is that you want to use the External Content Type as a column lookup.
    Per my knowleage, you can select all the columns in the external list.
    You can create a lookup column in the list as below:
    If you select Name, then you can get the Name column as below:
    There is an article for your reference, although it is about the SharePoint 2010, it still works for SharePoint Online 2013.
    Creating SharePoint lookups which get their data from a lookup
    table in SQL (using SharePoint Designer, BCS and External Content Types)
    More information:
    Make an External List from a SQL Azure table
    with Business Connectivity Services and Secure Store - SharePoint Online for enterprises
    Thanks,
    Linda Li                
    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]
    Linda 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

  • 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).

  • Problems when trying to return information for External Content Types in Sharepoint 2013

    This is my first post on the forum, until I tried on this problem but have not found anything.
    When trying to return the information from the external content displays the following error:
    Error retrieving data from mill. Administrators: query the server log for more information.
    I do not know what else to do...

    Hi,
    According to your post, my understanding is that you got an error when tried to return the information from the external content.
    Did the error occur when you created a new external content type or created a external list?
    You can check the steps with the following articles about how to create a external content type.
    http://lightningtools.com/bcs/creating-an-external-content-type-with-sharepoint-designer-2013/
    http://wyldesharepoint.blogspot.in/2012/12/sharepoint-2013-setting-up-external.html
    If the error occurred with the external list, you can check the steps with the following article.
    http://community.bamboosolutions.com/blogs/sharepoint-2013/archive/2013/01/08/how-to-create-external-data-column-in-sharepoint-2013.aspx
    You can also check the event log and ULS log to see if anything unexpected occurred.
    For SharePoint 2013, by default, ULS log is at      
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Text Fields of an External Content Type come across as Multiple Line of Text

    In SharePoint 2013 I have an external content type that consists of a couple of short (nvarchar)  fields (no more that 15 characters). When I use this ECT in a custom list the fields from the ECT end up as a "Note" type instead of "Text".
    I am not sure how this happens. I have verified this by accessing the list via poweshell where I see the Type being as "Note" and also the SchemaXml showing the colName attribute as "ntext".
    The strange thing is that initially when I created the web application and built my lists this was working.
    Any ideas or pointers would be appreciated.
    Thanks

    Hi,
    Based on your description, my understanding is that When you use the ECT in a custom list the fields from the ECT end up as a "Note" type instead of "Text".
    Have you ever changed column types from "Single line of text" to "Multiple Lines of Text" in list?http://www.sharepointdiary.com/2013/09/change-column-type-in-list-using-powershell.html
    External content types are made up of fields whose types are a subset of the primitive types of .NET. For each such .NET type, a rudimentary mapping to SharePoint’s field controls exists, describing a field’s visual appearance. Fields of type string for
    instance will, on the new and edit forms, render as a single-line text field.
    Besides, check whether the following link is useful:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/0fcb5a9f-8445-4a37-9e60-ac5e9e14e8f1/sharepoint-designer-external-content-type-shows-single-line-text?forum=sharepointgeneralprevious
    Best Regards,
    Lisa Chen
    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]
    Lisa Chen
    TechNet Community Support

  • 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

Maybe you are looking for