Difference between revisions of "MOSS 2007"

From Richard's Wiki
Jump to: navigation, search
(SharePoint 2010 Resources)
(SharePoint 2010 Resources)
Line 27: Line 27:
 
** [http://msdn.microsoft.com/en-us/library/ee536622(v=office.14).aspx Client Class Library]
 
** [http://msdn.microsoft.com/en-us/library/ee536622(v=office.14).aspx Client Class Library]
 
* [http://msdn.microsoft.com/en-au/sharepoint/ee514561.aspx SharePoint 2010 (Beta) Developer Center]
 
* [http://msdn.microsoft.com/en-au/sharepoint/ee514561.aspx SharePoint 2010 (Beta) Developer Center]
* [http://www.microsoft.com/downloads/details.aspx?FamilyID=bfd1603b-7550-4b8e-be85-4215a5069b90&displaylang=en Sharepoint 2010 Beta Developer Training Kit]
+
* [http://www.microsoft.com/downloads/details.aspx?FamilyID=bfd1603b-7550-4b8e-be85-4215a5069b90&displaylang=en Sharepoint 2010 Beta (OBSOLETE) Developer Training Kit]
 
* [http://www.microsoft.com/downloads/details.aspx?familyid=83A80A0F-0906-4D7D-98E1-3DD6F58FF059&displaylang=en Sharepoint 2010 Developer Training Kit]
 
* [http://www.microsoft.com/downloads/details.aspx?familyid=83A80A0F-0906-4D7D-98E1-3DD6F58FF059&displaylang=en Sharepoint 2010 Developer Training Kit]
 
* [http://code.msdn.microsoft.com/sps2010deprecated Microsoft SharePoint Server 2010: Deprecated Types and Methods]
 
* [http://code.msdn.microsoft.com/sps2010deprecated Microsoft SharePoint Server 2010: Deprecated Types and Methods]

Revision as of 04:19, 12 June 2010

Some MOSS Resources

MOSS & Silverlight

SharePoint 2010 Resources

SharePoint 2010 Snippets

[System.Web.UI.WebControls.WebParts.WebBrowsable(true)]
[System.Web.UI.WebControls.WebParts.WebDisplayName("Custom Property")]
[System.Web.UI.WebControls.WebParts.WebDescription("A test Custom property.")]
[System.Web.UI.WebControls.WebParts.Personalizable(PersonalizationScope.User)]
[System.ComponentModel.Category("Settings")]
[System.ComponentModel.DefaultValue("Default String Value")]
public string CustomProp { get; set; }

SharePoint 2010 & Silverlight

 "<param name=\"initParams\" value=\"MS.SP.url=" + SPContext.Current.Site.Url + "\" />"

  • Turn on the Developer Dashboard by running the following stsadm command:

stsadm -o setproperty -pn developer-dashboard -pv OnDemand

  • In VS2010, can make the following changes to
    • Elements.xml: change the
      <Property Name="Group" Value="Custom" />
      to something other than Custom.
    • Webpart.webpart (webPartIcon is 16x16):
  <property name="ChromeType" type="chrometype">TitleAndBorder</property>
  <property name="CatalogIconImageUrl" type="string">_layouts/images/ContosoWebParts/WebPartIcon.gif</property>
  <property name="TitleIconImageUrl" type="string">_layouts/images/ContosoWebParts/WebPartIcon.gif</property>
    • Elements.xml, modify the URL attribute of File element to change the .webpart file name to ensure that it is unique. Do this by prepending the text value of "ContosoWebParts_" (ie Feature project name) to the beginning of the URL property value.