SlideShare ist ein Scribd-Unternehmen logo
1 von 23
SharePoint 2010 Developer Quick Start
SharePointDesignerImprovements Add lists, columns, forms , custom actions without the need to go to the browser. Fine grained designer control SPD work migrates to Visual Studio 2010 SPD customization work exported to .wsp files .wsp files imported into Visual Studio
Development lifecycle
Demo – Designer
PowerShell 2007 administration = STSADM.EXE + extensions and console applications Replaced with PowerShell PowerShell support effectively replaces STSADM.EXE SharePoint admins/devs must learn PowerShell basics You can write powerful scripts against WSS OM You can develop custom PowerShell snap-ins
PowerShell Tools
PowerShell 101 Get-Command -pssnapinMicrosoft.SharePoint.PowerShell Get-Help Get-SPSite Get-Help Get-SPSite–Examples Get-Command -noun "SPService*" | Sort Noun | Select Noun –Unique Get-Command -noun "SPService*" | Sort Noun | Select Noun –Unique > text.txt
SharePoint 2010 Developer Dashboard
Correlation ID
Visual Studio 2010 SharePoint Tools End-to-end SharePoint 2010 developer story SharePoint Explorer for site exploration SharePoint 2010 project and item templates Visual designers for core scenarios Migration path for Visual Studio 2008 for WSS 3.0 Extensible by 3rd party developers Benefits to SharePoint developers Abstracts away details of RootFiles directory Abstracts away details of building .wsp file Lessens/eliminates need for external utilities
Demo – VS 2010
Feature Improvements Feature Versioning & Upgrade (ALM) New Events Workflow Association Property Bag UI Version Web Templates New custom action options
Feature Versioning & Upgrade Version Range – BeginVersion/EndVersion Upgrade Elements CustomUpgradeAction Parameters ApplyElementManifest MapFile – FromPath/ToPath AddContentTypeField
Upgrade Scenario
EventsAdded… Site Events SiteDeleting/SiteDeleted WebDeleting/WebDeleted WebMoving/WebMoved WebAdding/WebProvisioned  List Events EmailReceived FieldAdding/FieldAdded FieldUpdating/FieldUpdated FieldDeleting/FieldDeleted ListAdding/ListAdded ListDeleting/ListDeleted Item Events ContextEvent ItemAdding/ItemAdded ItemUpdating/ItemUpdated ItemDeleting/ItemDeleted ItemCheckingIn/ItemCheckedIn ItemCheckingOut/ItemCheckedOut ItemUncheckingOut/ItemUncheckedOut ItemAttachmentAdding/ItemAttachmentAdded ItemAttachmentDeleting/ItemAttachmentDeleted ItemFileMoving/ItemFileMoved ItemFileConverted Workflow Events WorkflowStarting/WorkflowStarted WorkflowPostponed WorkflowCompleted
Post Synchronous Events WSS 3.0 “after” events are exclusively asynchronous Problem when wanting to do post processing after item submitted, but before displaying to user SPF 4.0 adds new property on receiver definition to change “after” event to synchronous SPEventReceiverDefinition.Synchronization
Event Impersonation Improvements WSS 3.0 events run in context of user who triggered the event Certain things trigger events to run under System Account (workflow, etc), but doesn’t permit reverting back to user who triggered action SPF 4.0 now adds the originating user & user token on SPEventPropertiesBase
Feature Property Bag Promote Feature Properties into Web/Site property bag Root web Web Folder List Item No direct VS designer support Updates value if exists, otherwise adds Types enforced: DateTime, Int32
Web Templates Replacement and Improved Framework for STP -- Save as Template->WSP Exports everything +content(optional) +onet.xml Stored in Solution Gallery or at the Farm $ListId:Lists/someListName Considerations Use VS WSP import to trim or ‘featurize’ items Web Templates are Features and can be upgraded
Relational Lists: Joins With relational lists, SPF 4.0 adds support for joins Joins can only be implemented by developers using the API, CAML or SharePoint Designer 2010 New properties on SPQuery: SPQuery.Join SPQuery.ProjectedFields Use SPLinq instead of CAML to join two lists in code
Querying Large Lists If throttling is enabled & list limit exceeded threshold, users won’t be able to query lists by default via API Can override querying the large list settings provided Web App configured to allow it Override using: SPQuery.RequestThrottleOverride SPSiteDataQuery.RequestThrottleOverride Only users with proper permissions get override ability (set via policies)
Content Iterator SPQuery query = new SPQuery(); query.Query = "<Where><Eq><FieldRef Name=quot;MyIndexedFieldquot;/><Value Type=quot;Textquot;>FieldValue</Value></Eq></Where>" + ContentIterator.ItemEnumerationOrderByNVPField;  ContentIteratorci = new ContentIterator();ci.MaxItemsPerQuery = 500; ci.ProcessItemsInList(query,  delegate(SPListItemitem)  { // Work on each item. },  delegate(SPListItemitem, Exception e)  	{ // Handle an exception that was thrown while iterating. 	// Return true so that ContentIteratorrethrows the exception. 	return true; } );
Questions ?@laneyvbhttp://laneyvb.blogspot.com

Weitere ähnliche Inhalte

Was ist angesagt?

Share Point Development With Unit Testing
Share Point Development With Unit TestingShare Point Development With Unit Testing
Share Point Development With Unit TestingJeremy Thake
 
Sp2013 overview biwug
Sp2013 overview biwugSp2013 overview biwug
Sp2013 overview biwugBIWUG
 
Getting started with office 365 add ins development 3 may 2018 - v2
Getting started with office 365 add ins development 3 may 2018 - v2Getting started with office 365 add ins development 3 may 2018 - v2
Getting started with office 365 add ins development 3 may 2018 - v2Nilesh Shah
 
2014 SharePoint Saturday Melbourne Apps or not to Apps
2014 SharePoint Saturday Melbourne Apps or not to Apps2014 SharePoint Saturday Melbourne Apps or not to Apps
2014 SharePoint Saturday Melbourne Apps or not to AppsGilles Pommier
 
Building SharePoint 2013 Apps - Architecture, Authentication & Connectivity API
Building SharePoint 2013 Apps - Architecture, Authentication & Connectivity APIBuilding SharePoint 2013 Apps - Architecture, Authentication & Connectivity API
Building SharePoint 2013 Apps - Architecture, Authentication & Connectivity APISharePointRadi
 
SharePoint 2016 Hybrid Overview
SharePoint 2016 Hybrid OverviewSharePoint 2016 Hybrid Overview
SharePoint 2016 Hybrid OverviewRoy Kim
 
Getting Started with Office 365 Development
Getting Started with Office 365 DevelopmentGetting Started with Office 365 Development
Getting Started with Office 365 DevelopmentDragan Panjkov
 
Bring together SPFx Solutions in SharePoint and MS Teams​
Bring together SPFx Solutions in SharePoint and MS Teams​Bring together SPFx Solutions in SharePoint and MS Teams​
Bring together SPFx Solutions in SharePoint and MS Teams​Jenkins NS
 
Developing SharePoint 2013 apps with Visual Studio 2012 - SharePoint Connecti...
Developing SharePoint 2013 apps with Visual Studio 2012 - SharePoint Connecti...Developing SharePoint 2013 apps with Visual Studio 2012 - SharePoint Connecti...
Developing SharePoint 2013 apps with Visual Studio 2012 - SharePoint Connecti...Bram de Jager
 
Chris O'Brien - Building AI into Power Platform solutions
Chris O'Brien - Building AI into Power Platform solutionsChris O'Brien - Building AI into Power Platform solutions
Chris O'Brien - Building AI into Power Platform solutionsChris O'Brien
 
Developing SharePoint 2013 apps with Visual Studio 2012 - Microsoft TechDays ...
Developing SharePoint 2013 apps with Visual Studio 2012 - Microsoft TechDays ...Developing SharePoint 2013 apps with Visual Studio 2012 - Microsoft TechDays ...
Developing SharePoint 2013 apps with Visual Studio 2012 - Microsoft TechDays ...Bram de Jager
 
Getting Started with Zend Framework
Getting Started with Zend FrameworkGetting Started with Zend Framework
Getting Started with Zend FrameworkJuan Antonio
 
Visio Services in SharePoint 2010
Visio Services in SharePoint 2010Visio Services in SharePoint 2010
Visio Services in SharePoint 2010Alexander Meijers
 
Share point features - Dipali Shiledar
Share point features - Dipali ShiledarShare point features - Dipali Shiledar
Share point features - Dipali ShiledarDipali Shiledar
 
SharePoint 2013 Search and Creating Dynamic Content Management Solutions
SharePoint 2013 Search and Creating Dynamic Content Management SolutionsSharePoint 2013 Search and Creating Dynamic Content Management Solutions
SharePoint 2013 Search and Creating Dynamic Content Management SolutionsInnoTech
 
Declarative Database Development with SQL Server Data Tools
Declarative Database Development with SQL Server Data ToolsDeclarative Database Development with SQL Server Data Tools
Declarative Database Development with SQL Server Data ToolsGert Drapers
 
Automatic documentation with mule
Automatic documentation with muleAutomatic documentation with mule
Automatic documentation with muleF K
 

Was ist angesagt? (20)

Share Point Development With Unit Testing
Share Point Development With Unit TestingShare Point Development With Unit Testing
Share Point Development With Unit Testing
 
Sp2013 overview biwug
Sp2013 overview biwugSp2013 overview biwug
Sp2013 overview biwug
 
Microsoft Tech Ed 2006 #2
Microsoft Tech Ed 2006 #2Microsoft Tech Ed 2006 #2
Microsoft Tech Ed 2006 #2
 
Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #1Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #1
 
Getting started with office 365 add ins development 3 may 2018 - v2
Getting started with office 365 add ins development 3 may 2018 - v2Getting started with office 365 add ins development 3 may 2018 - v2
Getting started with office 365 add ins development 3 may 2018 - v2
 
2014 SharePoint Saturday Melbourne Apps or not to Apps
2014 SharePoint Saturday Melbourne Apps or not to Apps2014 SharePoint Saturday Melbourne Apps or not to Apps
2014 SharePoint Saturday Melbourne Apps or not to Apps
 
Building SharePoint 2013 Apps - Architecture, Authentication & Connectivity API
Building SharePoint 2013 Apps - Architecture, Authentication & Connectivity APIBuilding SharePoint 2013 Apps - Architecture, Authentication & Connectivity API
Building SharePoint 2013 Apps - Architecture, Authentication & Connectivity API
 
SharePoint 2016 Hybrid Overview
SharePoint 2016 Hybrid OverviewSharePoint 2016 Hybrid Overview
SharePoint 2016 Hybrid Overview
 
Getting Started with Office 365 Development
Getting Started with Office 365 DevelopmentGetting Started with Office 365 Development
Getting Started with Office 365 Development
 
Bring together SPFx Solutions in SharePoint and MS Teams​
Bring together SPFx Solutions in SharePoint and MS Teams​Bring together SPFx Solutions in SharePoint and MS Teams​
Bring together SPFx Solutions in SharePoint and MS Teams​
 
Getting Started with the Office 365 API
Getting Started with the Office 365 APIGetting Started with the Office 365 API
Getting Started with the Office 365 API
 
Developing SharePoint 2013 apps with Visual Studio 2012 - SharePoint Connecti...
Developing SharePoint 2013 apps with Visual Studio 2012 - SharePoint Connecti...Developing SharePoint 2013 apps with Visual Studio 2012 - SharePoint Connecti...
Developing SharePoint 2013 apps with Visual Studio 2012 - SharePoint Connecti...
 
Chris O'Brien - Building AI into Power Platform solutions
Chris O'Brien - Building AI into Power Platform solutionsChris O'Brien - Building AI into Power Platform solutions
Chris O'Brien - Building AI into Power Platform solutions
 
Developing SharePoint 2013 apps with Visual Studio 2012 - Microsoft TechDays ...
Developing SharePoint 2013 apps with Visual Studio 2012 - Microsoft TechDays ...Developing SharePoint 2013 apps with Visual Studio 2012 - Microsoft TechDays ...
Developing SharePoint 2013 apps with Visual Studio 2012 - Microsoft TechDays ...
 
Getting Started with Zend Framework
Getting Started with Zend FrameworkGetting Started with Zend Framework
Getting Started with Zend Framework
 
Visio Services in SharePoint 2010
Visio Services in SharePoint 2010Visio Services in SharePoint 2010
Visio Services in SharePoint 2010
 
Share point features - Dipali Shiledar
Share point features - Dipali ShiledarShare point features - Dipali Shiledar
Share point features - Dipali Shiledar
 
SharePoint 2013 Search and Creating Dynamic Content Management Solutions
SharePoint 2013 Search and Creating Dynamic Content Management SolutionsSharePoint 2013 Search and Creating Dynamic Content Management Solutions
SharePoint 2013 Search and Creating Dynamic Content Management Solutions
 
Declarative Database Development with SQL Server Data Tools
Declarative Database Development with SQL Server Data ToolsDeclarative Database Development with SQL Server Data Tools
Declarative Database Development with SQL Server Data Tools
 
Automatic documentation with mule
Automatic documentation with muleAutomatic documentation with mule
Automatic documentation with mule
 

Ähnlich wie SharePoint 2010 Development

4 tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development4   tools, sandboxed solutionds, web part development
4 tools, sandboxed solutionds, web part developmenticdesktop
 
Developer application lifecycle process and tools - v.5
Developer application lifecycle process and tools - v.5Developer application lifecycle process and tools - v.5
Developer application lifecycle process and tools - v.5Ivan Sanders
 
SharePoint 2010 For Developers
SharePoint 2010 For DevelopersSharePoint 2010 For Developers
SharePoint 2010 For DevelopersSparked
 
BIWUG 01/09/2005 IW Technologies, what's to come in 2006?
BIWUG 01/09/2005 IW Technologies, what's to come in 2006?BIWUG 01/09/2005 IW Technologies, what's to come in 2006?
BIWUG 01/09/2005 IW Technologies, what's to come in 2006?BIWUG
 
SharePoint Connections Coast to Coast Migrating SharePoint 2007 Solutions to ...
SharePoint Connections Coast to Coast Migrating SharePoint 2007 Solutions to ...SharePoint Connections Coast to Coast Migrating SharePoint 2007 Solutions to ...
SharePoint Connections Coast to Coast Migrating SharePoint 2007 Solutions to ...Ivan Sanders
 
Share Point Development With Vs10
Share Point Development With Vs10Share Point Development With Vs10
Share Point Development With Vs10Phuong Nguyen
 
Mai Omar Desouki - SharePoint 2010 ITPRO
Mai Omar Desouki - SharePoint 2010 ITPROMai Omar Desouki - SharePoint 2010 ITPRO
Mai Omar Desouki - SharePoint 2010 ITPROMai Omar Desouki
 
Sharepoint designer workflow by quontra us
Sharepoint designer workflow by quontra usSharepoint designer workflow by quontra us
Sharepoint designer workflow by quontra usQUONTRASOLUTIONS
 
Workflow in SharePoint 2010
Workflow in SharePoint 2010Workflow in SharePoint 2010
Workflow in SharePoint 2010barryboudreau
 
SharePoint Developer Education Day Palo Alto
SharePoint  Developer Education Day  Palo  AltoSharePoint  Developer Education Day  Palo  Alto
SharePoint Developer Education Day Palo Altollangit
 
Using Visual Studio to Build SharePoint 2010 Solutions
Using Visual Studio to Build SharePoint 2010 SolutionsUsing Visual Studio to Build SharePoint 2010 Solutions
Using Visual Studio to Build SharePoint 2010 SolutionsRandy Williams
 
What’s New for Devs
What’s New for DevsWhat’s New for Devs
What’s New for DevsMicrosoftFeed
 
SharePoint Saturday Workflow in Action
SharePoint Saturday Workflow in ActionSharePoint Saturday Workflow in Action
SharePoint Saturday Workflow in ActionElaine Van Bergen
 
Visual Studio 2010 for SharePoint Developers
Visual Studio 2010 for SharePoint DevelopersVisual Studio 2010 for SharePoint Developers
Visual Studio 2010 for SharePoint Developersosullish
 
Migrating to SharePoint 2013 - Business and Technical Perspective
Migrating to SharePoint 2013 - Business and Technical PerspectiveMigrating to SharePoint 2013 - Business and Technical Perspective
Migrating to SharePoint 2013 - Business and Technical PerspectiveJohn Calvert
 
Updating Legacy SharePoint Customizations to the Add-in Model
Updating Legacy SharePoint Customizations to the Add-in ModelUpdating Legacy SharePoint Customizations to the Add-in Model
Updating Legacy SharePoint Customizations to the Add-in ModelDanny Jessee
 
SharePoint 2010 Application Development
SharePoint 2010 Application DevelopmentSharePoint 2010 Application Development
SharePoint 2010 Application Developmentmattbremer
 
SharePoint 2010 - What's New?
SharePoint 2010 - What's New?SharePoint 2010 - What's New?
SharePoint 2010 - What's New?Cory Peters
 
2010preparingforupgradeoleson
2010preparingforupgradeoleson2010preparingforupgradeoleson
2010preparingforupgradeolesonUGAIA
 
SharePoint Development For Asp Net Developers
SharePoint Development For Asp Net DevelopersSharePoint Development For Asp Net Developers
SharePoint Development For Asp Net DevelopersCorey Roth
 

Ähnlich wie SharePoint 2010 Development (20)

4 tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development4   tools, sandboxed solutionds, web part development
4 tools, sandboxed solutionds, web part development
 
Developer application lifecycle process and tools - v.5
Developer application lifecycle process and tools - v.5Developer application lifecycle process and tools - v.5
Developer application lifecycle process and tools - v.5
 
SharePoint 2010 For Developers
SharePoint 2010 For DevelopersSharePoint 2010 For Developers
SharePoint 2010 For Developers
 
BIWUG 01/09/2005 IW Technologies, what's to come in 2006?
BIWUG 01/09/2005 IW Technologies, what's to come in 2006?BIWUG 01/09/2005 IW Technologies, what's to come in 2006?
BIWUG 01/09/2005 IW Technologies, what's to come in 2006?
 
SharePoint Connections Coast to Coast Migrating SharePoint 2007 Solutions to ...
SharePoint Connections Coast to Coast Migrating SharePoint 2007 Solutions to ...SharePoint Connections Coast to Coast Migrating SharePoint 2007 Solutions to ...
SharePoint Connections Coast to Coast Migrating SharePoint 2007 Solutions to ...
 
Share Point Development With Vs10
Share Point Development With Vs10Share Point Development With Vs10
Share Point Development With Vs10
 
Mai Omar Desouki - SharePoint 2010 ITPRO
Mai Omar Desouki - SharePoint 2010 ITPROMai Omar Desouki - SharePoint 2010 ITPRO
Mai Omar Desouki - SharePoint 2010 ITPRO
 
Sharepoint designer workflow by quontra us
Sharepoint designer workflow by quontra usSharepoint designer workflow by quontra us
Sharepoint designer workflow by quontra us
 
Workflow in SharePoint 2010
Workflow in SharePoint 2010Workflow in SharePoint 2010
Workflow in SharePoint 2010
 
SharePoint Developer Education Day Palo Alto
SharePoint  Developer Education Day  Palo  AltoSharePoint  Developer Education Day  Palo  Alto
SharePoint Developer Education Day Palo Alto
 
Using Visual Studio to Build SharePoint 2010 Solutions
Using Visual Studio to Build SharePoint 2010 SolutionsUsing Visual Studio to Build SharePoint 2010 Solutions
Using Visual Studio to Build SharePoint 2010 Solutions
 
What’s New for Devs
What’s New for DevsWhat’s New for Devs
What’s New for Devs
 
SharePoint Saturday Workflow in Action
SharePoint Saturday Workflow in ActionSharePoint Saturday Workflow in Action
SharePoint Saturday Workflow in Action
 
Visual Studio 2010 for SharePoint Developers
Visual Studio 2010 for SharePoint DevelopersVisual Studio 2010 for SharePoint Developers
Visual Studio 2010 for SharePoint Developers
 
Migrating to SharePoint 2013 - Business and Technical Perspective
Migrating to SharePoint 2013 - Business and Technical PerspectiveMigrating to SharePoint 2013 - Business and Technical Perspective
Migrating to SharePoint 2013 - Business and Technical Perspective
 
Updating Legacy SharePoint Customizations to the Add-in Model
Updating Legacy SharePoint Customizations to the Add-in ModelUpdating Legacy SharePoint Customizations to the Add-in Model
Updating Legacy SharePoint Customizations to the Add-in Model
 
SharePoint 2010 Application Development
SharePoint 2010 Application DevelopmentSharePoint 2010 Application Development
SharePoint 2010 Application Development
 
SharePoint 2010 - What's New?
SharePoint 2010 - What's New?SharePoint 2010 - What's New?
SharePoint 2010 - What's New?
 
2010preparingforupgradeoleson
2010preparingforupgradeoleson2010preparingforupgradeoleson
2010preparingforupgradeoleson
 
SharePoint Development For Asp Net Developers
SharePoint Development For Asp Net DevelopersSharePoint Development For Asp Net Developers
SharePoint Development For Asp Net Developers
 

Mehr von Elaine Van Bergen

What's New in Office 365 - SPSSyd
What's New in Office 365 - SPSSydWhat's New in Office 365 - SPSSyd
What's New in Office 365 - SPSSydElaine Van Bergen
 
Sps bris - Customising Office 365 on the Client side
Sps bris - Customising Office 365 on the Client sideSps bris - Customising Office 365 on the Client side
Sps bris - Customising Office 365 on the Client sideElaine Van Bergen
 
Dealing with and learning from the sandbox
Dealing with and learning from the sandboxDealing with and learning from the sandbox
Dealing with and learning from the sandboxElaine Van Bergen
 
Dealing with and learning from the sandbox
Dealing with and learning from the sandboxDealing with and learning from the sandbox
Dealing with and learning from the sandboxElaine Van Bergen
 
SharePoint Saturday - Sandbox development
SharePoint Saturday - Sandbox developmentSharePoint Saturday - Sandbox development
SharePoint Saturday - Sandbox developmentElaine Van Bergen
 
Design and Development performance considerations
Design and Development performance considerationsDesign and Development performance considerations
Design and Development performance considerationsElaine Van Bergen
 
Building Workflows for SharePoint 2010 with SharePoint Designer and Visio
Building Workflows for SharePoint 2010 with SharePoint Designer and VisioBuilding Workflows for SharePoint 2010 with SharePoint Designer and Visio
Building Workflows for SharePoint 2010 with SharePoint Designer and VisioElaine Van Bergen
 
Maximise the benefits of a SharePoint platform using metric based governance
Maximise the benefits of a SharePoint platform using metric based governanceMaximise the benefits of a SharePoint platform using metric based governance
Maximise the benefits of a SharePoint platform using metric based governanceElaine Van Bergen
 
Getting Started With Share Point 2010
Getting Started With Share Point 2010Getting Started With Share Point 2010
Getting Started With Share Point 2010Elaine Van Bergen
 
Governance Configure Customise Code
Governance Configure Customise CodeGovernance Configure Customise Code
Governance Configure Customise CodeElaine Van Bergen
 

Mehr von Elaine Van Bergen (13)

SharePoint 2016
SharePoint 2016SharePoint 2016
SharePoint 2016
 
O365 Sydney - Hybrid Dev
O365 Sydney - Hybrid DevO365 Sydney - Hybrid Dev
O365 Sydney - Hybrid Dev
 
What's new 365 - Com Camp
What's new 365 - Com CampWhat's new 365 - Com Camp
What's new 365 - Com Camp
 
What's New in Office 365 - SPSSyd
What's New in Office 365 - SPSSydWhat's New in Office 365 - SPSSyd
What's New in Office 365 - SPSSyd
 
Sps bris - Customising Office 365 on the Client side
Sps bris - Customising Office 365 on the Client sideSps bris - Customising Office 365 on the Client side
Sps bris - Customising Office 365 on the Client side
 
Dealing with and learning from the sandbox
Dealing with and learning from the sandboxDealing with and learning from the sandbox
Dealing with and learning from the sandbox
 
Dealing with and learning from the sandbox
Dealing with and learning from the sandboxDealing with and learning from the sandbox
Dealing with and learning from the sandbox
 
SharePoint Saturday - Sandbox development
SharePoint Saturday - Sandbox developmentSharePoint Saturday - Sandbox development
SharePoint Saturday - Sandbox development
 
Design and Development performance considerations
Design and Development performance considerationsDesign and Development performance considerations
Design and Development performance considerations
 
Building Workflows for SharePoint 2010 with SharePoint Designer and Visio
Building Workflows for SharePoint 2010 with SharePoint Designer and VisioBuilding Workflows for SharePoint 2010 with SharePoint Designer and Visio
Building Workflows for SharePoint 2010 with SharePoint Designer and Visio
 
Maximise the benefits of a SharePoint platform using metric based governance
Maximise the benefits of a SharePoint platform using metric based governanceMaximise the benefits of a SharePoint platform using metric based governance
Maximise the benefits of a SharePoint platform using metric based governance
 
Getting Started With Share Point 2010
Getting Started With Share Point 2010Getting Started With Share Point 2010
Getting Started With Share Point 2010
 
Governance Configure Customise Code
Governance Configure Customise CodeGovernance Configure Customise Code
Governance Configure Customise Code
 

Kürzlich hochgeladen

The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Ryan Mahoney - Will Artificial Intelligence Replace Real Estate Agents
Ryan Mahoney - Will Artificial Intelligence Replace Real Estate AgentsRyan Mahoney - Will Artificial Intelligence Replace Real Estate Agents
Ryan Mahoney - Will Artificial Intelligence Replace Real Estate AgentsRyan Mahoney
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 

Kürzlich hochgeladen (20)

The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Ryan Mahoney - Will Artificial Intelligence Replace Real Estate Agents
Ryan Mahoney - Will Artificial Intelligence Replace Real Estate AgentsRyan Mahoney - Will Artificial Intelligence Replace Real Estate Agents
Ryan Mahoney - Will Artificial Intelligence Replace Real Estate Agents
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 

SharePoint 2010 Development

  • 2. SharePointDesignerImprovements Add lists, columns, forms , custom actions without the need to go to the browser. Fine grained designer control SPD work migrates to Visual Studio 2010 SPD customization work exported to .wsp files .wsp files imported into Visual Studio
  • 5. PowerShell 2007 administration = STSADM.EXE + extensions and console applications Replaced with PowerShell PowerShell support effectively replaces STSADM.EXE SharePoint admins/devs must learn PowerShell basics You can write powerful scripts against WSS OM You can develop custom PowerShell snap-ins
  • 7. PowerShell 101 Get-Command -pssnapinMicrosoft.SharePoint.PowerShell Get-Help Get-SPSite Get-Help Get-SPSite–Examples Get-Command -noun "SPService*" | Sort Noun | Select Noun –Unique Get-Command -noun "SPService*" | Sort Noun | Select Noun –Unique > text.txt
  • 10. Visual Studio 2010 SharePoint Tools End-to-end SharePoint 2010 developer story SharePoint Explorer for site exploration SharePoint 2010 project and item templates Visual designers for core scenarios Migration path for Visual Studio 2008 for WSS 3.0 Extensible by 3rd party developers Benefits to SharePoint developers Abstracts away details of RootFiles directory Abstracts away details of building .wsp file Lessens/eliminates need for external utilities
  • 11. Demo – VS 2010
  • 12. Feature Improvements Feature Versioning & Upgrade (ALM) New Events Workflow Association Property Bag UI Version Web Templates New custom action options
  • 13. Feature Versioning & Upgrade Version Range – BeginVersion/EndVersion Upgrade Elements CustomUpgradeAction Parameters ApplyElementManifest MapFile – FromPath/ToPath AddContentTypeField
  • 15. EventsAdded… Site Events SiteDeleting/SiteDeleted WebDeleting/WebDeleted WebMoving/WebMoved WebAdding/WebProvisioned List Events EmailReceived FieldAdding/FieldAdded FieldUpdating/FieldUpdated FieldDeleting/FieldDeleted ListAdding/ListAdded ListDeleting/ListDeleted Item Events ContextEvent ItemAdding/ItemAdded ItemUpdating/ItemUpdated ItemDeleting/ItemDeleted ItemCheckingIn/ItemCheckedIn ItemCheckingOut/ItemCheckedOut ItemUncheckingOut/ItemUncheckedOut ItemAttachmentAdding/ItemAttachmentAdded ItemAttachmentDeleting/ItemAttachmentDeleted ItemFileMoving/ItemFileMoved ItemFileConverted Workflow Events WorkflowStarting/WorkflowStarted WorkflowPostponed WorkflowCompleted
  • 16. Post Synchronous Events WSS 3.0 “after” events are exclusively asynchronous Problem when wanting to do post processing after item submitted, but before displaying to user SPF 4.0 adds new property on receiver definition to change “after” event to synchronous SPEventReceiverDefinition.Synchronization
  • 17. Event Impersonation Improvements WSS 3.0 events run in context of user who triggered the event Certain things trigger events to run under System Account (workflow, etc), but doesn’t permit reverting back to user who triggered action SPF 4.0 now adds the originating user & user token on SPEventPropertiesBase
  • 18. Feature Property Bag Promote Feature Properties into Web/Site property bag Root web Web Folder List Item No direct VS designer support Updates value if exists, otherwise adds Types enforced: DateTime, Int32
  • 19. Web Templates Replacement and Improved Framework for STP -- Save as Template->WSP Exports everything +content(optional) +onet.xml Stored in Solution Gallery or at the Farm $ListId:Lists/someListName Considerations Use VS WSP import to trim or ‘featurize’ items Web Templates are Features and can be upgraded
  • 20. Relational Lists: Joins With relational lists, SPF 4.0 adds support for joins Joins can only be implemented by developers using the API, CAML or SharePoint Designer 2010 New properties on SPQuery: SPQuery.Join SPQuery.ProjectedFields Use SPLinq instead of CAML to join two lists in code
  • 21. Querying Large Lists If throttling is enabled & list limit exceeded threshold, users won’t be able to query lists by default via API Can override querying the large list settings provided Web App configured to allow it Override using: SPQuery.RequestThrottleOverride SPSiteDataQuery.RequestThrottleOverride Only users with proper permissions get override ability (set via policies)
  • 22. Content Iterator SPQuery query = new SPQuery(); query.Query = "<Where><Eq><FieldRef Name=quot;MyIndexedFieldquot;/><Value Type=quot;Textquot;>FieldValue</Value></Eq></Where>" + ContentIterator.ItemEnumerationOrderByNVPField; ContentIteratorci = new ContentIterator();ci.MaxItemsPerQuery = 500; ci.ProcessItemsInList(query, delegate(SPListItemitem) { // Work on each item. }, delegate(SPListItemitem, Exception e) { // Handle an exception that was thrown while iterating. // Return true so that ContentIteratorrethrows the exception. return true; } );

Hinweis der Redaktion

  1. SharePoint Designer has gone through many significant changes and is now a solid development toolSharePoint objects such as lists and workflow associations are seen as first class objects in the new UIEach SharePoint object has a summary pageThe new workflow designer is much more powerfulSPD can create reusable workflows – this was a big problem in SPD 2007Prototypes created in SPD can be migrated into Visual Studio 2010
  2. The SharePoint team has now gotten in line with many other server product teams at Microsoft and made SharePoint Server 2010 completely administrate-able through PowerShell scriptsBoth dev’s and admins need to get to know powershell, as a dev it will replace some of the console admin apps typically written as well as setup and tear down scripts for deployments.
  3. Windowspowershell plus load snapinSharePoint management shell from sharepoint menuISE – can limited debugVisual studio for custom cmdlet creation + third party tools
  4. Get all sharepoint commands
  5. The developer dashboard has been introduced with SharePoint Server 2010. It shows diagnostics and performance-related statistics.How long did the request take to run?What event handlers were fired?In what sequence did these event handlers fire?At the moment is enabled via code/powershell. Can be set to on , off or ondemand
  6. The Visual Studio 2010 SharePoint Tools (SPT) represents a significant step forward for professional developers using SharePoint. SharePoint Explorer fallows quick exploration through a siteThis makes it possible to launch browser at specific place within siteSharePoint 2010 introduce a new project structure as well as project tmplates and project item templates. There are designers to create things like features and solution packages.One of the most appealing aspects of SPT is that it is extensibleYou can add your own custom project templates and item templatesYou can add menu commands into the Visual Studio UI.
  7. Version Range denotes the target version to upgrade. Any feature with this version or newer, or where a version does not exist will be upgraded to the EndVersion. The feature version is updated to reflect this new EndVersion.ApplyElementManifest – allows for an additional manifest file to be added to the featureCustomUpgradeAction -- allows for the passing of one or more parameters to a feature receiver’s FeatureUpgrading method.AddContentTypeField – Adds a new field to a provisioned content type. The element takes a ContentTypeId, FieldId, and a bool PushDown which denotes ifThe system should propagates the change to child lists and content types. (Optional)MapFile – Maps a file that has not been customized to a different path on the front-end web server or to simply rename a file. V2V Upgrade most likely scenario.
  8. Highlight that code may run well after you intended e.g. when feature is enabled on site b the first version will run, then the upgrading code.If lots of versions have been incremented this could be a lot of code to run onfeature activation.
  9. WebAdding/ WebProvisioned only fired for sub webs, not for the root web of the site collection.Plus despite naming they are a pair sync and async.
  10. SPF 4.0 introduces concept of synchronous post-eventsAllows developer to do a little post-processing after the commit of the action, but before user is presented with the result of the post
  11. In WSS 3.0 when a workflow triggered an event by adding/changing something in a task list, the task item’s identity would be the system account that executed the workflowIn SPF 4.0 the same is true, but the SPEventPropertiesBase now contains properties that contain the user name &amp; user token of the person who actually triggered the effective action (like started the workflow)
  12. An elements manifest (eg. elements.xml) file can contain a new element section called PropertyBag. This element allows key/value pairs to be promoted into their parent object such as a web, sub web, folder, list item, or file (note no List object here). This allows the developer to avoid writing code which promotes feature properties into property bag elements of these objects. Each value is added to or updated within the Hashtable object which implements the property bag at the parent. Currently two type DateTime and Int32 are enforced in that if the current value is of either of these types for any key which exists an update to these values need to be of the same time or the value in the Hashtable will be set to NULL.Note supported: Farm, WebApplication, ..ListSo this means this will not work for a Farm or WebApplication feature, only supported scope Web.
  13. All of the information is saved as a real solution which VS can open. Developers can build on top of.There is a tie back, they were created from the same WSP, they get the new functionality, features, etc.WebTemplate feature Element – provides a way to deploy site collection specific site definitions. WebTemplate has it’s own site definition (onet.xml), which is merged with the oob site definition template.$ListId:Lists/Announcements – replaced with list GUID when provisioned – this new options is utilize as part of the wsp saving process. You can also utilize this by your self, which provides you a way to customize the view aspx pages etc.
  14. Finally support for joins! Joins can be implemented using CAML query, but much easier to use LINQ CAML schema updated to support LINQ based joins LINQ will generate the CAML under the covers… LINQ much easier to write than new CAML schema Can also create joins via API using two new properties: SPQuery.Join &amp; SPQuery.ProjectedFields
  15. Throttled lists, which is triggered by exceeding the upper limit, will cause queries with a result set in excess of the upper limit to throw an exceptionHowever, this can be overridden by users with required permissions via code
  16. Ensure you include one of the three OrderBy clauses—ContentIterator.ItemEnumerationOrderByID, ContentIterator.ItemEnumerationOrderByPath, or ContentIterator.ItemEnumerationOrderByNVPField—that enables the index to be used.Without an OrderBy clause, your query could be blocked. SharePoint Server 2010 adds a default OrderBy clause that orders by content type, which ensures that folders are returned before list items. Unless you override this behavior with one of the three OrderBy clauses listed above, your query cannot take full advantage of using indexed fields, and it will be blocked whenever the query is not designed to be restrictive enough to return fewer than the maximum number of items. The following code example shows how to use the ContentIterator.ItemEnumerationOrderByNVPField clause. The example assumes that you are querying an indexed field.
  17. Ensure you include one of the three OrderBy clauses—ContentIterator.ItemEnumerationOrderByID, ContentIterator.ItemEnumerationOrderByPath, or ContentIterator.ItemEnumerationOrderByNVPField—that enables the index to be used.Without an OrderBy clause, your query could be blocked. SharePoint Server 2010 adds a default OrderBy clause that orders by content type, which ensures that folders are returned before list items. Unless you override this behavior with one of the three OrderBy clauses listed above, your query cannot take full advantage of using indexed fields, and it will be blocked whenever the query is not designed to be restrictive enough to return fewer than the maximum number of items. The following code example shows how to use the ContentIterator.ItemEnumerationOrderByNVPField clause. The example assumes that you are querying an indexed field.