Home
In this section

Weblog

  Login Blogs
Category: Templates 24. November. 2008
Navigation in XML
Author  Sebastian Dammark
 

Sometimes it would be great if you could get the entire navigation structure as an XML stream.


Not as a file but as a live stream generated by the code.


Now it possible.


If you got the latest update you can use the following URL.

'/admin/public/getnavigationxml.aspx'


This URL can take to following parameters:


Data - in determining order. Use only one at a time.

ParentID = any page id

AreaID = any areaid

ID = any page id


If none of the above parameters are specified, the area/page that the Domain would return by calling /Default.aspx is used.


Setting expand mode:

Expand=

0:None

1:Path

2:All (Default)


Setting start and stop levels

StartLevel=1-99 (Default:1)

StopLevel=1-99 (Default:99)


Try this link:

http://developer.dynamicweb.dk/admin/public/getnavigationxml.aspx?id=16918


Combine it with the new eCommerce navigation if the XML shall include the product groups:

Check this video: http://documentation.dynamicweb.dk/eCommerce-navigation-30173.aspx


I hope this information is useful.

 
Comments
Re: Navigation in XML 24. November. 2008
Author ks
Nice, long waited for this :) and it even makes it more useful for debugging now that we have the MenuProvider
Good work!
Add comment
  Headline
* Your name
* Text
 
See also
Print  | Text version | W3C