Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Catalog Namespace / CmsPath Class / GetCmsPath Method / GetCmsPath(Int32,Int32,CatalogNodeType) Method
Id of the category
Id of the node
Type of node
In This Topic
    GetCmsPath(Int32,Int32,CatalogNodeType) Method
    In This Topic
    Gets cms path for the given node. Only supported for Category type catalog node objects
    Syntax
    [Obsolete("This method is only valid with a category as the current node.  Choose a more appropriate overload.")]
    public static IList<CmsPathNode> GetCmsPath( 
       int categoryId,
       int currentNodeId,
       CatalogNodeType currentNodeType
    )

    Parameters

    categoryId
    Id of the category
    currentNodeId
    Id of the node
    currentNodeType
    Type of node

    Return Value

    List of cms path nodes
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also