Resources for IT Professionals >
論壇首頁
>
SharePoint - Social Computing
>
Redirect from MySite (person.aspx) to different site??
Redirect from MySite (person.aspx) to different site??
- I'm working on Mysite customization and Branding and also I'm working on a custom Site definition with custom pages for My site. if the user come to MyProfile page (public face). I need to redirect him to My custom site definition site page with user information to display.
(i.e. http://sptest:11002/Person.aspx?accountname=DEV\Administrator TO http://MySite:9999/default.aspx?accountname=DEV\Administrator).
Please help me out.
Jamsbond- 已移動Mike Walsh MVPMVP, 版主2009年6月26日 上午 06:30MySite q (From:SharePoint - Development and Programming)
- 已編輯ItsMeSri 2009年6月25日 下午 07:49
解答
- you can create custom HTTPHandler . With this you can check whether current page is default page . if it is true then it should automatically redirect to Person.aspxFor more information :Regards,Milan
- 已標示為解答ItsMeSri 2009年6月26日 下午 10:25
- concept remains same. Either you redirect from default.aspx or person.aspx.I suggest you create a feature and deploy to to MYSite root application. So this feature will available in MYSite zone. Once after avtication it work to redirect from one page to another .Regards,Milan
- 已標示為解答ItsMeSri 2009年6月26日 下午 10:25
所有回覆
- you can create custom HTTPHandler . With this you can check whether current page is default page . if it is true then it should automatically redirect to Person.aspxFor more information :Regards,Milan
- 已標示為解答ItsMeSri 2009年6月26日 下午 10:25
- Sorry, I need to redirect from Person.aspx to My default.aspx page.
Jamsbond - concept remains same. Either you redirect from default.aspx or person.aspx.I suggest you create a feature and deploy to to MYSite root application. So this feature will available in MYSite zone. Once after avtication it work to redirect from one page to another .Regards,Milan
- 已標示為解答ItsMeSri 2009年6月26日 下午 10:25
- All MySite questions go to Social Computing.Moving this.
WSS FAQ sites: http://wssv2faq.mindsharp.com and http://wssv3faq.mindsharp.com
Total list of WSS 3.0 / MOSS 2007 Books (including foreign language) http://wssv3faq.mindsharp.com/Lists/v3%20WSS%20FAQ/V%20Books.aspx - Please sample code please? What should I write in the feature?
Jamsbond

