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
Similar Messages
-
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,
PradeepHi,
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 -
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. -
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.
ThanksHi 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 -
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.
"The server was unavle to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetails (either from ServiceBehaviorAttribute or from the <serverDebug> configuration behavior) on
th server in order................................"
Can anyone suggest some help.
Thanks..Hi,
Based on your description, you encountered the error when you create the content type.
You can turn on IncludeExceptionDetails or use Service Trace Viewer Tool to see the details about the error.
There is a similar case:
http://stackoverflow.com/questions/14217700/the-server-was-unable-to-process-the-request-due-to-an-internal-error-in-wcf-er
The article below is about how to use the Service Trace Viewer Tool to help you analyze diagnostic traces that are generated by WCF.
https://msdn.microsoft.com/en-us/library/ms732023.aspx
The articles below are about how to turn on IncludeExceptionDetails
http://stackoverflow.com/questions/8315633/turn-on-includeexceptiondetailinfaults-either-from-servicebehaviorattribute-or
http://stackoverflow.com/questions/2483178/set-includeexceptiondetailinfaults-to-true-in-code-for-wcf
The article is about how to build WCF Web Services for SharePoint 2010 Business Connectivity Services
https://msdn.microsoft.com/en-us/library/office/gg318615(v=office.14).aspx
Best regards
Sara Fan
TechNet Community Support -
Choose a content type when creating a new list item
Hi,
I would like to know if there is a way how to change the "New" link in a SharePoint list.
Problem:
I have a list with free content types. If I click an existing item a form appears where I can change the content type. But if I create a new item by click the "New" link (directly to the link, not to the little arrow), I am automaticly creating the default content type (the first one).
This is confusing for users. Can I change it so a user can choose a content type after he or she clicks the "New" link?
Thanks for any advice.Hiya,
I have a solution!
If you have three set content types for a list, rather than encouraging people to click the arrow by the new button put three links on a new page that link to the new form for each content type.
<a href="http://site/Lists/test/NewForm.aspx?ContentTypeId=CONTENTTYPEID1">Create a new item with content type 1</a>
<a href="http://site/Lists/test/NewForm.aspx?ContentTypeId=CONTENTTYPEID2">Create a new item with content type 2</a>
<a href="http://site/Lists/test/NewForm.aspx?ContentTypeId=CONTENTTYPEID3">Create a new item with content type 3</a>
The main problem with this is that if you add new content types to the list, you have to add new links to the page.
Mike
The only thing I would add is that, the content type ID is a number (1, 2, 3.....) based on the order that the content types were added to the SP list. -
External Content Type (BCS) with a dropdown column choices from a different table
I want to create an ECT with Create/Update method using SPD.
The dropdown choices should be also from another table in the database.
How can I achieve this?
----------------------- Sharepoint NewbieHi,
It is not supported to create External Content Type with a dropdown column by OOTB.
For a workaround, you can use Custom Field Controls and jQuery to add
Drop Down List to External List Form.
Please take a look at this article
SP 2010: Customizing the forms for External Lists (BCS) in SharePoint 2010 by using Custom Field Controls and jQuery
Reference:
https://social.technet.microsoft.com/Forums/office/en-US/61ffb8a0-af16-4104-94f9-255ea1b8bdf0/dropdown-from-external-content-type?forum=sharepointcustomizationprevious
Best Regards,
Eric
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Can I define more than one table in one External Content Type
Hello,
I am new to the BCS development using SharePoint Designer 2010. I tried to create multiple SQL tables by referring to the same External Content Type with no success. Since the External Content Type shows all my SQL tables in the same database,
I though it would allow me to create a different list on another table from the same database. Is this possible?
When I tried to use the same External Content Type for the second table, it refers back to the first table identifier unless I create another External Content Type refer to the same database but point to the different table.
Please advise,
Brian.
BrianAs far as I know you can only use one table per external content type.
Please ensure that you mark a question as Answered once you receive a satisfactory response. -
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 -
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? -
Setting up an external content type without having to change it to NTLM authentication?
Referring to: https://www.kenplaysviola.com/content/sharepoint2010-business-connectivity-path-unavailable
and tested to be true. However, I have a site that I am not using NTLM - is there a way around this???Hi,
Based on your description, my understanding is that you can’t
set up an external content type with Basic authentication web application.
What errors have you got?
I have done a test in my SharePoint, when I opened Basic authentication site with SharePoint Designer, I got an error
”Access to this web server is disabled by default because it is controlled by basic authentication and doesn't use SSL…”.
But I could create an External List in the Basic authentication site successfully. I set up an external content type with NTLM authentication site. Then I created an External List in the Basic authentication
site which referred to the existing external content type, it worked fine.
So if you don’t want to change your web Application to NTLM authentication, try to create another web Application with NTLM authentication, then create a site collection and create an external content type,
last create an External List in the Basic authentication site referring to the existed external content type in NTLM authentication site.
Also, here is a blog about
Access denied by Business Data Connectivity, you can take a look at:
http://blogs.msdn.com/b/ericwhite/archive/2010/06/11/access-denied-by-business-data-connectivity.aspx
Best Regards,
Lisa Chen -
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,
SatheeshHI 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 -
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
SherazadHi,
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 -
Restore SharePoint Database to new server - What to do about external content type?
I currently run SharePoint 2010 and have a content database back-up which I want to restore to a new server.
I was able to restore to a new server and everything seems to be working, except that I have one list in my previous site which had an external content type in it linking to a database for our ERP system. The ERP system's database will also be located on
the new server (same as the new location for the content database). How do I link the external content type from my list to the new location of the ERP database?
One thing which I've tried is to create a new BDC and set up a new external content type within the list. That seems to point to the new location just fine, except that I would have to remap all every single item in the list individually.
Any help would be appreciated.You will need to modify your BCS Model to reflect the new location of your ERP database. Another option is to use SQL Aliases, which will allow SharePoint to think the new location is still by the old name.
http://mmman.itgroove.net/2012/07/setting-up-a-sql-server-alias-with-sharepoint-server-2010/
This is assuming that you are retiring the old database server.
Dimitri Ayrapetov (MCSE: SharePoint) -
Managing External Content Types - make it read only?
I have a simple SharePoint list with an External Data column. When I edit item where the corresponding data was removed from the External Content Type I get this error:
No exact match was found. Click the item(s) that did not resolve for more options. You can also use Select button to
choose External Data.
I assume this is by design and I cannot delete underlying data and keep the value in the list - is this correct?
So my question now - is it possible to keep that info in the external list but disable in a picker so new records cannot be created with that particular value? How do I do it?
Thanks,I don't understand the question exactly, could you restate it. Sorry mate, I might just be braindead.
But, as far as the issue, it is by design. the column is a lookup columns which essentially ties to the external data. if that data is removed, the column on your simple list becomes invalid and any edits of the simple list item will require
it to be changed.
are you wanting to make the ECT read only? that's simple enough. you can pop open SPD and edit the ECT, then remove the C/E/D operations (create/update/delete). That will not, however make it read-only in any other systems that access that
external data, as I assume its not just SP or else it wouldn't be external
Christopher Webb | MCM: SharePoint 2010 | MCSM: SharePoint Charter | MCT | http://christophermichaelwebb.com
Maybe you are looking for
-
Problem with rendering my project
Hello, today I tried to render my latest project in Premiere Pro CS6 to upload it to youtube. With an estimated file size of ~2 Gigabytes I started the rendering process and waited for it to finish (about 50 minutes). After it had finished with rend
-
Date filter not reading dates correctly
I've noticed that since Bridge CS5 came out, the filter on date is not working correctly. For example,I'm looking at a series of images that I captured today (Sept 7th), and the date shown in the metadata panel of Bridge ays "Today". Yet, the Filter
-
Where to find sensor values in Enterprise Manager
Hi, I followed the instruction from (http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/bp_sensors.htm) to add sensors to my BPEL process. Where do I navigate to find the sensor values in Enterprise Manager? I also notice in SOA Com
-
Is iCloud working today?
Is iCloud working today? I can't see my items that are in the iCloud.
-
Frequently transfering databases between MS SQL and Oracle
Hello all, I am looking for a solution to easily, efficiently and be able to migrate/transfer databases between MS SQL and Oracle frequently. I need to be able to replicate a databases on Ms SQL and Oracle for testing purposes. I will need to do this