As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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; }
${entire-page!""}
model.entire-page = htmlCheck.content;