Thread: Outlining
View Single Post
  #4  
Old 05-29-2008, 02:47 AM
ashwken ashwken is offline
Registered User
 
Join Date: 10-16-2005
Location: Blairsville, GA USA
Posts: 431
Re: Re: Re: Outlining

Quote:
Originally posted by armsys
Forgive my ignorance. Please show me how to locate/discover this Tree Order attribute. The manual classifies it as a Virtual Attribute. But I can't insert one.
I'm getting mixed results with this.

When I insert the [Tree Order] Attribute into the Child Items Pane for various Items sometimes it shows a value, and sometimes it doesn't.

For the Root Folder it shows values, for the Template Folder it will not.

For a Child Item that has children it may show no value, it may show (0) (zero), or it may show (-1) - in all three cases each Item has at least one child. Sometimes it works as expected.

This does work as a Title Expression:
[Tree Order] || coalesce(': ' || [Some_Attribute], '')

This will convert [Tree Order] from a numeric value to text for the Title Expression, just don't ever sort these siblings in the Data Explorer - you'll end up with a miss-mash (best you can hope for here is an immediate Undo).

Quote:
From the Help file:
Tree Order: this number value will is the position in the Data Explorer/Search pane (NULL value if sorted alphabetically)
If you turn-off Alpha Sort under Options | Tree does it satisfy the last condition from this statement - for existing Items, or only for new?
Reply With Quote