Difference between revisions of "MOSS 2007"

From Richard's Wiki
Jump to: navigation, search
(SharePoint 2010 Snippets)
(SharePoint 2010 & Silverlight)
Line 54: Line 54:
 
* [http://bryantlikes.com/GettingStartedWithSilverlightAndSharePoint2010.aspx Getting Started With Silverlight and SharePoint 2010]
 
* [http://bryantlikes.com/GettingStartedWithSilverlightAndSharePoint2010.aspx Getting Started With Silverlight and SharePoint 2010]
 
* [http://www.sharepointkings.com/2009/07/understanding-and-working-with-web-part.html Modify WebPart menu (Understanding and working with Web Part Verbs)]
 
* [http://www.sharepointkings.com/2009/07/understanding-and-working-with-web-part.html Modify WebPart menu (Understanding and working with Web Part Verbs)]
 +
* [http://praveenbattula.blogspot.com/2010/03/sharepoint-2010-silverlight-client.html SharePoint 2010 Silverlight Client Object Model - How to use]
 
* Turn on the Developer Dashboard by running the following stsadm command:
 
* Turn on the Developer Dashboard by running the following stsadm command:
 
<code>
 
<code>

Revision as of 00:19, 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.