Upload
planet-technologies
View
862
Download
4
Embed Size (px)
DESCRIPTION
In this SP
Citation preview
Building a Solution Brick by BrickBecky Isserman,Planet Technologies,http://www.mosslover.com
Tools• Visual Studio 2010• SharePoint Designer 2010• InfoPath Designer 2010• SharePoint 2010
Visual Studio 2010• Several New Built In Templates• Some XML Intellisense• New Feature Design• Visual Web parts• WSP Package Imports• No DDF Files
Starting a New Solution• Create a blank solution• Popup• Sandbox• Farm
• Stapling very easy to add – button• Automatically creates feature.xml File• Can add features easy in the guid
• Automatically creates package• Can add features to package easy
Demo• Create New Blank Solution
Site Columns• No template available• No Intellisense for column type• GUID for columns not auto generated• Use GuidGen.exe• Webpage that auto-generates guids
• Lots of copy and paste
Demo• Create Site Columns
Content Type• Template available• Drop down list with all content types on the development site• Can use custom content type to generate off• Need to make sure custom content type is deployed if there is a
dependency• ID automatically created
Demo• Content Type Creation
List Instance• Template available• Choose your new content type in the drop down• Automatically adds content type binding
• No way in xml to remove Item Content Type
Demo• List Instance
Feature Receiver• Create a Feature• Right click on the feature for “Event Receiver”• Five Receivers• FeatureActivated• FeatureDeactivating• FeatureUpgrading - New• FeatureUninstalling• FeatureInstalled
• Can create manifest properties easily
Demo• Feature Receiver
Features and Packages• Only creates one feature• Must create more features by right clicking on feature folder
• Creates all elements files as elements.xml• No folders to store different item types• Must go into features and change names• Adds all the items to the last feature created – must remove
and re-arrange
Features and Packages• If new project templates are added wrong they cannot be
removed• Huge deployment issues
• Need to re-learn SharePoint Development again• New event receivers available for Sites, Libraries, and Lists• Saves time on development
InfoPath 2010 List Forms• Must Turn on Enterprise Features• Does not work with SharePoint Server Standard or Foundation• Relies on Forms Server
• New button on ribbon to “Customize Form”• Cannot Publish Form again if moved• Must re-open on new site and edit
InfoPath 2010 List Forms• Quick Publish and Publish work• Lookup Fields Do Not Work well• Can create text fields with a drop down to a data source
• Restoring a Template• InfoPath Data Sources are relative to new site• Works 100%
• Repeating Sections not friendly with forms• Cannot use with SSL without certificate
Demo• Create InfoPath Form
SharePoint Designer 2010• Can create “Reusable Workflows”• Site Collection Workflows
• Can create “Globally Reusable Workflows”• Reusable in all Site Collections• Can save as a template for deployment as a sandbox or farm
solution• Cannot use lookups
SharePoint Designer 2010• Issue with Globally Reusable Workflows• Sometimes dates are null• Fix – List workflows
• List workflows are not reusable• Attached only to lists
• Site workflows
SharePoint Designer 2010• Can add custom InfoPath 2010 Forms• Have to update each form when workflow variables updated
• Can create workflows in Visio Premium• Can import reusable workflows to Visual Studio 2010• Cannot reference other lists in Globally Reusable Workflows
SharePoint Designer 2010• New Actions• Log History• Approval• Collect Feedback• Find Manager of User if field populated in profiles
• Workflows are saved in Site Templates for reuse• Moving a template does not break workflows
Demo• SharePoint Designer Workflow
Conclusion• Create InfoPath Form not a List Form• Deploy template and any other packages• Activate Feature• Activate template• Choose template• Test Solution
Thank You and Contact Info• Name: Becky Isserman• Email: [email protected]• Blog: http://www.mosslover.com• Twitter: @mosslover• Company: Planet Technologies• Company Url: http://www.go-planet.com