Code macro from attachment
Last modified by Thomas Mortagne on 2019/01/04 17:51
![]() | Display content of attachment using the code macro |
Developed by | |
Rating | |
License | GNU Lesser General Public License 2.1 |
Table of contents
Description
{{velocity}}
{{code language='sql'}}
$doc.getAttachment('sql.txt').getContentAsString('UTF-8')
{{/code}}
{{/velocity}}
{{code language='sql'}}
$doc.getAttachment('sql.txt').getContentAsString('UTF-8')
{{/code}}
{{/velocity}}
Prerequisites & Installation Instructions
Copy the code snippet to a page and save it.