I am following this tutorial to create a folder-listing java-backed webscript.
Creating a Java-backed web script | Alfresco Documentation
I have build maven project from eclipse. It is working(able to load localhost:8080/share)
but, when I run the : http://127.0.0.1:8080/alfresco/service/javadir/Company%20Home/sakshitest
It is displaying the following error:
Message: | 05090000 Wrapped Exception (with status template): 05090002 Error during processing of the template 'The following has evaluated to null or missing: ==> folder [in template "alfresco/tutorials/javadir.get.html.ftl" at line 3, column 19] Tip: If the failing expression is known to be legally null/missing, either specify a default value with myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthessis: (myOptionVar.foo)!myDefault, (myOptionVar.foo)?? The failing instruction: ==> ${folder} [in template "alfresco/tutorials/javadir.get.html.ftl" at line 3, column 17]'. Please contact your system administrator. |
Server: | Community v5.2.0 (r130508-b9) schema 10,004 |
Help is appreciated!
I fixed the problem. It is working fine now
Hey, How did you solve this
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.