1 Reply Latest reply on Oct 3, 2007 8:41 AM by Will

    Freemarker syntax for outputting document summary/body



      I'm trying to output the text of a document object in a freemarker template but can't get it to work;


      <#if document.isTextBody()>


      Is there a better way to check to see if the document is a text or binary document as calling document.summary on a text document gives an error.




      James B.