Friday, August 20, 2010

Standard for sharepoint development


My Current SharePoint Development Standards List
General
  • All custom SharePoint work must be deployed through SharePoint solutions (.wsp files)
  • All functionality and customizations must be documented
  • Site and list templates must be created through code and features (site and list definitions). STP files are not allowed as they are not updatable.
Code
12 Hive Deployment
  • No out of the box SharePoint files in the 12 hive will be overwritten
  • Images deployed must be deployed into an RGA/ProjectName folder
SharePoint Designer
  • SharePoint designer updates are generally not allowed. The only exception to this rule is for creating DataForm web parts.
  • DataForm web parts must be exported through the SharePoint GUI and solution packaged for deployment as a feature.
  • Editing out of the box master pages is not allowed. Instead, duplicate an existing master page, make edits, then solution package the master page for feature deployment.
  • No SharePoint Designer created workflows. These are not portable and cannot be packaged for solution deployment.
InfoPath
  • custom ASPX forms are preferred over InfoPath forms. They are easier to support, debug, and upgrade.
  • InfoPath forms must be browser compatible. We run all our InfoPath forms deployed through forms services through the browser.
  • If the InfoPath form has code behind or needs full trust it must be solution packaged and deployed through central admin.
  • If InfoPath form does not have code behind and does not need full trust the form can be manually published to a document library, but the process and location of the document library must be documented inside the form. Just add the documentation text into a section control at the top of the form and set conditional formatting on that section to always hide the section, that way users will never see it.

No comments:

Post a Comment