Posts

Showing posts from September, 2010

Microsoft SharePoint 2010, Application Development: Exam 70-573

http://www.microsoft.com/learning/en/us/exam.aspx?ID=70-573#tab2 Skills Being MeasuredThis exam measures your ability to accomplish the technical tasks listed below.The percentages indicate the relative weight of each major topic area on the exam. Working with the SharePoint User Interface (19%) Manage SPSite and SPWeb programmatically by using Visual Studio 2010 This objective may include but is not limited to: creating sub webs, referencing SPFiles, manipulating property bag, when to call Update, referencing SPContext, SPSite, SPWeb,  SPSite.OpenWeb, SPWeb.Webs, feature activiation and deactivation This objective does not include: trivial cases such as setting title and other loose properties of the objects Implement a dialog by using the Dialog Framework This objective may include but is not limited to: Create dialogs from JavaScript or from server side, display dialogs Create a custom ribbon object This objective may include but is not limited to: adding custom actions ...

Everything about Workflows

SharePoint document workflow with Visual Studio workshop Part 1: Creating a basic SharePoint document workflow with Visual Studio + download Part 2: Introduction to custom ASP.NET forms (association forms) + download Part 3: Introduction to custom ASP.NET forms continued (instantiation/initialization forms) + download Part 4: Workflow tasks (taskedit form) + download SharePoint workflow: error updating a list item How to video: Building a multilevel approval workflow with SharePoint (MOSS 2007) and Visual Studio Workflow Gotcha – can’t use surveys Building workflow templates for SharePoint v3 using Visual Studio 2008 Workflow insights – correlation   Creating and Testing the project Extending the workflow: checking the amount and setting the status Extending the workflow: finding the manager and creating a custom activity Creating the tasks Creating and Using InfoPath Tasks Forms Using Several Task Forms Using association and initialization forms Bringing dat...

Deleting item in SharePoint List – Avoid memory leakage

/// <summary>         /// Deletes all the items from the specifid list. Uses batch processing for performance.         /// </summary>         /// <param name="site">The site that hosts the list.</param>         /// <param name="list">The name of the list that has the items to be deleted.</param>         public static void DeleteAllItems(string site, string list)         {             using (SPSite spSite = new SPSite(site))             {                 using (SPWeb spWeb = spSite.OpenWeb())             ...

Adding new Item into SharePoint List – Avoid the memory leakage

Never use SPList.Items.Add because this approach gets all items in the list before adding a new SPListItem.  Use the following method instead, which does not preload the list items:   private SPListItem OptimizedAddItem(SPList list)        {            const string EmptyQuery = "0";            SPQuery q = new SPQuery {Query = EmptyQuery};            return list.GetItems(q).Add();        }   Thanks ROB GARRETT for this trick http://blog.robgarrett.com/2009/02/25/efficient-way-to-add-a-new-item-to-a-sharepoint-list/