Installing Watermarking
Copy
Before proceeding, make sure the following components are installed:
- Aras Innovator
- Aras Conversion Server
- Aras PDF Viewer
The PDF Watermarking feature requires the Conversion Server in order to run. For information on setting up the Conversion Server, see the Aras Innovator 31 - Conversion Server Setup Guide.
You must install The Microsoft Visual C++ 2010, 2012, 2013, and 2015 Redistributable Packages on the Conversion Server in order to run the Aras Innovator CAD to PDF Converter. The links to these downloads can be found at the latest supported Microsoft Visual C++ packages:
- Microsoft Visual C++ 2010, 2012, 2013, and 2015 Redistributable Packages (x64)
- https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
- Navigate to the root of Conversion Server installation and open the
ConversionServerConfig.xmlfile for editing. - Add the following line within the
Converterstag.: - Save and close the
ConversionServerConfig.xmlfile.
After the Conversion Server is installed and set up, edit the ConversionServerConfig.xml file as follows:
<Converter name="PDF.Watermarking” type="Aras.PDF.Watermarking.PdfWatermarkConverter, Aras.PDF.Watermarking” />To set up PDF Watermarking, the following Items will need to be created according to the needs of your system.
- Log into Aras Innovator and go to TOC --> Administration --> Watermarking --> Watermark Types. The menu shown in Figure 2 appears.
- Click Create New Watermark Type to create a Watermark Type with the
wm_CreatePDFWatermarkingTasksConversion Task Method. - Create a new Watermark Set using the recently created Watermark Type.
- Create the PDF Collections for the appropriate Watermark Context.
- Name: sets the name for the Collection.
- Watermark Context: identifies the Context for the Watermark.
- Description: provides a description for internal reference.
- Template File: PDF file that contains the desired watermark.
- Placement Option: sets overlay or underlay layer.
- Placement Order: sets the order of the files, in the case more than one is used for the same layer.
- Pages On: sets pages where the watermark should apply.
- Create a Watermark Rule for your ItemType using the Watermark Set created in step 3.
- Add a Methods Relationship to your Rule using the following:
- Watermark Type: the Watermark Type created in step 2.
- Watermark Content Lookup: the
wmdt_GetPDFWMContentMethod: - This Method works with the Document File relationship.
- To use an ItemType other than Document File, the
wm_SourceLookupTemplateMethod can be used as a template for developing a custom Method. - Watermark Configuration Lookup: the
wm_GetWMConfigurationMethod: - Set Watermark Content:
wmdt_UpdatePDFWMContentMethod. - This Method works with the Document File relationship.
- To use an ItemType other than Document File, the
wm_SourceUpdateTemplateMethod can be used as a template for developing a custom Method. - Add the State Relationships from the ItemType where the Watermark Rule should apply.
- Add PDF Collections created in Step 4 to the Watermark Set created in Step 3.
The Event Context property should be set to OnAfterPromote for the default Watermark Set.