To save annotations in the FileNet XML format, add the annotationOutputFormat parameter with the value set to FileNet to the servlet web.xml files as shown in the example below:

<init-param>
<param-name>annotationOutputFormat</param-name>
<param-value> FileNet</param-value>
</init-param>

You will also need to set the oneLayerPerAnnotation parameter the config.js file to true as shown below:

var oneLayerPerAnnotation = true;

FileNet annotation supported configurations

Supported server configurations

Parameter Name Value File Location
annotationOutputFormat filenet Web.xml

Note: PrizmDoc® for Java annotations can be used with any configuration of non-required annotation parameters.

Supported client configurations

Parameter Name Value File Location
base64EncodeAnnotations False Config.js
oneLayerPerAnnotation True Config.js

Special Annotation Mapping

The table below shows the FileNet annotation and its analogous PrizmDoc® for Java annotation:

FileNet Annotation PrizmDoc® for Java Annotation
v1-Rectangle SANN_FILLED_RECT
Arrow SANN_ARROW
Stamp SANN_EDIT
Text SANN_EDIT
Transparent Text SANN_EDIT (Not transparent)
v1-Oval SANN_FILLED_ELLIPSE
v1-Highlight Polygon SANN_FILLED_POLYGON
Pen SANN_FREEHAND
Freehand Line SANN_FREEHAND
Highlight Rectangle SANN_HIGHLIGHT_RECT
v1-Line SANN_LINE
v1-Open Polygon SANN_POLYGON
Closed Polygon SANN_POLYGON
StickyNote SANN_POSTIT