Class OperationTemplateData


  • public class OperationTemplateData
    extends Object
    Contains the Base64-encoded JSON structure that is used as variables in the HTML template if \"useAsTemplate\" has a value of \"true\". Example for data as JSON structure: ```json { \"page1\": \"Text for page 1\", \"page2\": \"Text for page 2\", \"page3\": \"Text for page 3\", \"image\": { \"name\": \"Warning!\", \"data\": \"... BASE64 encoded image ...\" } } ``` Within the HTML document, the \"custom.\" prefix will be prepended to each variable from the JSON structure. The variables can then be used as follows in the HTML code: ```html <body> <div class=\"page\"> <h1>This is Page 1</h1> <i>${custom.page1}</i> <br/> ${custom.image.name} <img src=\"${custom.image.data}\" width=\"100\" height=\"100\"/> </div> <div class=\"page\"> <h1>This is Page 2</h1> <b>${custom.page2}</b> </div> <div class=\"page\"> <h1>This is Page 3</h1> <u>${custom.page3}</u> </div> </body> ``` For more information regarding the use of the templates, please refer to the chapter \"Server Conversion - Templates\" document.