SharePoint list data can be accessed in custom applications in C# without using SharePoint Object Model or Web Services. The list data can be retrieved as XML using a specific URL to the list (even using a web browser). This is described in this post. This URL can be requested from within the custom code [...]
Archive for the ‘Programming’ Category
Programmatically Accessing SharePoint List XML Data in C# Code
Posted in Programming, SharePoint, SharePoint 2010, tagged C#, SharePoint Development on December 20, 2011 | 2 Comments »
SharePoint List Data as XML
Posted in Programming, SharePoint, SharePoint 2010, tagged SharePoint Development on December 20, 2011 | 1 Comment »
Getting data as XML from a SharePoint List or Library is very helpful when we need to use the data in a custom application (developed using a programming language like C#) or in InfoPath forms. The data from a SharePoint list can be retrieved in XML format by using the following URL: <your site URL>/_vti_bin/owssvr.dll?Cmd=Display&List={<list [...]
“The Web application at <url> could not be found” – Error with Visual Studio Custom Applications which uses SharePoint 2010 Object Model
Posted in Programming, SharePoint 2010, tagged SharePoint Development; SharePiont Object Model on December 9, 2011 | Leave a Comment »
Most of us might have seen this error while creating a custom application (console application, Windows application or custom web part) using Visual Studio targeting for SharePoint 2010. It’s not just this specific error but a lot of other weird error messages without any reason. The above error occurs when we create a new SPSite [...]
SharePoint Tip: Best Timer Job is a Dumb Timer Job
Posted in Programming, SharePoint, SharePoint 2010, tagged SharePoint Development, Timer Jobs on June 13, 2011 | Leave a Comment »
Just came across this tip provided by Eric Gregorich from Secrets of SharePoint. It says “best timer job is a dub timer job”. What this means is, whenever you have to develop a SharePoint timer job which performs heavy tasks, extract the logic into another services that does the heavy tasks. This could be implemented [...]