CSSyncronizedDocumentChangeOrderInHierarcy Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Sets the order among siblings within a hierarchy.

Namespace: ContentStudio.Document
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public void ChangeOrderInHierarcy(
	int target
)

Parameters

target
Type: SystemInt32
Indicates a document where the current document should be put before.
The target document must:
  • Exist
  • Have the same parent as this document.
Exceptions

ExceptionCondition
InvalidOperationException
  • The document is read-only
  • The document has not been created yet, use the Save method.
  • The document is not connected another document
CSException
  • 1001 - The Session is invalid
  • 1002 - Permission denied
  • 1804 - The document could not be found.
SqlExceptionAn error occurred when executing the command against the Content Studio database
Content Studio permissions

Both DELETE permission on the document and CREATE on the target document is required.
See Also

Reference