Hi Jay
Thanks for your input.
We had a Java-based application running at the application server while FileNet and ViewONE Virtual running at another server.
The Java-based application has integrated with ViewONE for document image operation.
The application would call ViewONE to show the ViewONE interface at the user client side for view and edit the document image.
The ViewONE interface would show the toolbar of various icons for annotation (i.e. text, line, etc) creation.
It is expected to control the default settings of the annotation when the user clicks the icon at ViewONE toolbar for an text annotation creation.
But different users who used different application functions, might have different annotation default setting requirements. Therefore, it was required to control the setting at the application level.
Please advise how to configure or implement it.
Thanks
Terence
------------------------------
ITPD CR
------------------------------
Original Message:
Sent: Thu March 20, 2025 10:58 AM
From: Jay Bowen
Subject: Set the default properties in an annotation file
Hello ITPD CR,
If all you want to do is create an annotation I recommend you use the CPE API. You will take two steps (1) create your annotation instance (2) associate the annotation to the document object. When you create the annotation the content will be an XML file which you can construct yourself or even easier annotate one document then locate the anno in CPE. Download that content, you will need to change a few fields like the document ID, create date, person that created the anno, optionally the text. I created variables for those fields such as xIDx, when I create a new anno I simply find and replace in the anno text my new values and persist to content engine. BAM done. Message back if you want some more help with this.
------------------------------
Jay Bowen
www.bowenecmsolutions.com
Medina, OH
Original Message:
Sent: Fri March 14, 2025 03:20 AM
From: ITPD CR
Subject: Set the default properties in an annotation file
Want to set default property settings of TEXT annotation when creating a TEXT annotation at a document under ViewONE.
The following are the required properties of TEXT annotations for default setting as:
(a) Font type (i.e. such as "Times New Romans" as default)
(b) Font size (i.e. 10 pt as default)
(c) Underline (i.e. underline is enabled as default)
(d) Color of the text (i.e. black as default)
(e) Bold (i.e. bold is enabled for text as default)
From ViewONE documentation, it had mentioned to create an annotation file to control the property settings of the annotations.
But it could not find any reference documentation on how to set the 5 properties (i.e. mentioned above) in an annotation file.
Please advise how to configure or define those settings in an annotation file.
Thanks
------------------------------
ITPD CR
------------------------------