Chain Processes and process can produce different kinds of output, the file type can range from plain text files to PDF or ZIP files. To allow the browser to use the correct application to open the output file, a MIME type needs to be specified. Formats can be attached to Chains or Process Definitions to specify the output format and MIME type.
A format describes file content types, such as text or Postscript. A format can be assigned to a Process Definition's output or log format, thus defining the extension and MIME ( M ultimedia I nternet M ail E xtensions) type to use for the files. The application used to view a file depends on your browser, and your browser settings.
Formats should have a unique extension as the formats are looked-up by extension and the first format found will be used.
Formats are part of the Definitions section in the navigation bar. The following standard formats are provided with Redwood Server:
Name | Description | Documentation | Extension | Mime Type |
---|---|---|---|---|
CronacleArchive | com.redwood.scheduler.builtin.Format.CronacleArchive.description | A CAR file containing exported objects as well as an uploader class that allows you import objects from the command line. | car | application/java-archive |
CSV | com.redwood.scheduler.builtin.Format.CSV.description | A text file containing data in character-separated values. | csv | text/csv |
HTMLFragment | com.redwood.scheduler.builtin.Format.HTMLFragment.description | A fragment of HTML that can be embedded in extension points. | html | text/html |
HTMLText | com.redwood.scheduler.builtin.Format.HTMLText.description | A plain text file with HTML markup, can be used as the message of the day. | html | text/html |
JavaArchive | com.redwood.scheduler.builtin.Format.JavaArchive.description | A JAR file, usually containing Java packages and classes. | jar | application/java-archive |
OctetStream | com.redwood.scheduler.builtin.Format.OctetStream.description | A binary file. | application/octet-stream | |
PlainText | com.redwood.scheduler.builtin.Format.PlainText.description | A generic plain text file; this format makes no assumptions on line endings. | txt | text/plain |
PLSQL | com.redwood.scheduler.builtin.Format.PLSQL.description | A plain text file containing PL/SQL source code. | pls | application/sql |
PortableDocumentFormat | com.redwood.scheduler.builtin.Format.PortableDocumentFormat.description | A fixed-layout document in PDF format. | application/pdf | |
System_Excel | com.redwood.scheduler.builtin.Format.System_Excel.description | A spreadsheet file in the Excel 97 to 2003 format. | xls | application/vnd.ms-excel |
System_Excel_xml | com.redwood.scheduler.builtin.Format.System_Excel_xml.description | A spreadsheet file in the Excel 2007 or later format. | xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |
System_Excel_xmlm | com.redwood.scheduler.builtin.Format.System_Excel_xmlm.description | A spreadsheet file in the Excel 2007 or later format with macros enabled. | xlsm | application/vnd.ms-excel.sheet.macroEnabled.12 |
System_JPEG | com.redwood.scheduler.builtin.Format.System_JPEG.description | An image file in the JPG format. | jpg | image/jpeg |
System_JSON | com.redwood.scheduler.builtin.Format.System_JSON.description | A plain text file containing data in the JSON-format. | json | application/json |
System_PNG | com.redwood.scheduler.builtin.Format.System_PNG.description | An image file in the PNG format. | png | image/png |
System_PowerPoint | com.redwood.scheduler.builtin.Format.System_PowerPoint.description | A slideshow file in the PowerPoint 97 to 2003 format. | ppt | application/vnd.ms-powerpoint |
System_PowerPoint_xml | com.redwood.scheduler.builtin.Format.System_PowerPoint_xml.description | A slideshow file in the PowerPoint 2007 or later format. | pptx | application/vnd.openxmlformats-officedocument.presentationml.presentation |
System_PowerPoint_xmlm | com.redwood.scheduler.builtin.Format.System_PowerPoint_xmlm.description | A slideshow file in the PowerPoint 2007 or later format with macros enabled. | pptm | application/vnd.ms-powerpoint.presentation.macroEnabled.12 |
System_RTX | com.redwood.scheduler.builtin.Format.System_RTX.description | rtx | text/xml/ | |
System_Word | com.redwood.scheduler.builtin.Format.System_Word.description | A word processor file in the Word 97 to 2003 format. | doc | application/msword |
System_Word_xml | com.redwood.scheduler.builtin.Format.System_Word_xml.description | A word processor file in the Word 2007 or later format. | docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document |
System_Word_xmlm | com.redwood.scheduler.builtin.Format.System_Word_xmlm.description | A word processor file in the Word 2007 or later format with macros enabled. | docm | application/vnd.ms-word.document.macroEnabled.12 |
TextLog | com.redwood.scheduler.builtin.Format.TextLog.description | A plain text log file. | log | text/plain |
XMLText | com.redwood.scheduler.builtin.Format.XMLText.description | A plain text file containing XML data. | xml | text/xml |
Zip | com.redwood.scheduler.builtin.Format.Zip.description | A compressed binary file containing one or more files and/or folders. | zip | application/zip |