Table plus | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Description
Excerpt | ||
---|---|---|
| ||
Adds an attachment to a selected page. |
Adds an attachment to a selected page.
Parameters
...
applyColStyleToCell | true |
---|---|
columnTypes | s,s,s,s |
heading | 0 |
multiple | false |
enableSorting | false |
...
Parameter name
...
Type
...
Required
...
Description
...
filePath
...
String
...
Yes
...
Absolute path to the file.
...
pageId
...
Number
...
Yes
...
selected page
...
.
Return Type
Boolean (true/false)
...
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) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|