Posts

Update hyperlink filed value Using ObjectModel

SPListItem olistitem= oList.GetItemById(itemidvalue); SPFieldUrlValue FiledUrl= new SPFieldUrlValue(); FiledUrl.URL = "http://Url"; FiledUrl.Description = "URL"; olistitem["HyperLinkColumName"] = FiledUrl ; olistitem.update();

SharePoint 2010 central Administration

Application Management : Manage site collections, web applications, content databases, and the new service applications System Settings: Manage servers, features, solutions, and farm-wide settings Monitoring: Track, view and report the health and status of your SharePoint farms Backup and Restore: Performs backup or restores Security: Manage settings for users, policy, and global security Upgrade and Migration : Upgrade SharePoint, add licenses, enable Enterprise Features General Application Settings: Anything that doesn’t fit into one of the other sections Configuration Wizards: These are nice wizards to help setup or modify the farm

SP2010 User Interface Changes

Click Here

SP2010 Timer Jobs Overview

Image
SharePoint 2010 Timer Jobs undergo changes are in the management and in configuration. Firstly, the most significant change you will see is that the number of Timer Jobs – new 21 jobs been added. If for an ordinary SharePoint 2007 application we had 39 Timer’s Job, then we have 60 Jobs for SharePoint 2010 So, those 21 new timer jobs are: Application Addresses Refresh Job Audit Log Trimming Delete Job History Document ID enable/disable job Document ID assignment job Enterprise Server Search Master Job Health Analysis Job InfoPath Forms Services Maintenance Password Management Prepare query suggestions Product Version Job Query Logging Secure Store Service Timer Solution Daily Resource Usage Update State Service Delete Expired Sessions Timer Service Recycle Web Analytics Trigger Workflows Timer Job Windows SharePoint Services Usage Data Import Windows SharePoint Services Usage Data Processing Word Conversion Timer Job Workflow Timer Jobs management belon...

Using SPQuery and CAML to filter and order

To get a collection of items from a list you can use SPQuery and CAML to filter and order the selected list: SPSite oSite = SPContext.Current.Site;             SPWeb oWeb = oSite.OpenWeb();             SPList oList = oWeb.Lists["ListName"];             SPQuery oQuery = new SPQuery();             oQuery.Query = "<OrderBy><FieldRef Name='Title' /></OrderBy><Where>"                 + "<FieldRef Name='Title' /><Value Type='Text'></Value></Where>";             SPListItemCollection oItems = oList.GetItems(oQuery); To filter on date use the following to get any item that has been modified in t...

Get All Sub Webs Using Client Object Model in SharePoint 2010

 static string mainpath = "http://SiteURL";         static void Main(string[] args)         {             getSubWebs(mainpath);             Console.Read();         }         public static  void  getSubWebs(string path)         {                     try             {                 ClientContext clientContext = new ClientContext( path );                 Web oWebsite = clientContext.Web;                 clientContext.Load(oWebsite, website => website.Webs, website => website.Title);                 clientContext.ExecuteQuery();         ...

SharePoint 2010: Add button to Ribbon with SharePoint designer

Click Here