You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »


On this page

Create Connection


FieldOptionalDefaultMultipleNotesExample
typeNo-NoThe value must be "filesystem"."filesystem"
descriptionNo-NoName of the connection object."MyFileSystemConnection"
throttlePolicyYes-NoId of the throttle policy that applies to this connection object."f5587cee-9116-4011-b3a9-6b235b333a1b"
propertiesNo-NoConfiguration object
urlNo-NoPath of the base directory to crawl. All the seeds will be prefixed with this value to form the full path. All the seeds will be prefixed with this value to form the full path"C:\\Directory"
ignoreSymLinksYesfalseNoIf enabled symbolic links will not be processed and links in the root items will cause an error.true / false
stopOnScanErrorYestrueNoIf enabled, the crawl will stop if there is an error on the scan phase.true / false
indexContainersYesfalseNoEnable to index the directories.true / false
scanRecursivelyYestrueNoEnable to scan discovered items recursively.true / false
staticAclYes

[ ]

YesStatic ACL configuration object
nameNo-NoName of the static ACL."group1"
domainYes""NoDomain of the static ACL."testDomain"
entityYes"user"NoEntity (user / group) represented by the static ACL."user" / "group"
accessYes"allow"NoAccess (allow / deny) granted by the ACL."allow" / "deny"

Example

$action.getHelper().renderConfluenceMacro("$codeS$body$codeE")

Update connection


FieldOptionalDefaultMultipleNotesExample
idNo-NoId of the connection to update"89d6632a-a296-426c-adb0-d442adcab4b0",
typeNo-NoThe value must be "filesystem"."filesystem"
descriptionNo-NoName of the connection object."MyFileSystemConnection"
throttlePolicyYes-NoId of the throttle policy that applies to this connection object."f5587cee-9116-4011-b3a9-6b235b333a1b"
propertiesNo-NoConfiguration object
urlNo-NoPath of the base directory to crawl. All the seeds will be prefixed with this value to form the full path. All the seeds will be prefixed with this value to form the full path"C:\\Directory"
ignoreSymLinksYesfalseNoIf enabled symbolic links will not be processed and links in the root items will cause an error.true / false
stopOnScanErrorYestrueNoIf enabled, the crawl will stop if there is an error on the scan phase.true / false
indexContainersYesfalseNoEnable to index the directories.true / false
scanRecursivelyYestrueNoEnable to scan discovered items recursively.true / false
staticAclYes

[ ]

YesStatic ACL configuration object
nameNo-NoName of the static ACL."group1"
domainYes""NoDomain of the static ACL."testDomain"
entityYes"user"NoEntity (user / group) represented by the static ACL."user" / "group"
accessYes"allow"NoAccess (allow / deny) granted by the ACL."allow" / "deny"

Example

$action.getHelper().renderConfluenceMacro("$codeS$body$codeE")

  • No labels