Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | attachFileFromURL(fileUrl, pageId) | Package | | Alias | | Pkg Usage | |
|
Description
Excerpt |
---|
|
Adds an attachment located on an URL path to a selected page. |
Adds an attachment located on an URL path to a selected page.
...
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
fileUrl | String | Yes | URL path to the file. | pageId | Number | Yes | The ID of the selected page the file will be attached to. |
|
Return Type
Boolean (true/false)
...
Result: Returns true if the file is at the selected location and the issue exists, meaning the file was attached. Returns false if any of the conditions stated before are not met.
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "attachment_routines" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|