Microsoft Developer Network > 포럼 홈 > SharePoint - Development and Programming > Programmatically add web part to profile page
질문하기질문하기
 

답변됨Programmatically add web part to profile page

  • 2009년 7월 3일 금요일 오후 6:24RK Naik 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    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

답변

  • 2009년 7월 4일 토요일 오후 4:21Guru Karnik 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨
    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
  • 2009년 7월 7일 화요일 오전 2:34RK Naik 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨
    Hi Guru,

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

    Regards,
    RK

    Radhakrishna

모든 응답

  • 2009년 7월 4일 토요일 오후 4:21Guru Karnik 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨
    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
  • 2009년 7월 7일 화요일 오전 2:34RK Naik 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨
    Hi Guru,

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

    Regards,
    RK

    Radhakrishna