Table of Contents

Class UrlPageTreeHelper

Namespace
Dynamicweb.Frontend.UrlHandling
Assembly
Dynamicweb.dll

Class UrlPageTreeHelper creates a URLnode structure for pages using the UrlTreeBuilder. Handled by Dynamicweb startup sequence and should not be used for customisations of URLs.

public class UrlPageTreeHelper
Inheritance
UrlPageTreeHelper
Inherited Members

Properties

Instance

Gets an instance of the UrlTreeBuilder.

public static UrlPageTreeHelper Instance { get; }

Property Value

UrlPageTreeHelper

A new instance on every call tho this property.

Methods

BuildPageUrlTree()

Builds the page URL tree.

public void BuildPageUrlTree()

GetAreaUrlIndexName(Area)

Gets the name of the area URL index based on the settings.

public string GetAreaUrlIndexName(Area area)

Parameters

area Area

The area for which the index name is needed.

Returns

string

System.String.

GetAreaUrlName(Area)

Gets the name to use in the path for an area if the url tree includes area name or culture.

public string GetAreaUrlName(Area area)

Parameters

area Area

The area for which the name is needed.

Returns

string

System.String.

To top