2021.1

Table Of Contents
Example</title>
<script src="../../common/lib/js/jquery-
3.4.1.min.js"></script>
<script src="../../common/js/common.js"></script>
<script src="js/cc-preview-image-by-data-json.js"></script>
<link rel="stylesheet" href="../../common/css/styles.css">
</head>
<body>
<h2>Content Creation Service - Create Preview Image (By
Data) (JSON) Example</h2>
<form>
<fieldset>
<legend>Inputs</legend>
<div>
<label for="datafile">JSON Data File:</label>
<input id="datafile" type="file" required>
</div>
<div>
<label for="template">Template ID/Name:</label>
<input id="template" type="text"
placeholder="1234 or Filename" required>
</div>
</fieldset>
<fieldset>
<legend>Image Parameters</legend>
<div>
<label for="context">Context:</label>
<select id="context">
<option value="default">Default</option>
<option value="print">Print</option>
<option value="web">Web</option>
<option value="email">Email</option>
</select>
</div>
<div>
<label for="section">Section:</label>
<input id="section" type="text"
placeholder="Section Name">
</div>
<div>
<label for="type">Type:</label>
<select id="type">
<option value="jpg">JPG</option>
Page 308