Web parts for SharePoint. What’s a web part? Application that can be added to a page with a web part zone. Inhierits from web controls Can be developed.

Slides:



Advertisements
Similar presentations
SharePoint List Custom Actions Feature Product Overview Nimrod Geva Product Group Manager, KWizCom
Advertisements

Site Collection, Sites and Sub-sites
SharePoint Feature and Solution upgrading Bram de Jager | Lead SharePoint Developer | Macaw.
Samsung Smart TV is a web-based application running on an application engine installed on digital TVs connected to the Internet.
LH SharePoint SIG - Custom Actions. Custom Actions A custom action represents a Server ribbon, menu, or link customization that a user can see. Custom.
11 Getting Started with ASP.NET Beginning ASP.NET 4.0 in C# 2010 Chapters 5 and 6.
Randy Williams, MOSS MVP Senior Consultant Synergy Corporate Technologies.
Microsoft Patterns and Practices SharePoint Guidance Robert L. Bogue MS MVP, MCSE, MCSA: Security
SharePoint and WebFOCUS
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
St. Louis Day of Dot Net 2011 Building Web Parts for an Office 365 SharePoint Site Becky Bertram Independent SharePoint Consultant SharePoint MVP, MCSD.NET,
St. Louis Day of Dot Net 2011 Jump Start: SharePoint Development Becky Bertram Independent SharePoint Consultant SharePoint MVP, MCSD.NET, MCTS
Becky Bertram SharePoint MVP
A02 Creating my website NAME ______________. UNIT 2 – A02 – Creating my Website The purpose of this assessment objective is to create 5 web pages containing.
Web FOCUS Integration with Microsoft Office SharePoint By: Kelvin Ruiz NASA – Kennedy Space Center.
Working with SharePoint Document Libraries. What are document libraries? Document libraries are collections of files that you can share with team members.
SharePoint Development 101: Feature Design By Becky Isserman
Miro Remias Solution architect Kentico software
A Close Look Inside the SharePoint Engine Randy Williams, MVP MOSS Synergy Corporate Technologies
CHAPTER 9 DATABASE MANAGEMENT © Prepared By: Razif Razali.
.Net is a collection of libraries, templates and services designed to make programming applications of all kinds, easier, more flexible (multi platform),
Beginning Web Site Development Module 1 – Dynamic Web Site Development Fundamentals of building dynamic Web sites with ASP.NET 2.0 and C# Version.
LATTICE TECHNOLOGY, INC. For Version 2.0 and later iXVL Publisher Tutorial For Version 2.0 and later.
Developing Workflows with SharePoint Designer David Coe Application Development Consultant Microsoft Corporation.
SharePoint You must use Internet Explorer Single click only on links and buttons There are two handouts 1.Importing a Web Part into SharePoint 2.Adding.
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 4-1 of…
OBJECTIVES  What is HTML  What tools are needed  Creating a Web drive on campus (done only once)  HTML file layout  Some HTML tags  Creating and.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
Basic Developer Knowledge That Every SharePoint Admin Must Have Randy Williams, MVP MOSS Synergy Corporate Technologies
Eric Maurer Copyright Keller Schroder  Windows SharePoint Services 3.0 Tools: Visual Studio 2005 Extensions, Version 1.1  Windows SharePoint Services.
Microsoft Visual Basic 2005 CHAPTER 7 Creating Web Applications.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Customization Using SharePoint Designer 2007 Overview Editing look and feel –Master pages.
HOME EVIDENCE EXECUTION MICROSOFT SOLUTIONS SERVICES PARTNERS Custom Field Controls and SharePoint Web Content Management Chakkaradeep Chandran Robert.
Welcome to the Minnesota SharePoint User Group. Develop and support a local community focused on Microsoft SharePoint Technologies Educate user group.
Beginning ASP.NET (Part 3).NET 2.0 Core Libraries Tuc Goodwin.
VITALE, CATURANO & COMPANY LTD Microsoft SharePoint Web Part Development Overview VITALE, CATURANO & COMPANY LTD SharePoint Developer Series – Web Part.
Word Forms Gini Courter Annette Marquis TRIAD Consulting Welcome to….
Teacher Web Page Creation Eileen Musselman. Log on to Muhlenberg’s Intranet Click Submit button.
Welcome to the Minnesota SharePoint User Group. Develop and support a local community focused on Microsoft SharePoint Technologies Educate user group.
How to create a SharePoint site MICROSOFT OFFICE SHAREPOINT DESIGNER.
© 2009 Ness Technologies – Proprietary and Confidential Kfir Sasson Understanding Features & Solutions In MOSS 2007.
January 2006Colby College ITS Setting Up Course Pages.
Welcome to the Minnesota SharePoint User Group February 13 th, 2013 SharePoint 2013 – Developers Track - Client Side Rendering.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Site Definitions and Features Overview Review of SharePoint 2003 site definitions What’s.
Microsoft ® Official Course Designing and Managing Features and Solutions Microsoft SharePoint 2013 SharePoint Practice.
FORMS How to collect information f XX rom visitors Different kinds of form controls New HTML5 form controls.
Extending SharePoint through Web Parts and ASP.NET 최승현 대리 한국마이크로소프트.
Microsoft Office System UK Developers Conference Radisson Edwardian, Heathrow 29 th & 30 th June 2005.
NET Development on Microsoft SharePoint Technology Part 4: Templates, Features, and Solution Deployment Mick Badran Breeze Training Consulting Trainer.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Web Parts Overview Web parts in SharePoint 2007 “Hello World” web part Typical deployment.
Windows SharePoint Services v3.0 Martin Parry Developer & Platform Group Microsoft Limited
SharePoint document libraries I: Introduction to sharing files Why document libraries? Sharing files with others is essential to getting things done nowadays.
PostBack  When an initial request for a page (a Web Form) is received by ASP.NET, it locates and loads the requested Web Form (and if necessary compiles.
Building Custom Controls with ASP.NET and the Microsoft ®.NET Framework Rames Gantanant Microsoft Regional Director, Thailand
Workflow in Microsoft Office SharePoint Server Jessica Gruber Consultant Microsoft Corporation.
The Microsoft SharePoint Server Feature and Solution Framework An Overview Michael Mukalian – Technology Manager
111 State Management Beginning ASP.NET in C# and VB Chapter 4 Pages
Jim Fawcett CSE686 – Internet Programming Spring 2014
St. Louis Day of Dot Net 2011 Jump Start: SharePoint Development
Developing GIS WebParts in SharePoint
About SharePoint Server 2007 My Sites
3.01 Apply Controls Associated With Visual Studio Form
3.01 Apply Controls Associated With Visual Studio Form
Customizing the SharePoint Mobile Experience
Visual Studio 2010 SharePoint Development Tools Overview
Web Development Using ASP .NET
A02 Creating my website NAME ______________.
St. Louis Day of Dot Net 2011 Building Web Parts for an Office 365 SharePoint Site Becky Bertram Independent SharePoint Consultant SharePoint MVP, MCSD.NET,
MS Confidential : SharePoint 2010 Developer Workshop (Beta1)
Presentation transcript:

Web parts for SharePoint

What’s a web part? Application that can be added to a page with a web part zone. Inhierits from web controls Can be developed using C# or VB The concept of web parts are not just for SharePoint

Web part lifecycle Without postbackWith postback OnInit OnLoad CreateChildControls OnPreRender Render OnInit CreateChildControls OnLoad OnPreRender Render

OnInit Used to initialize controls.

OnLoad Set the basic layout of the web part like Title Chrometype Width/height These can also be found in the properties of the web part and be set individually after the web part has been deployed.

CreateChildControls Create child controls and layout here

OnPreRender Used for tasks that needs to be executed before the web part is rendered. Load data

Render Renders the whole web part Only overwritten i rare situations i case of special rendering requirements

.webpart Description for the web part shown in the Web part Gallery

.xml Adds the web part to a group in the Web part Gallery If a group is not specified, the web part is placed in the group Miscelleaneous

Feature.xml Location of the.xml Location of the.webpart

Manifest.xml Tells where the feature.xml file is located Location of the assembly

Create your own properties Enables you to add string/integer (textboxes), bool (checkboxes), collection (dropdownlists) to your properties. The web part already contains properties, so all you have to do is add your own.

Extend your properties Toolparts Enables you to add listboxes, peoplepicker, buttons etc. to the properties. Has it’s own lifecycle similar to a web part.

Time to deploy Two ways to deploy your wsp file: 1. Using install.bat (created by VS for you to use) REMEMBER to change the URL in the install.bat if you want to install it on a server with a different name. 2. Using stsadm stsadm -o addsolution -filename stsadm -o activatefeature {-filename | -name | -id } [-url ] [-force] A complete list of stsadm operations can be found here: operations-with-parameters-in-moss-2007-sp1.aspx

My favorite sites for SharePoint: Google Groups

Debate - Why use web parts? ProsCons Integated part of SharePoint The developer is provided with libraries to make the development of web parts easier Consistens in design throughtout the web parts Might work in test environment but not in production Requires custom development Requires knowledge of the internal structure in SharePoint