AnsweredAssumed Answered

Retrieving the content of a given folder in a .ftl script

Question asked by theorbix on Mar 21, 2008
Latest reply on Apr 17, 2008 by theorbix
Hello, I'm stuck in trying to do something that should be fairly simple…

I'm writing a dashlet that should list all the documents in a given space.

I've started writing the .ftl script that should retrieve the list of documents contained in the space, but I don't know how to build the query.

The path of my space is:

/Company Home/Marketing Stuff/Whitepapers

I've tried the following, but it throws an exception:

<#list companyhome.childByNamePath["/Company Home/Marketing Stuff/Whitepapers"] as child>

I'm sure I'm doing only a stupid mistake, but the other examples of .ftl scripts that I found do not help…