0 Replies Latest reply on Jun 14, 2016 10:53 AM by johnny12times

    Variables available in Soy and FTL files

    johnny12times

      Hello, all.

       

      I am looking for a list of variables available in Soy/FTL theme files. Is anyone aware of any documentation around this?

       

      For instance, in the '/template/docs/document.ftl' theme file, we have access to ${document} where we can call things like ${document.subject} and${document.docID}and ${container} with it's own properties and methods.

       

      The initial goal around this is to look into a method of providing the contentID of a piece of content as a JS variable or HTML element on the page at load time, rather than needing a separate entityDescriptor API call, but I think with access to a list, the possibilities could become endless.

       

      Thanks,

      Johnny