Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » C#   (RSS)

Fastest way to create a list schema

Feeling frustrated, feeling like you can't make to the deadline, million lists schemas to create and so much other things to do.. Sounds familiar? Well.. Some of the people i've talked with does not recognize this method most of the time (yep, making

How to access fields in a listitem through object model?

  In a nutshell : SPContext .Current.Web.Lists[ "Documents" ].Items[0][ "Title" ].ToString();
Posted by jukka | 1 Comments

Locale & variations

Today i was figuring out how to detect which locale is in use on a site with variation labels. Here's a little codeblock to demonstrate it: // code in assembly Microsoft.SharePoint.Publishing PublishingWeb pWeb = PublishingWeb.GetPublishingWeb(SPContext.Current.Web);
Posted by jukka | 0 Comments
Filed under: ,
 
Page view tracker