Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
heading0
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse


Syntax

attachFile(filePath, pageId)

Package


Alias


Pkg Usage



...

Result: Returns true if the file is at the selected location and the issue exists. It means the file was attached. Returns false if any of the conditions stated before are not met.


Note

Use forward slashes ("/") for the path. The path to the attachment must be absolute and point to a location on the server. If an error occurs, the routine will return false and the error message will be visible in the log.


See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "attachment_routines" and space = currentSpace ( )
labelsarray_routines