More in this section

Forums / Developing with Sitefinity / Generating SiteMenu in XML format

Generating SiteMenu in XML format

3 posts, 0 answered
  1. Chanan Zass
    Chanan Zass avatar
    123 posts
    Registered:
    21 Aug 2012
    02 Nov 2009
    Link to this post
    We are required to dynamically generate a SiteMenu in an XML format for consumption by a remote Website of the same organization.

    The generating Web site is a multi-lingual Sitefinity-run site.

    The remote Web site is an eCommerce site that is required to share the local templates and local sitemenu.
    Is there any simple way of generting XML sitemenus per language?
    Which Sitefinity database tables are involved in the generation of a sitemenu per language?

    Any help would be appreciated.
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    02 Nov 2009
    Link to this post
    Hi Chanan Zass,

    Please take a look at the following forum thread - Flash Menu from Navigation XML as it explains how to get pages from the site map and write them to an XML file. So our suggestion would be to use this method in a web service in order to constantly get latest version of the site map.

    As for localization - we the pages pave LanguageVersions property that returns an IDictionary holding a reference tho the language versions a page has plus that pages. You can get the culture IDs of each language version of a current page:
    ICollection<int> languageVersions = page.LanguageVersions.Keys;

    All the best,
    Radoslav Georgiev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Chanan Zass
    Chanan Zass avatar
    123 posts
    Registered:
    21 Aug 2012
    02 Nov 2009
    Link to this post
    Many thanks.
Register for webinar
3 posts, 0 answered