Archives
-
SPMetal and Publishing Field in Sharepoint
For a reason I don’t know, when you try to generate entity classes for your sharepoint site, SPMetal doesn’t generate property for Publishing field. Imagine a field declare like that : <Field ID=”{B126F0CB-C1C3-476E-A499-80528707A784}” Name=”Comments” DisplayName=”Comments” Type=”HTML” RichText=”TRUE” RichTextMode=”FullHtml” Required=”TRUE” /> Here is a solution to this problem. Create a partial class for accessing your list [...]
Oct 4th, 2011 | Filed under Sharepoint, SP2010Tags: Publishing, SPMetal -
Office and Sharepoint : Trouble with Datasheet View mode
In most cases, users will only need the 32bits version of Office and Microsoft recommends to install it whereas the 64 bits. Why ? Because in some scenarios, Office 64bits should have some trouble interacting with Sharepoint 2010 for example. The unability to display a list in Datasheet View mode is one of the trouble [...]
Apr 12th, 2011 | Filed under SP2010, Tips/Tricks -
MCPD Sharepoint 2010 Development
1 month ago, I pass the certification exam to become MCPD Sharepoint in Development.
Apr 10th, 2011 | Filed under Sharepoint, SP2010Tags: Certification -
[WCF] This collection already contains an address with scheme http
I encountered a little error yesterday, trying to use a wcf service hosted in Sharepoint. The error occured when I tried to look at the service description, the error was : This collection already contains an address with scheme http. There can be at most one address per scheme in this collection. After some research, [...]
Apr 8th, 2011 | Filed under SP2010 -
Get Central administration Url from Powershell
Just for memory, here is the command to find the url of the central administration of a Sharepoint 2010 : Get-spwebapplication -includecentraladministration | where {$_.DisplayName -eq “SharePoint Central Administration v4″} | select Url A very simple query, isn’t it ?
Mar 31st, 2011 | Filed under PowerShell, SP2010 -
Monitor performance of your code in Sharepoint 2010
With this new version of Sharepoint, a new functionality has been added : the ability to developers to monitor their code performance. For that, they can use the developer dashboard. It will give us information about the performance of different sharepoint methods or sql queries. But they can also add their own method to appear [...]
Mar 4th, 2011 | Filed under SP2010 -
[Powershell] Activate Sharepoint 2010 Developer Dashboard
This post is for memory but it can be useful for other people. This is how to activate the developer dashboard in Sharepoint 2010, using Powershell. $DevDashboardSettings = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings; $DevDashboardSettings.DisplayLevel=’On’; $DevDashboardSettings.RequiredPermissions = ‘EmptyMask’; $DevDashboardSettings.TraceEnabled = $true; $DevDashboardsettings.Update(); DisplayLevel properties can take the following values : On Off OnDemand
Tags: Developer Dashboard -
TS: Microsoft SharePoint 2010, Application Development (70-573)
I pass the certification exam about Sharepoint 2010 Development this morning, the TS one. Not so difficult if you do Sharepoint development every day. Next step is to have the PRO. Let’s see in the next weeks. Should be a little more complicated I think.
-
Install SharePoint 2010 Language Pack on Windows 7
If you try to install a language pack for Sharepoint on your Windows 7, you’ll receive an error indicating that you need at least Windows Server 2008 SP2. As for Sharepoint installation, we will to extract the installation files and modify the configuration file. Do the following : ServerLanguagePack.exe /extract:C:\temp\SPLanguagePack Go to the directory Files\Setup [...]
Feb 4th, 2011 | Filed under Sharepoint -
Unable to activate Managed Metadata Service
You are trying to use taxonomy with your Sharepoint farm but when you try to configure it, you obtain the following error : “The Managed Metadata Service or Connection is currently not available. The Application Pool or Managed Metadata Web Service may not have been started. Please Contact your Administrator.”. Check if the managed metadata [...]
Feb 4th, 2011 | Filed under Sharepoint, SP2010