02-19-2014 08:08 PM
var template = search.findNode("workspace://SpacesStore/027f4dd7-1d03-4fb2-95bd-80a2d48f6af0");
var node = search.findNode("workspace://SpacesStore/0c1b9534-17a8-41e6-9352-43af7f9f0b69"); // which should it be?
var destDir = search.findNode("workspace://SpacesStore/79302af2-abb2-493a-87ed-885cfe5dd20e");
var args = new Array();
args["certiq"] = "Some text here";
var result = node.processTemplate(template, args);
var outputFile = destDir.createFile("output.rtf");
outputFile.content = result;
In the template there are occurrences both of ${args["certiq"]} (double quotes, as of Freemarker documentation) and ${args['certiq']} (single quotes, as of Alfresco Wiki Javascript API Cookbook samples).02-20-2014 01:00 AM
02-26-2014 08:30 AM
03-03-2014 02:12 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.