Tree Traversal

Tree Traversal

Traversing the Content Tree

  • Use GUIDs instead of paths to reference items in the Content Tree
  • Only use paths when referencing a position in the Content Tree instead of a particular item
  • Avoid queries and recursion methods to locate items like the site root or settings items
  • Use a GUID helper class to define commonly used GUIDs

Sources