Difference between revisions of "MOSS 2007"

From Richard's Wiki
Jump to: navigation, search
(SharePoint 2010 HowTos)
 
(2 intermediate revisions by the same user not shown)
Line 20: Line 20:
 
=== MOSS & Silverlight ===
 
=== MOSS & Silverlight ===
 
* [http://blogs.msdn.com/andreww/archive/2009/03/12/silverlight-web-part-in-sharepoint.aspx Silverlight Web Part in SharePoint (blogs.msdn)]
 
* [http://blogs.msdn.com/andreww/archive/2009/03/12/silverlight-web-part-in-sharepoint.aspx Silverlight Web Part in SharePoint (blogs.msdn)]
 
=== SharePoint 2010 Resources ===
 
* [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/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-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 (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://code.msdn.microsoft.com/sps2010deprecated Microsoft SharePoint Server 2010: Deprecated Types and Methods]
 
* [http://visualstudiomagazine.com/articles/2009/10/29/sharepoint-2010-dev-center-readies-bcs-resources.aspx SharePoint 2010 Dev Center Ramps Up, Adds BCS Resources (Visual Studio Magazine)]
 
* [http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx Setting Up the Development Environment for SharePoint Server (MSDN, for SP2010) http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx]
 
* [http://blogs.msdn.com/arpans/archive/2009/12/02/sharepoint-2010-training.aspx SharePoint 2010 Training (Arpan Shah's blogs.msdn.com)]
 
* [http://www.microsoft.com/downloads/details.aspx?FamilyID=cffb14e8-88a9-43bd-87aa-4792ab60d320&displaylang=en SharePoint 2010: Professional Developer Evaluation Guide and Walkthroughs (Microsoft Document Download)]
 
* [http://wssv4faq.mindsharp.com/Lists/v4FAQ/V%20Books.aspx SharePoint 2010 Books list]
 
 
* [http://www.toddbaginski.com/blog/archive/2009/11/20/which-sharepoint-2010-site-template-is-right-for-me.aspx Which SharePoint 2010 Site Template Is Right For Me?]
 
 
* [http://www.harbar.net/articles/sp2010sa2.aspx In a Nutshell: SharePoint 2010 Service Applications]
 
 
===== BCS =====
 
* [http://www.zimmergren.net/archive/2010/01/18/sp-2010-getting-started-with-business-connectivity-services-bcs-in-sharepoint-2010.aspx SP 2010: Getting started with Business Connectivity Services (BCS) in SharePoint 2010 ]
 
 
=== 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://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)] and [http://www.cleverworkarounds.com/2007/10/25/dcom-fun-with-sharepoint/ DCOM Fun with SharePoint] Event Log error:
 
Description:
 
The application-specific permission settings do not grant Local
 
Activation permission for the COM Server application with CLSID
 
{61738644-F196-11D0-9953-00C04FD919C1} to the user l SID
 
(S-1-5-21-573225893-205518295-00000000000-00000). This security
 
permission can be modified using the Component Services
 
administrative tool.
 
 
=== SharePoint 2010 HowTos ===
 
* [http://msdn.microsoft.com/en-us/library/ff597538.aspx Connect Web Parts in SharePoint 2010 (MSDN)]
 
* [http://www.zimmergren.net/archive/2010/01/18/sp-2010-getting-started-with-business-connectivity-services-bcs-in-sharepoint-2010.aspx Connect to SQL Server, .Net Objects & WCF Services using BCS in SP2010]
 
* '''Save as Template URL:''' /_layouts/savetmpl.aspx
 
* '''Solution Gallery Solutions URL:''' /_catalogs/solutions
 
* '''SharePoint 2010 Won't Open PDFs''' - Select Manage Web Applications in Central Administration. Select the web application you want to change from the list and click General Settings from the Ribbon. There is a setting called Browser File Handling and by default it is set to strict.  This causes additional HTTP headers to be injected which in my case blocks the opening of PDF files. Switching that to permissive will allow things to function like they did in SharePoint 2007, specifically PDFs will open up in browser instead of having to save them.
 
 
=== SharePoint 2010 Snippets ===
 
* [http://blog.drisgill.com/2009/11/sp2010-branding-tip-4-easily-show.html Easily show a Favicon in SharePoint 2010]
 
* [http://www.zimmergren.net/archive/2010/01/19/sp-2010-programmatically-work-with-external-lists-bcs-in-sharepoint-2010.aspx Programmatically work with External Lists (BCS) in SharePoint 2010]
 
* [http://socialsp.com/2009/12/11/having-fun-with-the-new-linq-to-sharepoint-on-sharepoint-2010-sp2010/ Having fun with the new LINQ to SharePoint on SharePoint 2010 (SP2010)]
 
* [http://dotnet.sys-con.com/node/1299753 Deploying an External List via Feature Using CAML (SP2010)]
 
* [http://msdn.microsoft.com/en-us/library/dd584174(office.11).aspx Creating a Web Part with Custom Properties]
 
* To add a custom property to an SP2010 web part, add the following to the WebPart.cs source code file, the one which extends System.Web.UI.WebControls.WebParts.WebPart (see [http://httpcode.com/blogs/PermaLink,guid,357e4853-9a75-4962-ad68-1e07bcf40bb8.aspx SharePoint 2010 Visual Web Parts]
 
<code>
 
[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; }
 
</code>
 
 
=== SharePoint 2010 & Silverlight ===
 
* [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://praveenbattula.blogspot.com/2010/03/sharepoint-2010-silverlight-client.html SharePoint 2010 Silverlight Client Object Model - How to use]
 
** [http://blah.winsmarts.com/2009-12-ClientContextCurrent_is_null_in_Silverlight.aspx In Silverlight, ClientContext.Current is null - how to fix it]. In your Silverlight Object Tag, add the following:
 
<code>
 
  "<param name=\"initParams\" value=\"MS.SP.url=" + SPContext.Current.Site.Url + "\" />"
 
</code>
 
 
* Turn on the Developer Dashboard by running the following stsadm command:
 
<code>
 
stsadm -o setproperty -pn developer-dashboard -pv OnDemand
 
</code>
 
* In VS2010, can make the following changes to
 
** Elements.xml: change the <pre><Property Name="Group" Value="Custom" /></pre> to something other than Custom.
 
** Webpart.webpart (webPartIcon is 16x16):
 
<pre>
 
  <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>
 
</pre>
 
** 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.
 

Latest revision as of 18:12, 5 May 2011

Some MOSS Resources

MOSS & Silverlight