Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Catalog Namespace / DefaultUrlGenerator Class / GetBrowseUrl Method / GetBrowseUrl(Int32,Int32,CatalogNodeType,String) Method
The category to which the node belongs
The Id of the node for which to get the browse URL
The type of node
The name to use in the link
In This Topic
    GetBrowseUrl(Int32,Int32,CatalogNodeType,String) Method
    In This Topic
    Gets a browsing URL for the given node
    Syntax
    public virtual string GetBrowseUrl( 
       int categoryId,
       int nodeId,
       CatalogNodeType nodeType,
       string name
    )

    Parameters

    categoryId
    The category to which the node belongs
    nodeId
    The Id of the node for which to get the browse URL
    nodeType
    The type of node
    name
    The name to use in the link

    Return Value

    A browsing URL for the given node
    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