Code macro from attachment

Last modified by Thomas Mortagne on 2019/01/04 17:51

cogDisplay content of attachment using the code macro
Developed by

Vincent Massol

Rating
Rate!
0 Votes
LicenseGNU Lesser General Public License 2.1

Description

{{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.

Tags:
Created by Vincent Massol on 2019/01/04 17:30
     

Get Connected