2021.1

Table Of Contents
value="Submit">
</div>
</fieldset>
</form>
</body>
</html>
JavaScript/jQuery
cc-process-by-data-json.js
/* Content Creation Service - Process Content Creation (By Data)
(JSON) Example */
(function ($, c) {
"use strict";
$(function () {
c.setupExample();
var $submitButton = $("#submit"),
$cancelButton = $("#cancel"),
$progressBar = $("progress"),
operationId = null,
jsonData = null;
c.setupJsonDataFileInput($("#datafile"), function (data) {
jsonData = data });
$cancelButton.on("click", function () {
if (operationId !== null) {
/* Cancel an Operation */
$.ajax({
type: "POST",
url:
"/rest/serverengine/workflow/contentcreation/cancel/" + operationId
})
.done(function (response) {
c.displayInfo("Operation Cancelled!");
operationId = null;
setTimeout(function () {
$progressBar.attr("value", 0);
$submitButton.prop("disabled", false);
Page 283