OK – you’ve created that great new ASPX page on your site (using SharePoint Designer 2010), and when you preview the page in the browser, you noticed that it doesn’t have a master and it doesn’t match your existing site. Well, it’s not that hard to make it happen, after all.
If you’re having problems running SharePoint Manager 2010 (specifically if you keep getting an invalid 32 bit application error), try running it as ‘Administrator’. That should help the problems. Not familiar with SPM2010? Check it out (it’s free): http://spm.codeplex.com/
If you are running SharePoint, (even if you’re administrator on the box), and you get an ‘Access Denied’ message when you run the ‘STSADM’ console application, try changing the Command Prompt so that it runs as Administrator.
First off, we need to explain what CAML stands for – – Collaborative Application Markup Language. It’s an XML based query language in order to perform a query operation against data in SharePoint.
In order to get a reference to a particular list in Sharepoint, here’s the code to do so (let’s assume your the list name is ‘Customers’): SPList MyList = SPContext.Current.Web.Lists[“Customers”];
Here’s the code needed (C#) to iterate through the lists collection in a web application, and display them on a page, using a literal control for each one.
Two of the most common scopes used for features are ‘Site’ and ‘Web’. When using the ‘Web’ scope, the feature can be used anywhere in the Web application. If, instead you are using the ‘Site’ scope, the feature is only available in the particular Site Collection in which it’s installed.
There is a movement now, to, instead of calling it the 12 Hive, which is based on a specific folder ’12’ (or in the case of SharePoint 2010 – ’14’), it’s becoming generally accepted that we should now call it the ‘SharePoint Root folder’.
REST (the initials) stand for : Representational State Transfer. REST is a service API which allows you to access services and data from various clients. To do this, you would specify a URL to some item, like a web page with xml in it, and get that item back, via an HTP ‘GET’ request, and […]
When you create a new view in SP 2010, to access that new view, look in the breadcrumb? on that page. Just to the right of the list/library/discussion where you are located, there is a small arrow pointing down. You can find the view you created there when you click it.
All Things DotNet Discussed – Winforms/ASP.Net/SharePoint/WPF