02-25-2009 06:56 PM
model.folders = getData(requestedFolder);
var htmlCheck = companyhome.childByNamePath("List.html");
if (htmlCheck != null)
{
//need to return static page if it exists
}
else //process the webscript
{
var template = companyhome.childByNamePath("Data Dictionary/Web Scripts/Testlist.get.html.ftl");
var document = companyhome.createFile("List.html");
var StaticResult = document.processTemplate(template, model.folders);
document.content = StaticResult;
}
02-26-2009 01:51 AM
${entire-page!""}
model.entire-page = htmlCheck.content;
02-26-2009 05:44 AM
02-26-2009 08:40 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.