Watermark for Linux
After setting the Watermark on the Document Category, follow the steps below.
1.Adding Parameters
In order to connect DocVariables with the database information, parameters should be previously registered. These parameters are found in the ‘export.ini’ at the following path:
ForSESuite:
<installation_path>/web/wwwroot/generic/app/viewer/
ForIsosystem:
<installation_path>/web/wwwroot//generic/app/
and correspond to the lines below:
[DOC]
NRDOCTO=DOC
DSTITULO=TITLE
NMREVISAO=REV
DTREVISAO=DATEREV
NMELABORADOR=DRAFTER
NMCONSENSADOR=REVIEWER
NMAPROVADOR=APPROVER
NMELABUSERFUNCTION=DRAFUSERFUNCTION
NMELABFUNCTION=DRAFFUNCTION
[XLS]
NRDOCTO=NUMBER
DSTITULO=TITLE
DTREVISAO=DATE
NMREVISAO=REVISION
2. DocVariables
DocVariable links information to a Word or Excel document. In ISOSYSTEM Document, DocVariable retrieves data from database and automatically displays the information in the document body.
2.1MS Word Procedure
Office 2003:
Office 2007:
Picture 1(Office 2003 and 2007) – Opena DocView document, in the draft step, for example.
Office 2003:
Office 2007:
Picture 2(Office 2003 and 2007) – Access the “Insert” menu and choose the “Field” option.
Office 2003:
Office 2007:
Picture 3(Office 2003 and 2007) – In “Field names”, select “DocVariable”.In the “New name” field, enter a variable name, according to item 2.3.
After defining the name, click the “Ok” button. Open Docview and check if the desired information displays on the screen. Some DocVariables could be related to the document status or revision step, such as: revision date, approver, responsible for the doc release and other information.
Result:
Picture 4– Document ID codewas automatically added to document body.
2.2MS Excel Procedure
Office 2003:
Office 2007:
Picture5(Office 2003 and 2007) – At the “Insert” menu click the“Name” submenu and the “Define...” option.
Office 2003:
Office 2007:
Picture 6(Office 2003 and 2007) – The field “Name” on the Name Manger screen has to be the same as the parameter on export.ini file. In the field “Refers To”insert the spreadsheet name followed by exclamation point and the name, or select the cell manually. Once completing the information click on the refresh button.
Office 2003:
Office 2007:
Picture 7(Office 2003 and 2007) – After going back to ExcelView click the refresh button and verify if data iscorrect.
2.3Description of variables available in the export.ini file mentioned at topic 1.3:
DOC= Document number
TITLE= Document title
REV= Revision number
DATEREV= Revision date
DRAFTER = Drafter name
REVIEWER= Reviewer name
APPROVER= Approver name
DRAFUSERFUNCTION = DrafterUser and Function
DRAFFUNCTION = DrafterFunction
2.4 DocVariables for attributes
It is possible to add any attribute as a DocVariable. In order to do it, insert, in the export.ini file (...\Inetpub\ISOSYSTEMWeb\wwwroot\document\app), the value:
ATTRIBUTE_CODE = VARIABLE NAME
Where:
CODE = Attribute ID code.
VARIABLE NAME = Value that must be entered when adding DocVariable.
Created by: Bianca Brasil
Revision: 00