Text File Utilities

Overview

Reads data from a text file (any extension encoded as text) into a string, with an option to preserve line breaks.

 

Anonymous
Parents
  • Hello,

    We've found the following  bug in the ReadTextFileExpression function in version 3.0.1 of the plugin  related to the new file system api management.   

    Indeed, instead of using  cs.getDocumentInputStream(txtFile), you should 

    use cs.getDocumentInputStream(cs.getVersionId(txtFileId, ContentConstants.VERSION_CURRENT)) otherwise the behaviour is very strange (mix of version and documentid content)

    Regards 

     

Comment
  • Hello,

    We've found the following  bug in the ReadTextFileExpression function in version 3.0.1 of the plugin  related to the new file system api management.   

    Indeed, instead of using  cs.getDocumentInputStream(txtFile), you should 

    use cs.getDocumentInputStream(cs.getVersionId(txtFileId, ContentConstants.VERSION_CURRENT)) otherwise the behaviour is very strange (mix of version and documentid content)

    Regards 

     

Children
No Data