0% found this document useful (0 votes)
64 views5 pages

Share Point 2010 Notes

1. The document discusses various topics related to developing solutions for the SharePoint platform including working with the SharePoint object model, creating web parts and controls, developing business logic, and customizing the SharePoint interface. 2. It provides code examples for managing sites and webs programmatically, activating features, creating custom web parts, developing workflows and event receivers, and more. 3. The document also includes links to Microsoft references, exam guides, and other resources for learning how to develop solutions for the SharePoint platform.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
64 views5 pages

Share Point 2010 Notes

1. The document discusses various topics related to developing solutions for the SharePoint platform including working with the SharePoint object model, creating web parts and controls, developing business logic, and customizing the SharePoint interface. 2. It provides code examples for managing sites and webs programmatically, activating features, creating custom web parts, developing workflows and event receivers, and more. 3. The document also includes links to Microsoft references, exam guides, and other resources for learning how to develop solutions for the SharePoint platform.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 5

Working with the SharePoint User Interface (19%)

A) Manage SPSite and SPWeb programmatically by using Visual Studio 2010 SPSite - Represents a collection of sites in a Web application, including a top-level Web site and all its subsites. Each SPSite object, or site collection, is represented within an SPSiteCollection object that consists of the collection of all site collections in the Web application. SPContext - Represents the context of an HTTP request in Microsoft SharePoint Foundation SPSite.Features - Gets the collection of SPFeature objects that are associated with the site collection. SPFeature represents the state of a feature at its corresponding scope SPFeatureCollection.Add() - Activates a Feature by using the Feature definition with the specified ID to create a new SPFeature object and then add it to the collection. SPSite.OpenWeb() SPWeb - Represents a SharePoint Foundation website. SPWeb.Features SPWeb.Properties SPWeb.Webs SPWebCollection.Add() Disposing Objects SPFile - Represents a file in a SharePoint Web site that can be a Web Parts page, an item in a document library, or a file in a folder. Creating Sub Web Referencing SPFile Manipulate Property Bag When to Call Update SharePoint Foundation typically does not save modifications of object properties to the database until you call the Update method on the specified object Feature Activation/Deactivation B) Implement a dialog by using the Dialog Framework Provided by JavaScript Client Model. C) Creating custom ribbon object D) Customize navigation programmatically Customize Top Link Bar - http://msdn.microsoft.com/enus/library/ie/gg252669.aspx Website Navigation - http://msdn.microsoft.com/enus/library/ms471078.aspx

E) Create and apply branding to SharePoint site CSSLink - Inserts a CSS LINK element into the resulting HTML page and applies an external style sheet(s) defined by CssRegistration ScriptLink - Provides properties and methods for registering resources, such as scripts, on a page so that they can be requested when the page is rendered. SharePoint Page Layout Model - page layout is template that is used with Master Page to control look, feel and content of page. Each page layout has associated Content Type that determines what content can be stored on pages based on that page layout. Each Content Type contains columns that define all content that appears on the page (with metadata). http://msdn.microsoft.com/en-us/library/ie/ms544928.aspx SharePoint Page - Master Page (contain controls shared across multiple page layouts, like navigation, search etc.) & Page Layout (contain field controls and Web Parts) SPWeb.ThemedCssFolderUrl - Gets or sets the URL to the folder that contains the cascading style sheets (CSS) file that is used in the theme for the website. SPWeb.MasterUrl - Gets or sets the URL of the master page that is used for the website. SPWeb.AlternateCssUrl - Gets or sets the URL for an alternate cascading style sheet (CSS) to use in the website

Developing Web Parts and Controls (21%)


A) Create Web Parts Adding a Web Part Property - After adding the new Web Part, add a property that can be personalized for the Web Part. The Web Part property determines the text that is rendered inside the Web Part. This is personalized based on the individual user. Overriding the CreateChildControls Method - you must add functionality to your Web Part. By overriding the CreateChildControls method, you can tell the Web Part what operations to perform when the page is visited. In this example, the Web Part renders the user-defined text. Override RenderWebPart Method - for rending webpart B) Create connectable web parts Example - a webpart provides a string to be consumed by another webpart http://msdn.microsoft.com/en-us/library/ie/ms469765.aspx 1) Creating an interface to define the string that is being provided. 2) Creating a Web Part by using the Microsoft Visual StudioWeb Part item template. 3) Creating a provider Web Part that defines a string. 4) Creating a consumer Web Part that uses and displays the string. 5) Creating a Web Parts page and connecting the provider and consumer Web Parts. Debugging WebPart Open webpart code in VS2010 Attach .NET w3wp.exe process and set breakpoints Refresh the page so that webpart loads in and debugging can start Create & Implement Delegate Control

