Difference between revisions of "MOSS 2007"

From Richard's Wiki
Jump to: navigation, search
(SharePoint 2010 Resources)
(SharePoint 2010 Resources)
Line 24: Line 24:
 
* [http://mssharepointdeveloper.com/ mssharepointdeveloper.com]
 
* [http://mssharepointdeveloper.com/ mssharepointdeveloper.com]
 
* [http://msdn.microsoft.com/en-us/library/dd776256.aspx SharePoint 2010 MSDN Reference pages]
 
* [http://msdn.microsoft.com/en-us/library/dd776256.aspx SharePoint 2010 MSDN Reference pages]
 +
** [http://msdn.microsoft.com/en-us/library/ee537855(v=office.14).aspx Object Model Hierarchy and Identity]
 
** [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]

Revision as of 23:41, 7 April 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

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.