Table of Contents | ||||||||
---|---|---|---|---|---|---|---|---|
|
...
Macro editor label | Default | Description | Macro parameter | Format | html | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Data source | ||||||||||||||||
Data source | Specify the source of the HTML content to be rendered. The options available are
| Profile | :
Enter the location of data. If specified, the included data follows the body data (if any).
| profile name | Location of HTML data | macro body |
| |||||||||
Layout | ||||||||||||||||
Height of iframe (in px) | Enter the minimum height (in px or em) to be used for the rendered content. If you do not specify, the height is auto-rendered according to the HTML content. Example: 500px or 1.5em | |||||||||||||||
Settings | ||||||||||||||||
Format | html | Specify how the output is treated. The options are as follows:
| ||||||||||||||
Find regex patterns | Enter a comma separated list of regex patterns to use to post-process the output HTML with find and replace logic. Example: (href=)(/display) | find | ||||||||||||||
Replacement strings | Enter a comma separated list corresponding to find patterns via index position in list. If a comma is a part of an entry, use single quotes around it. Example: $1$base_url$2 | replace | File encoding | system default | Specify the encoding for an external file, if different from the system default handling. Example: UTF-8. | encoding | ||||||||||
Timeout in milliseconds | Enter time in milliseconds such that URL connections do not timeout before getting data. Use this to increase time needed for slow connections. Note that if a zero is given the connection may wait infinitely.timeout | |||||||||||||||
File encoding | system default | Specify the encoding for an external file, if different from the system default handling. Example: UTF-8. | ||||||||||||||
User id for URL connection (Removed) | Enter the user name for URL access via basic authentication.
| |||||||||||||||
Password for URL connection (Removed) | Enter the password for URL access via basic authentication.
| password | Height of rendered content | auto calculated | Enter the minimum height (in px or em) to be used for the rendered content. If you do not specify, the height is auto-rendered according to the HTML content.If you specify the height, the HTML content fits within the specified height. If the content exceeds the specified height, a scroll bar is displayed that allows you to scroll through the content
Anchor | | htmlCld150_html_macSecParams | htmlCld150_html_macSecParams | height
Enable the page viewing user to execute scripts to access cookies and Confluence APIs based on the app's Macro security configuration.
Info |
---|
If the Allow JavaScript global configuration is enabled, the page viewing user can execute scripts to access cookies and Confluence APIs. Please verify that appropriate macro security options and equivalent page restrictions are set for this user/page/app. |
Enable to allow scripts to be executed based on the app's Macro security configuration.
Info |
---|
If the Allow JavaScript global configuration is enabled, execution of scripts in the HTML macro is always allowed regardless of the Allow script execution parameter status. Please verify that appropriate macro security options and equivalent page restrictions are set for this user/page/app. |
...