Register now or log in to join your professional community.
If you have a stand-alone web application that needs to retrieve some data from a Sharepoint database, for example, pass in a product Id and get back all product details, what would be the best approach?
Retrieving data from SharePoint DB directly is not recommended, client object model is the best of what you can do
It depends upon the version of the .net platform you are developing the application on. If the platform <3.5, then you can use SharePoint dll to get the item. An added advantage here is that the dll gives you the option to convert the SharePoint lists items retrieved into a DataTable which is very useful in case of data binding eg. repeaters, gridviews
You can also use Webservice to get the data in XML format and then parse it according to your requirements.
Get satisfied with the results SharePoint Database Repair software carries out very strong process of recovery in easy and simple way. The entire process of recovery and repairing basically consists of two powerful modules of recovery – Live SQL and Raw File Recovery. Both of them are very powerful and work according to situations differently. With SharePoint Database Repair Tool free trial version, you can check all the important features of this tool along with its performance of this tool at once.
You can use the foll. methods depending upon your requirement:-
Server object model
Managed Client object model
Javascript object model
REST API
PowersShell
There are different ways to get the data based on product ID:
1) CSOM/JSOM Code
2) SSOM(Server Side Object Model ): Deployment needed