London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Mysterious PageTreeXml

Vote:
0
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
Oct 04, 2005 15:13
Vote:
0
Also want to receive the property Indent, that is why I am talking about two important properties above.. Sorry about that.
#14171
Oct 04, 2005 15:14
Vote:
0
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
Oct 05, 2005 17:18
Vote:
0
Correct! Thanks for the answer.
#14173
Oct 06, 2005 14:34
* 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.