Mysterious PageTreeXml

Vote:
 
Hello, I am using the PageTreeXml class to create some xml of our tree structure. However I am running into a few problems here. The two very important property LinkURL seems to be missing from the xml output. PageTreeXml xml = new PageTreeXml(); xml.SetAttribute("PageName","{PageName}"); xml.SetAttribute("LinkURL","{LinkURL}"); xml.CreateXml(pages, writer); //Output I wonder where I can find out what properties that are valid and will return some value in my xml. /Johan
#12386
Mar 25, 2008 18:34
Vote:
 
Also want to receive the property Indent, that is why I am talking about two important properties above.. Sorry about that.
#14171
Mar 25, 2008 18:44
Vote:
 
All metadata should be prefixed with "Page" so in this case you should add "PageLinkURL". You will not get Indent to work as this is a computed value and not a ordinary property but the value should be the same as counting number of parent XML elements wherever you want to use the data.
#14172
Mar 25, 2008 18:44
Vote:
 
Correct! Thanks for the answer.
#14173
Mar 25, 2008 18:44
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.