I'm upgrading from SharePoint 2007 to 2010 and the $SPUrl:~sitecollection expression doesn't appear to be working anymore. It replaces ~sitecollection with the current site URL instead of the root URL. For example, if I'm in http://mysite.com/its/itsinternal, and I have a reference to <% $SPUrl:~sitecollection/its %>, the URL is formatted as http://mysite.com/its/itsinternal/its. Is there a configuration somewhere that controls this?
Tell me more
×
SharePoint Stack Exchange is a question and answer site for
SharePoint enthusiasts. It's 100% free, no registration required.
|
|
|||
|
|
|
After working with Microsoft and being unable to get it running the way I want, I've opted to use absolute URLs when I'm trying to reach the top level site collection from a nested site collection. |
|||
|
|