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, SP2010
  • 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, SP2010
  • [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

    Mar 4th, 2011 | Filed under PowerShell, Sharepoint, SP2010
  • 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.

    Feb 24th, 2011 | Filed under General, Sharepoint, SP2010
  • 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
  • Admin SVC must be running in order to create deployment timer job

    Imagine, you just develop a new feature to add to your Sharepoint farm. Once packaged, you want to deploy it. You decide to use Powershell because it is THE new shell to manage Sharepoint. First, you have to add the solution using Add-SPSolution commandlet : Add-SPSolution -LiteralPath “c:\deploy\projectlist.wsp” If the solution is successfully added, you [...]

    Dec 7th, 2010 | Filed under PowerShell, Sharepoint, SP2010
Archive for the ‘SP2010’ Category

Switch to our mobile site