locked
SharePoint 2013 Custom MySite Host Template RRS feed

  • Question

  • Hello together,

    i've created a own custom MySite Host Template.

    I've got an error when I will create the new MySite Host.

    After a few hours of log research I found the error.

    I can't activate the MySiteMicroBlogCtrl Feature.

    The error is: 

    Enable-SPFeature : MicroBlogCtrlFeatureReceiver: Not a MySite site.
    At line:1 char:1

    What can I do to solve the problem?

    best regards 

       Toni

    Monday, February 25, 2013 8:33 AM

Answers

All replies

  • The best approach of customizing MySite host is to work with features. There are some components that use the ID or Name of the OOB MySite host template (hard coded).

    You could also use stapling features with some restrinctions. More info on this thread
    http://social.technet.microsoft.com/Forums/fr-FR/sharepointdevelopment/thread/c12eda80-97cb-4ced-8702-9eb3cb3d5282


     

    Marco Rizzi @Avanade Italy http://blog.marcorizzi.com

    Monday, February 25, 2013 2:34 PM
  • Okay, thank you.

    I think feature stapling don't work with this feature.

    This feature is the Newsfeed/MicroBlog feature for the MySite Host.

    Is it possible to force a feature in the onet.xml? 

    I've tested to activate the feature with force and this works fine.

    best regards 

    Monday, February 25, 2013 5:16 PM
  • For My Sites, there's two templates involved: The My Site host (usually just one) and the personal site template which is provisioned for each user.  From a feature stapling perspective, in my opinion there's not too much reason to staple anything to the my site host since there's usually only one.  You'd typically just need to staple to the SPSPERS#2 template.  If you are familiar with doing this for SP2010, the template configuration number has changed for SP2013.


    John Ross
    SharePoint Server MVP | Sr. Consultant Rackspace: SharePoint Consulting
    Blog: http://johnrossjr.wordpress.com
    Twitter: @JohnRossJr

    SharePoint 2013 Branding and User Interface Design
    Professional SharePoint 2010 Branding and User Interface Design (Wrox Programmer to Programmer)

    • Marked as answer by Qiao Wei Thursday, March 7, 2013 9:59 AM
    Wednesday, February 27, 2013 3:41 PM
  • Hi Toni,

    I got similar requirement to create custom mysite template.

    Could you please help me how to develop the same?

    Thanks & Regards,

    Pavan.

    Monday, June 17, 2013 8:56 AM