Building a SharePoint Solution Brick By Brick


Published on

In this SP

Published in: Technology, Business
  • Be the first to comment

  • Be the first to like this

Building a SharePoint Solution Brick By Brick

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