Tag: moss 2007
Fixing Absolute URLs in a Content Editor Web Part
by liquidpooled on Dec.24, 2008, under .NET, MSDN, Microsoft, Office, Sharepoint Server, TechNet, Windows SharePoint Services
Maxime Bombardier has a post on the subject of fixing one of the bigger issues with the Content Editor web part. For the uninitiated, a Content Editor web part always renders absolute URLs when the rich-text editing capabilities are used. I must admit that I would have never have thought to use a control adapter to manipulate the output of the web part on the fly. Now that I have learned something new, you should too.
Updating User Profile Properties for the Current User
by liquidpooled on Dec.16, 2008, under .NET, MSDN, Microsoft, Office, Sharepoint Server, TechNet, Visual Studio 2005, Visual Studio 2008, Windows SharePoint Services
Updates to a user’s profile properties can be performed with the following:
Retrieving User Profile Properties for the Current User
by liquidpooled on Dec.16, 2008, under .NET, MSDN, Microsoft, Office, Sharepoint Server, TechNet, Visual Studio 2005, Visual Studio 2008, Windows SharePoint Services
Retrieving a user’s profile properties can be achieved with the following block:
Creating Custom Profile Properties through Code (C#)
by liquidpooled on Dec.16, 2008, under .NET, MSDN, Microsoft, Office, Sharepoint Server, TechNet, Visual Studio 2005, Visual Studio 2008, Windows SharePoint Services
I recently needed to add several custom profile properties through a web part for tracking a users’ security preferences for a particular web application.
The following is the method used to create four new properties in the SSP: