Difference between revisions of "MOSS 2007"

From Richard's Wiki
Jump to: navigation, search
(SharePoint 2010 HowTos)
(SharePoint 2010 Exceptions)
Line 45: Line 45:
 
=== SharePoint 2010 Exceptions ===
 
=== SharePoint 2010 Exceptions ===
 
* [http://blogs.technet.com/b/stefan_gossner/archive/2010/05/10/common-problem-with-sharepoint-2010-system-security-cryptography-cryptographicexception-keyset-does-not-exist.aspx Common problem with SharePoint 2010: System.Security.Cryptography.CryptographicException - Keyset does not exist]
 
* [http://blogs.technet.com/b/stefan_gossner/archive/2010/05/10/common-problem-with-sharepoint-2010-system-security-cryptography-cryptographicexception-keyset-does-not-exist.aspx Common problem with SharePoint 2010: System.Security.Cryptography.CryptographicException - Keyset does not exist]
 +
* [http://www.wictorwilen.se/Post/Fix-the-SharePoint-DCOM-10016-error-on-Windows-Server-2008-R2.aspx Fix the SharePoint DCOM 10016 error on Windows Server 2008 R2 (AppId 61738644-F196-11D0-9953-00C04FD919C1)]
  
 
=== SharePoint 2010 HowTos ===
 
=== SharePoint 2010 HowTos ===

Revision as of 22:40, 27 July 2010

Some MOSS Resources

MOSS & Silverlight

SharePoint 2010 Resources

BCS

SharePoint 2010 Exceptions

SharePoint 2010 HowTos

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.