In The Mix

As a SharePoint architect I have the business behind me and the Developers and IT Pro on my shoulders.

SPMySpace Instructions November 27, 2008

Filed under: SharePoint — fmuntean @ 6:29 pm

I was asked to post a step by step instruction on how to use the Custom My Sites feature from codeplex.

So here they are:

1.) We need to add the solution to the solution store:

stsadm -o addsolution -filename SPMySpace.wsp


2.) After this we need to deploy the solution in Central Admin ->Operations-> Solution Management




After successful deployment of the solution you can se that MySite was replaced with MySpace link.

Now is the point where I need to stress out that this feature will replace the Out of the Box creation of MySite and if the user already have a MySite that will not be replaced.

Next we need to prepare the SharePoint Farm and configure what site we want to create for each user using the UserProfile.

3.) We create a user property in user Profiles (Shared Services Administration -> User Profiles and Properties-> Add Profile Property to store the Site Definition used to create a MySpace site:


We will be creating a new User Profile property named MySpaceTemplate of type string and length of 25 characters should be enough to store any site definition name. Check the “Do not allow users to edit values for this property” and make sure that “Show on Edit details page”, “Show Changes in the Colleague Tracker web part”, and “Indexed” are unchecked.

4.) Next We will need to change the Personal Site Property settings to Allow users to edit values for this property by making sure that “Allow users to edit values for this property” is checked.


Now that everything is prepared lets cut to the cheese and get some MySpace sites configured for our users.

5.) For this demonstration we will be using  three users: Approver, Reviewer, and Executive and set different site definitions for each.

a. First user will be the Approver and we will setup a Wiki Site as MySpace for this use using the WIKI#0 Site Definition. We need to edit the user  profile for this user and set MySpaceTemplate  to WIKI#0.


b. Second is the Reviewer and we want him to have a blog as MySpace site using BLOG#0 Site Definition. So we do this by filling the MySpaceTemplate text box with BLOG#0 for this user in Edit user Profile aspx page.


c. Now for the third user, the Executive, will let him have the Out of The Box MySite we can do this by leaving the MySpaceTemplate property empty.


6.) Now let’s see what happens when each of the users clicks the MySpace Link;

a. First one the Approver




b. Second one is the Reviewer




c. The last one is the Executive




So as you can see each user clicks on the MySpace link, a special MySpace.aspx page gets called and each user gets a different site created for him.

Please drop me a line with comments.


7 Responses to “SPMySpace Instructions”

  1. panca Says:

    hai, thanks for sharing.

  2. Hannes Says:


    when I install this solution on a german MOSS there comes an error by creating the MySite. -> The language is not supported.

    Is there anybody with an idea or workarround?

    thanks 🙂

  3. fmuntean Says:

    Hi Hannes,
    The solution is not globalized. It works only for English language as of now.
    Feel free to get the source code and update it to work with a German site.
    the solution is available on codeplex:


  4. Ben Goodnews Says:

    Can you confirm if this will work in a WSS 3.0 farm

  5. fmuntean Says:

    Hi Ben,
    The solution requires MOSS features and is just extending the current capabilities.

    If you have My Sites like features into WSS is not too hard to do.

    Thing about modifying the master page and create an user control that can redirect the user to another site under a special site collection or create on for them.

    If you need more details please contact me.


  6. Olu Kolade Says:


    When I run the command to add the solution, I get Command line error.

    C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>stsadm.exe -o addsolution -filename SPMySpace.wsp

    Command line error.

    Please help.

  7. fmuntean Says:


    Your problem is that you are trying to run the stsadm from his folder but the wsp file is not on that folder.
    I would reccomend to download the wsp file in a separate folder like c:\downloads then either add the path to the stsadm into the system PATH variable or use the full path to the stsadm.exe like:
    cd c:\downloads
    C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\stsadm.exe -o addsolution -filename SPMySpace.wsp
    Then use the the Central Administration site to deploy the solution.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s