A delegate control defines a region in an aspx page that allows the content to be replaced with our custom content. This custom content is created via a SharePoint feature, and when deployed and activated, replaces the standard content at runtime. http://blog.concurrency.com/sharepoint/delegate-controls-in-sharepoint2010/

Developing Business Logic (19%)


A) Implement a custom workflow in VS2010 http://technet.microsoft.com/en-au/library/cc263308.aspx B) Create and Implement Event Handler Event Handlers allow system to raise notification for something to be done based on user input, ex. when a document is added to library, user want an exclusive task list specifically for that document. C) Customize Enterprise Content Management (ECM) http://blogs.kma-llc.net/microknowledge/2010/08/the-ultimate-sharepoint2010-enterprise-content-management-ecm-cheat-sheet.html D) Create, implement and debug a Timer job Timer Job - performs infrastructure tasks for web application, such as sending email alerts etc. Create custom timer job http://dotnetfinder.wordpress.com/2010/07/24/creatingcustomsharepointti merjob2010/ Microsoft.SharePoint.Administration.SPJobDefinition - In VS2010, create a class that inherits from this class Microsoft.SharePoint.SPFeatureReceiver - This class handles events raised during feature activation, deactivation, installation, uninstallation, and upgrade. Extra Notes 70-573 - http://sumansharepoint.blogspot.com/search/label/70-573 Total Questions 50, Duration 105 Minutes, Qualifying marks: 700/1000 More resources - http://martinbodocky.wordpress.com/2011/05/11/myresource-to-learn-on-70-573/ Developer Guide - http://www.slideshare.net/sparked/sharepoint-2010-fordevelopers SharePoint SDK - http://msdn.microsoft.com/en-us/library/ee557253.aspx Conceptual View - http://msdn.microsoft.com/en-us/library/ee537319.aspx Server and Site Architecture - http://msdn.microsoft.com/enus/library/ms473633.aspx List and Collections - http://msdn.microsoft.com/enus/library/ms460897.aspx SharePoint Foundation 2010 Development in Depth http://msdn.microsoft.com/en-us/library/ee539092.aspx 70-576 Exam Guide - http://sharepointstream.com/2011/01/21/studyguide-to-the-exam-70-576-microsoft-sharepoint-2010-designing-anddeveloping/ Server Farm - set of servers that run various components of Sharepoint. A farm can have multiple WFE servers and DB servers. Main DB are configuration (that sotres info about farm) and content databases (that

store all content of sharepoint). Coding style - Sharepoint provides highly structured server-side object model that can be drilled further down in a hierarchy to obtain objects and members. SPWeb is one of the entry point developer can use to access and modify application programmatically The purpose of Client Object model is to access SharePoint data from systems where the SharePoint is not installed like web services. Client vs Server Model Server object model is used to access data only SharePoint installed systems. If I want to access data from production environment and I'm not having access to that machine, in this scenario I will use Client object model or web services. Client object model is similar to Server object model with few limitations, we can't access WebApplication and Farm objects, we can write our own web service or WCF or REST services to work on our own requirements which we can't accomplish with OOB Client object model. Document Library features - versioning, check-in & check-out, workflow SharePoint Building Blocks - http://msdn.microsoft.com/enus/library/ee534971.aspx Workflow overview - Workflows in SharePoint Server 2010 enable enterprises to reduce the amount of unnecessary interactions between people as they perform business processes. For example, to reach a decision, groups typically follow a series of steps. The steps can be a formal, standard operating procedure, or an informal implicitly understood way to operate. Collectively, the steps represent a business process. The number of human interactions that occur in business processes can inhibit speed and the quality of decisions. Software that simplifies and manages this "human workflow" enables the automation of interactions among groups who participate in the process. This automation results in more speed, overall effectiveness of the interactions, and often a reduction in errors. You can model business processes by using flow charts, such as those created using Microsoft Visio 2010 and can represent business processes by using workflow terminology. You can automate business processes, such as document approval, by associating a workflow with data in SharePoint Server 2010. For example, you can create a workflow to route a document for review, track an issue through its various stages of resolution, or guide a contract through an approval process. SharePoint 2010 Technical Diagrams - http://technet.microsoft.com/enau/library/cc263199.aspx Workflow basics - design workflow in Visio, Publish and use in SharePoint, improve with SharePoint Designer Create Site Definition - http://toddbaginski.com/blog/how-to-create-acustom-site-definition-in-sharepoint-2010.aspx/

You might also like