Click or drag to resize
TreePathUtilsGetUniqueDocumentName Method
Returns the unique document name 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 GetUniqueDocumentName(
	string documentName,
	int parentNodeId,
	int currentNodeId,
	string documentCulture,
	string className
)

Parameters

documentName
Type: SystemString
Original document name
parentNodeId
Type: SystemInt32
Parent node ID
currentNodeId
Type: SystemInt32
Current node ID
documentCulture
Type: SystemString
Document culture
className
Type: SystemString
Document class name

Return Value

Type: String
See Also