CMISDoesFolderExist

Tests that a folder exists on the CMIS server.

Member of namespace

CMISClient

Syntax

bool CMISDoesFolderExist(string cmisDirectoryPath, bool existenceResult)

Parameters

cmisDirectoryPath
Type: string
existenceResult
Type: bool

Parameters

  • cmisDirectoryPath : The folder and path to test for existence. Smart parameters are supported.
  • existenceResult : If True the action will return True when the folder exists, otherwise False is returned. If False the action will return False if the folder exists, otherwise True is returned.

Returns

existenceResult if True, then returns True if folder exits. If False, returns True if directory does not exist.

Level

All levels.

Details

Tests that the provided directory path exists in the connected CMIS repository. This action can be configured to return true if the folder exists or return true if the folder does not exist.
Example:
CMISDoesFolderExist("/MyFolder/AnotherFolder", True)     

Returns true if "AnotherFolder" exists in the repository and returns false if it does not exist.

CMISDoesFolderExist("/MyFolder/AnotherFolder", False)

Returns false if "AnotherFolder" exists in the repository and returns true if the folder does not exist.