Category Archives: Sharepoint 2010 Server Object Model

Sharepoint 2010 for Developers


http://www.youtube.com/watch?v=YU9yRKTowck&feature=player_embedded#!

Posted in Sharepoint 2010 Server Object Model | Leave a comment

Set Custom Master Page for All subsites using Poweshell Command


Set Custom Master Page for All subsites using Poweshell Command Set Custom Master Page for All subsites $site = Get-SPSite http://serverurl/ $site | Get-SPWeb -limit ALL | ForEach-Object {$_.MasterURL =  “/_catalogs/masterpage/custom.master”;$_.Update()} $site.Dispose() PS C:\Users\Triad> Get-SPWeb -identity http://serverurl/ | Format-T able … Continue reading

Posted in Sharepoint 2010 Server Object Model | Leave a comment

HTTP Error 403.14 – Forbidden The Web server is configured to not list the contents of this directory.


HTTP Error 403.14 – Forbidden The Web server is configured to not list the contents of this directory. http://www.smallworkarounds.net/2010/01/http-error-40314-forbidden-web-server.html Today i face the exact issue this solution works for me… 🙂

Posted in Sharepoint 2010 Server Object Model | Leave a comment

SharePoint 2010 Content Type Publishing


SharePoint 2010 Content Type Publishing http://www.chakkaradeep.com/post/SharePoint-2010-Content-Type-Hubs-e28093-Publish-and-Subscribe-to-Content-Types.aspx http://blog.furuknap.net/sharepoint-2010-content-type-publishing

Posted in Sharepoint 2010 Server Object Model | Leave a comment

Custom Development in SharePoint 2010


Custom Development in SharePoint 2010 Create Custom List Definitions in SharePoint 2010 http://msdn.microsoft.com/en-us/library/ff728096.aspx Create Custom Content Types in SharePoint 2010 http://msdn.microsoft.com/en-us/library/ff630942.aspx Create a Custom Field, Content Type, List Definition, and List Instance http://msdn.microsoft.com/en-us/library/ee231593.aspx Work with the SharePoint 2010 Ribbon User … Continue reading

More Galleries | Leave a comment

DateTime Format Example


Date Formatted Based on Culture Example using System; using System.Globalization; namespace DateTimeFormatExample { class Program {     static void Main(string[] args) {       //This example is going to show how to format // a date for several cultures. We could … Continue reading

More Galleries | Leave a comment

Validate a SharePoint list column with Regular Expression


Validate a SharePoint list column with Regular Expression http://chrisstahl.wordpress.com/2011/02/06/validate-a-sharepoint-list-column-with-regular-expression/ Column validations is in SharePoint 2010 a feature for lists, this is great when you need to validate a column like compare if a number is between some interval or if … Continue reading

Posted in Sharepoint 2010 Server Object Model | Leave a comment

Manage Content Types on New Button


Manage Content Types on New Button SharePoint Lists are enabled with multiple content types, because of that we can add items with different type of properties and documents. In advanced, the New Menu displays those Content type available in List … Continue reading

Posted in Sharepoint 2010 Server Object Model | Leave a comment

CREATE GROUPS IN A DROP-DOWN LIST BOX


CREATE GROUPS IN A DROP-DOWN LIST BOX <html> <body> <select> <optgroup label=”Numbers”> <option value=”1″>One</option> <option value=”2″>Two</option> <option value=”3″>Three</option> </optgroup> <optgroup label=”Letters” disabled=”true”> <option value=”4″>A</option> <option value=”5″>B</option> <option value=”6″>C</option> </optgroup> <optgroup label=”Numbers set”> <option value=”1″>One</option> <option value=”2″>Two</option> <option value=”3″>Three</option> </optgroup> </select> … Continue reading

Posted in Sharepoint 2010 Server Object Model | Leave a comment

Take Row-Level Control of Your GridView


Take Row-Level Control of Your GridView Manipulate the GridView control in ASP.NET to display your data the right way The GridView in ASP.NET is a very powerful control that provides an easy interface to add, update, delete, and display data. … Continue reading

Posted in Sharepoint 2010 Server Object Model | Leave a comment