Meilleur auteur de réponses
Toutes les réponses
Yes, we can do it from implementing the custom Sign-In page, based upon the Sign-In user or group member we can redirect the site to specific zone.
- Modifié Siva_Reddy lundi 18 juin 2012 07:58
Can you elaborate it more may be with examples.
Are this two different web applications or sites and subsites?
Thanks.... ________________ Baba (MCTS, MCPD)
First there were:
http://companyportal1 has many links which lead to http://companyportal2 resources
Now there are
https://portal1.company.com has many links which still lead to http://companyportal2 resources, but should lead to https://portal2.company.com
So is there some way to make these panportal links relative to zone in use ?
there may be other approach, but i think you can create your own server control to get the URL based on the zone of the current web application.
you can get current zone with SPUrlZone theZone = theSite.Zone as described in http://blogs.technet.com/b/speschka/archive/2011/03/27/how-to-get-all-claims-providers-associated-with-a-web-application-in-sharepoint-2010.aspx . Then you can get the target web app url with SPAlternateURL http://sharepointmalaya.blogspot.com/2011/02/getting-sharepoint-web-application-url.html