IT tutorials
 
Technology
 

The SharePoint 2010 Feature Solution Framework : What are WebParts?

9/22/2013 7:34:22 PM
- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

Pardon me for being obvious, but in the interest of being complete, I have to describe what a WebPart is before using a WebPart in the demonstration feature and solution.

A WebPart is the Microsoft equivalent of a portlet or a widget. Imagine a webpage on which the administrator could drop a widget, customize it right through the browser, and provide some functionality to the users of the site. Not only that, imagine that if every end user could further tweak such widgets on the web page, or maybe even drop more widgets to fully personalize their experience on the site. Also, sometimes these widgets need to present their own complex UI to provide such customizability or personalization, and perhaps in certain scenarios, these widgets may also need to talk with each other.

Well, assuming that you're working with SharePoint, those "widgets " that you're dropping on the web page are called WebParts. Those complex UIs that these widgets, or WebParts, present to edit themselves are called WebPart Editors. Finally, the ability of WebParts to talk to each other is referred to as WebPart connections.

Let's try out a simple WebPart to solidify your understanding here.

Trying Out a Simple WebPart

In this exercise, you will create edit a SharePoint web page and add and customize a simple WebPart.

  1. If you don't already have a web application on port 80, go ahead and create one.

  2. Create a fresh site collection using the Blank site definition at the port 80 web site.

  3. Visit the port 80 web site in the browser.

  4. Click the Site Actions button on the top left of the page, and choose Edit Page. You should see two WebPart zones appear, as shown in Figure 1.

    Figure 1. The page in edit mode with two WebPart zones
  5. Those rectangles you see are WebPartzones. Now click one of them. You will notice that a new menu item appears on the ribbon called Page Tools/Insert, as shown in Figure 2.

    Figure 2. The ribbon with the insert ribbon tab
  6. Click Insert and choose "WebPart " in the ribbon.

  7. In the navigation area for available WebParts below the ribbon, choose the Content Editor WebPart and click the Add button, as shown in Figure 3.

    Figure 3. Browsing for your WebPart
  8. You will note that the content editor WebPart is now added to the left WebPart zone. In the WebPart, you will see a link that says "Click here to add new content". Go ahead and click that and type in some text.

  9. Next, in the ribbon under the Page tab, click Stop editing. Your final page should look like the one shown in Figure 4.

    Figure 4. Your WebPart in action

    Congratulations, you just worked with a WebPart! Go ahead and play with some other WebParts available to you in SharePoint.

 
Others
 
- The SharePoint 2010 Feature Solution Framework : Writing Your First SharePoint Console App
- Windows Server 2012 : Resource Records (part 2) - Service Records
- Windows Server 2012 : Resource Records (part 1) - Start of Authority Records, Host Records, Name Server Records
- Windows Server 2012 : Installing DNS Using the Add Roles Wizard
- Windows Server 2012 : The Need for DNS - Explaining the DNS Hierarchy
- Sharepoint 2013 : Claims-based authentication, federated identities, and OAuth (part 7) - Understanding OAuth, Configuring server-to-server apps
- Sharepoint 2013 : Claims-based authentication, federated identities, and OAuth (part 6) - Federating with Windows Azure ACS
- Sharepoint 2013 : Claims-based authentication, federated identities, and OAuth (part 5) - SharePoint trusted IPs - Creating a custom claims provider
- Sharepoint 2013 : Claims-based authentication, federated identities, and OAuth (part 4) - SharePoint trusted IPs - Configuring the target web application
- Sharepoint 2013 : Claims-based authentication, federated identities, and OAuth (part 3) - Building a relying party
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us