Skip Ribbon Commands
Skip to main content

Quick Launch

Home > Blog

​Blog

November 08
Organisation browser in another web application

​There are a lot of post about the organisation browser is not working in another web application. See: ​http://www.tcscblog.com/2011/04/11/using-the-sharepoint-2010-organization-browser-in-another-web-application/

I tried the provided solution but it still didn't work. To get it working I needed to place the following control on the page: 

<%@ Register Tagprefix="SPSWC" Namespace="Microsoft.SharePoint.Portal.WebControls" Assembly="Microsoft.SharePoint.Portal, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
 

<SPSWC:ProfilePropertyLoader id="m_objLoader" LoadFullProfileOfCurrentUser="true" runat="server" />

I did this by including them in the page layout and now it is working!

October 28
Publishing feature under public Office 365 public website (Part 2)

​Because I did not like the existence of the renamed libraries from my earlier post I decided to create a feature which deletes the following libraries:

  • Documents
  • Images
  • Pages
  • SiteImages
  • TemplateGallery
  • WebPages
  • Templates
  • Images

After enabling the publishing features you have a nice and clean SharePoint 2010 publishing site.

Download the wsp

September 25
Publishing feature under public Office 365 public website

I wanted to have the publishing feature enabled under my Office 365 public website. But enabling the publishing feature resulted in an error because of existing list/libraries. To solve this you have to do the following:

  • Open your site in SharePoint Designer 2010.
  • Click on "All Files"
  • Rename the following libraries (for example prefix them with OLD):
    • Documents
    • Images
    • Pages
    • SiteImages
    • TemplateGallery
  • Next, go to "Lists and Libraries" and renaume the following libraries:
    • Web Pages
    • Templates
    • Images
  • Navigate to your website and append "/_layouts/settings.aspx". So for example http://www.seesharpsolutions.nl/_layouts/settings.aspx.
  • Go to "Site Collection Features" and enable "SharePoint Server Publishing Infrastructure"
  • Go back to "/_layouts/settings.aspx" and go to "Site Features".
  • Enable the "SharePoint Server Publishing" feature.

And the result:

September 23
User profile synchronization and disabled / deleted user accounts

By default SharePoint 2010 only removes user profiles from deleted account after the "my site clean up" job is ran. This job is scheduled hourly by default.

If you also want to remove disabled accounts from the user profiles you have go to:

  • Central Administration > Service Applications > User Profile Service Application > Configure Synchronization
  • Connections
  • Select the connection > Edit Connection Filters
  • Add a new exclusion filter:
    • attribute: userAccountControl
    • operator: Bit on equals
    • filter: 2
  • Perform a profile synchronization and run the "my site clean-up" job.