Is it possible to to use SQlite database as an External Content type?
Hi guys,
I need some help in accessing data from an external database(SQlite) and use it in sharepoint 2010. I have a list in sharepoint 2010 but some of the fields must come from SQlite database. Whenever the list is updated, the corresponding
fields from SQlite database should also be updated.
I've been looking on some examples on using external content types but I've only encountered examples using SQL server. I'm new to sharepoint 2010 and I have little idea to get this done. Can someone kindly assist me on this?
Thank you very much.
Regards,
Peter
Hi Peter,
SharePoint is designed to use Business Connectivity Services when talking to external data sources.
The Microsoft Business Connectivity Services (BCS) can connect to external data from the following types of databases:
Microsoft SQL Server
Oracle
OLE DB
ODBC
So you may connect to SQLite through ODBC. Take a look at this example how to connect to MySQL through ODBC
Connecting MySQL using BCS. You may create an External Content Type for SQLite the same way.
Dmitry
Lightning Tools Check
out our SharePoint tools and web parts |
Lightning Tools Blog | Мой Блог
Similar Messages
-
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 TrainerHi,
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 -
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) -
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
adilWhen 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 Using SQL
I’m trying to setup an external content type using just SharePoint designer.
I will need to be able to show other individual within the organization how to create these content types so getting it to work with just SharePoint designer is the goal.
No Programming involved please.
Abbreviated Steps I have taken
The account that we will use to connect to 2012 SQL server has been created and the correct permissions have been granted to the database.
The secure store service account has been created and setup
Go into SharePoint designer 2010 to create the external content type using
Impersonated Custom Identity and inputting in the username and password that was setup in SQL server and added to the secure store credentials for the secure store service. I receive error cannot login with the provided credentials.
I have searched the web trying to correct this issue and cannot find anything that will assist.
Everything either shows you to connect with windows identity (not an option) or breezes past this issue.To connect as an impersonated custom identity you have to:
1. Be sure SQL login on SQL Server uses SQL authentication
(not Windows one!)
2. Create target application in Secure Store with:
a. Target app type - "Group"
b. Field types - Username and
Password
3. Don't forget to grant required permission to a new Traget Application.
Here is a good guide (look at steps 4-8):
http://lightningtools.com/bcs_meta_man/sharepoint-2010-secure-store-service-and-oracle/ -
Connect to MS Access using External Content Type
I am trying to establish connection to an Access 2013 DB from SharePoint 2013 Designer.
I am in External Content Type. My database is on local drive. When I click on Add Connection, I have the following choices,
.Net Type
SQL Server
WCF Service
Which one shall I choose for access. What would be the Database Server. The database is local.
Thanks
MayankHi Mayank,
If you want to use ECT to display the data of the Access database, per my knowledge, you need to import the Access database table into SQL server, then use to ECT to connect to the SQL server table.
More information about importing an Access database table into SQL server, you can refer to the link:
http://www.fmsinc.com/microsoftaccess/sqlserverupsizing/importing/Import_Access_DB.asp
Best Regards,
Wendy
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] -
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 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 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 -
Assigning External content type field column value using Client Object Model
I have a problem assinging External column value to ListItem object with client object model-based application I'm developing. To be precise, I am able to retrieve data related to external content type by reading external list created from this content type
but I don't know how to properly use it to assign value to this field. By doing some research on my own I concluded that BDC ID column from external list is the way to go since it uniquely defines selected row from external list but that doesn't
tell me much since I don't know what to do with it. Currently I ended up with partial solution - to assign plain string value of picker column but that makes this value visible only in "View Properties" option on Sharepoint and not in "Edit Properties"
which pritty much makes sence since it isn't properly related to rest of the data in specific row. Does someone have a better solution for this?
Igor S.I think I understand your problem.
In my example I have an external data column "Beneficiary Name", using a Beneficiary external content type (accessing a table of beneficiaries in a SQL table).
I want to set the "Beneficiary Name" property using the client object model. I know the name of the beneficiary but not the ID value.
It is a fairly simple solution. You just need to identify the name of the property SharePoint assigns to the ID field, in my case it is called "Beneficiary_ID". Then set the two properties as follows:
thisItem["Beneficiary_Name"] = "Charitable Trust";
thisItem["Beneficiary_ID"] = -1;
thisItem.Update();
Setting the ID property to -1 causes the server to do an automatic lookup for the ID from the value assigned to the item. -
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 -
BCS External Content Type using Stored Procedure with parameter
I have a requirement wherein I will be using External Content Type (BCS) using a Stored Procedure.
The stored procedure has parameters.
I have set up Read List and Read Item
However, when I visited my list, I cannot enter any parameter.
Can you show me a guide on how to configure this with parameters?
Thanks!
----------------------- Sharepoint NewbieHi,
Here are the references for creating an External Content Type to support Read List and Read Item operations:
http://troyscott.ca/2010/07/02/creating-an-external-content-type-in-sharepoint-2010/
https://msdn.microsoft.com/en-us/library/office/ff728816(v=office.14).aspx
Regards,
Rebecca Tu
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] -
SOAP adapter Using XI 3.0 error: invalid content type for SOAP: TEXT/HTML
Hi All,
I have the scenario to send a message to proxy via SOAP adapter . My PI server is 7.3 and my BI application server also 7.3. I have created service interface in the ESR and created the ABAP proxy in the Application server. Im using the receiver SOAP adapter with message protocol as XI 3.0. Am running this scenario in the central adapter engine. (That is i didnt create integrated configuration). I am facing the issue in the receiver SOAP channel as 'invalid content type for SOAP: TEXT/HTML: 401 Unauthorized'. But i can able to login into the URL which is given in the channel using the username and password used in the channel.
Can you please let me know if any addtional settings need to be done in PI side.
Regards,
Ramalakshmi.GHi,
Thanks for your reply. I have done my scenario with the integration configuration. Still i am facing the same issue " SOAP: TEXT/HTML; HTTP 401 Unauthorized". I have given the correct URL, username and password. Is this enough to connect to the receiver integration server from AE. Any settings need to be do in the receiver ABAP system and PI system. If so please share the corressponding note for the same. What should be the role is assigned to the userid given in the channel.
I have used sproxy to create the proxy in the receiver ABAP system. In PI i am using the SOAP adapter with XI 3.0 ,message protocol to call to this proxy. I have not done any settings in any of the servers. Do i need to do any settings.
Regards,
Ramalakshmi.G -
Mobile App Best Practice When Using SQLite Database
Hello,
I have a mobile app that has several views.
Each view calls a different method of a Database custom class that basically returns the array from a synchronous execute call.
So, each view has a creationComplete handler in which I have something like this:
var db:Database=new Database();
var connectResponse:Object=db.connect('path-to-database');
if(connectResponse.allOK)//allOK is true if connection was succesful
//Do stuff with data
else
//Present error notice
However this seems reduntant. Is it OK to do this once (connect the the database) in the Main Application file?
The do something like FlexGlobals.topLevelApplication.db?
And even generally speaking, constants and other things that I would need throughout the app, can be placed in the main app? As a best practice, not technically as technically it is possible.
Thank you.no, I only connect it once
I figured I wanted several views to use it so made it static and singleton as I only have 1 database
I actually use synchronous calls but there is a sync with remote mysql database function, hence the eventdispatcher
... although I am thinking it might be better to use Async and dispatch a custom event and have the relative views subscribe -
HELP Using Oracle9i database to consume external Web Service
Hi all,
I am trying to make use Oracle9i db to call an external .Net Web Service from a JAva Stored Procedure.
I created the .Net Web Service and use JDeveloper 9.0.3.4Build(1247) to create the Client Stub Java class(ie: serviceClientStub.java).
Following the instruction from the article"Calling External Web Service from Java Stored Procedure, http://otn.oracle.com/sample_code/tech/java/jsp/samples/wsclient/Readme.html, I connected to the database using SQL Navigator4.3 tried to load the required jar files(with Create public synonym and Resolve option checked) into Oracle9i database(ver 9.2.0.1.0). They are loaded in the following order:
[OC4J_HOME]/soap/lib/soap.jar
[OC4J_HOME]/lib/dms.jar
[OC4J_HOME]/jlib/javax-ssl-1_1.jar
[ORACLE_HOME]/lib/servlet.jar
[OC4J_HOME]/jdk/jre/lib/ext/mail.jar
Where [OC4J_HOME] refers to Oc4j_extended that I downloaded from Oracle website.
[ORACLE_HOME] refers to oracle/ora90
However, most of the java classes failed to compiled. When I loaded the Client Stub class, it failed to compile as well.
This is the error message that I got:
ORA-29521: referenced name javax/mail/Flags could not be found
ORA-29521: referenced name javax/mail/MessageException could not be found
ORA-29521: referenced name javax/mail/MethodNotSupportedException could not be found
Any ideas how to resolve these issues?
Also, besides using the Client Soap stack library(above method), is there another way to be able to load the Client Stub class in the database, have it compiled successfully?
Your assistance will be highly appreciated!As far as I can see, you're at least missing activation.jar. Without this library you won't be able to successfully load the mail.jar library.
Maybe you are looking for
-
Validation at the network level
Hi Experts, I am doing the validation for the network at the header level for the resposible cost center field. I am giving Prerequiest as Req.cost center = 'X' Check as i am not entering anything in the check condition Message I am entering
-
How to maintain payment term descriptioin in other languages in TVZBT table
Hi all, i have to maintain the payment terms in different language. For that, i am updating the table TVZBT by using TCODE SE63 in development sys. it has not asked any change request.but table is updated . so i can not move the changes to production
-
Why did my Acrobat 9 stop being able to create PDFs from files?
Howdy folks- my first foray here. I have a copy of acrobat pro 9 which I installed and used uneventfully for the last few years (windows 7). I hadn't used it in the last few months. Yesterday when I tried to create a new PDF from file (word doc, per
-
Inserting an image from an URL in a BLOB
Hello all, As it's said in the title, I need a PL/SQL procedure to insert a image from web URL in a BLOB table column. How can I do that? Thanks in advance for your help. Max
-
How to increase column width in Table Maintanance (SE56)
Hi, Can somebody tell me how I can adjust the column width permanently in SE56, so that when I use SM30 to enter data, the columns correctly adjusted. Thanks, mini