Return to doc.sitecore.com

Valid for Sitecore 5.2, 5.1.1
  ResolvePath
Prev Next

ResolvePath retrieves and item ID based on the item path. 

ID ResolvePath(
  string itemPath,
  CallContext context
)

Sitecore calls the ResolvePath to resolve an item name or path to an item ID.  The method must return the ID of the first item found that matches the given path.  The path has the format “/item1/item2/item3”.  The name comparisons should be case-insensitive.  If no matching item is found, the method returns null.


Prev Next