2018.1

Table Of Contents
})
.fail(c.displayDefaultFailure);
};
/* Construct JSON Identifier List (with Email
Parameters) */
var config = {
"sender": $("#sender").val(),
"host": $("#host").val(),
"useAuth" : $useAuth.prop("checked"),
"useSender": $("#usesender").prop
("checked"),
"attachWebPage": $("#attachweb").prop
("checked"),
"attachPdfPage": $("#attachpdf").prop
("checked")
},
drids = c.plainIDListToJson(dataRecordIds);
if (config.useAuth) {
config.useStartTLS = $startTLS.prop("checked");
config.user = $username.val();
config.password = $password.val();
} else {
config.user = "";
}
config.identifiers = drids.identifiers;
/* 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; charset=utf-8"
};
if (section.length) settings.url += "?section=" +
section;
$.ajax(settings)
.done(function (response, status, request) {
var progress = null;
operationId = request.getResponseHeader
Page 246