Difference between revisions of "MOSS 2007"

From Richard's Wiki
Jump to: navigation, search
(SharePoint 2010 Resources)
(SharePoint 2010 & Silverlight)
Line 37: Line 37:
 
  stsadm -o setproperty -pn developer-dashboard -pv OnDemand
 
  stsadm -o setproperty -pn developer-dashboard -pv OnDemand
 
</code>
 
</code>
 +
* In VS2010, can make the following changes to
 +
** Webpart.webpart:
 +
<code>
 +
  <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>
 +
</code>
 +
* 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.

Revision as of 19:07, 17 February 2010

Some MOSS Resources

MOSS & Silverlight

SharePoint 2010 Resources

SharePoint 2010 & Silverlight

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

  • In VS2010, can make the following changes to
    • Webpart.webpart:

 <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.