Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Variations Top Level Site link

$
0
0

Is it possible to get hold of the url to the top level site for a variation site?

This gives me a peer to peer link so I can create a language switch button:

<a href="<%# DataBinder.Eval(Container.DataItem, "NavigateUrl") %>"><%# DataBinder.Eval(Container.DataItem, "DisplayText") %></a>

But I need a homepage link so the user can go to the homepage of the variation site and not to the homepage of the site collection.

It's like the opposite of this I need:

<cms:VariationDataSource id="LabelMenuDataSource" LabelMenuConfiguration="3" Filter="" runat="server" />

The above gives me the top level of the peer site.

DavidgCCC


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>