I want to try to access an external SQL Server 2012 database on a SharePoint 2010 site, using javascript. I found one really interesting, good blog post about it online, but the link to the example code was missing. Drat.

Another example I found relied heavily on the Business Data Connectivity services... but that does not seem to be available on this site. Drat, too.

Does anyone know of a good book or site for what I propose?



Using javascript to retrieve the database value is not a good practise. The best way is to use WebServices and use can retrieve the value through javascript.


You would be better off using SharePoint designer and creating a datasource that connects to the database and then create a dataview based off that part.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.