Click or drag to resize
PageTemplateWebServiceUrlProviderGetTemplatesEndpointUrl Method
Gets URL of an endpoint which provides definition of allowed page templates for the given parent node.

Namespace: CMS.DocumentEngine.Internal
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
public string GetTemplatesEndpointUrl(
	TreeNode parentNode,
	string pageType,
	string culture
)

Parameters

parentNode
Type: CMS.DocumentEngineTreeNode
The parent node for which the endpoint retrieves filtered page templates.
pageType
Type: SystemString
The page type for which the endpoint retrieves filtered page templates.
culture
Type: SystemString
The culture for which the endpoint retrieves filtered page templates.

Return Value

Type: String
A string representation of the endpoint URL
Exceptions
ExceptionCondition
InvalidOperationExceptionSite's SitePresentationURL is not in correct format.
ArgumentNullExceptionparentNode, pageType or culture is null.
See Also