CMISDoesFileExist
Tests that a file exists on the CMIS server.
Member of namespace
CMISClientSyntax
bool CMISDoesFileExist(string cmisFilePath, bool existenceResult)
Parameters
- cmisFilePath
- Type: string
- existenceResult
- Type: bool
Parameters
- cmisFilePath : The document and path to test for existence. Smart parameters are supported.
- existenceResult : If True the action will return True when the file exists, otherwise False is returned. If False the action will return false if the file exists, otherwise True is returned.
Returns
existenceResult if True, then return True if file exits. If False, return True if file does not exist.Level
All levels.Details
This action tests that the provided file exists in the connected CMIS repository. This action can be configured to return true if the file exists or return true if the file does not exist.- Example:
CMISDoesFolderExist("/MyFolder/MyDoc.txt", True)Returns true if MyDoc.txt exists in the repository and returns false if it does not exist.
CMISDoesFolderExist("/MyFolder/MyDoc.txt", False)Returns false if MyDoc.txt exists in the repository and returns true if MyFolder does not exist.