2022.2

Table Of Contents
true;
}
if (host.length) {
config.host = host;
if ($useAuth.prop("checked")) config.useAuth =
true;
if (config.useAuth) {
if ($startTLS.prop("checked"))
config.useStartTLS = true;
config.user = $username.val();
config.password = $password.val();
}
} else {
if ($eml.prop("checked")) config.eml = true;
}
if (attachPdfPage !== "default")
config.attachPdfPage = (attachPdfPage === "true");
if ($("#attachweb").prop("checked"))
config.attachWebPage = true;
/* Process Content Creation (By Data Record) (JSON) */
var settings = {
type: "POST",
url:
"/rest/serverengine/workflow/contentcreation/email/" + templateId,
data: JSON.stringify(config),
contentType: "application/json"
};
if (section.length) settings.url += "?section=" +
section;
$.ajax(settings)
.done(function (response, status, request) {
var progress = null;
operationId = request.getResponseHeader
("operationId");
$submitButton.prop("disabled", true);
$cancelButton.prop("disabled", false);
c.displayStatus("Content Creation Operation
Page 322