Ask a questionAsk a question
 

AnswerProgrammatically add web part to profile page

  • Friday, July 03, 2009 6:24 PMRK Naik Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi

    I am trying to add web part to my profile page programmatically, but I am not able to find any solution. I successfully added web part to default.aspx page using feature stapling but I am unsure how to perform the same for my profile page.

    Can anyone please help.

    Regards,
    RK
    Radhakrishna

Answers

  • Saturday, July 04, 2009 4:21 PMGuru Karnik Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    The Profile page is a ghosted page (person.aspx) which can be found in the my site definition folder SPSPERS. You can try adding the web part to this page using the master page of the my site. You can open the root site of my site web application and change the associated master page for person.aspx.

    Regards
    Prasad
  • Tuesday, July 07, 2009 2:34 AMRK Naik Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi Guru,

    Thanks for the reply, I was able add the web part by changing the master page.

    Regards,
    RK

    Radhakrishna

All Replies

  • Saturday, July 04, 2009 4:21 PMGuru Karnik Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    The Profile page is a ghosted page (person.aspx) which can be found in the my site definition folder SPSPERS. You can try adding the web part to this page using the master page of the my site. You can open the root site of my site web application and change the associated master page for person.aspx.

    Regards
    Prasad
  • Tuesday, July 07, 2009 2:34 AMRK Naik Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi Guru,

    Thanks for the reply, I was able add the web part by changing the master page.

    Regards,
    RK

    Radhakrishna