Click or drag to resize
TreePathUtils.GetUniqueUrlPath Method
Returns the unique URL path for the specified parent node, does not check duplicity if duplicity occurs within the currentNodeId.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public static string GetUniqueUrlPath(
	string urlPath,
	int currentDocumentId,
	string siteName,
	string cultureSuffix = null
)

Parameters

urlPath
Type: System.String
Original URL path
currentDocumentId
Type: System.Int32
Current document Id
siteName
Type: System.String
Parent site name
cultureSuffix (Optional)
Type: System.String
Culture suffix

Return Value

Type: String
See Also