Installing Watermarking

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 30 - 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:

  1. Microsoft Visual C++ 2010, 2012, 2013, and 2015 Redistributable Packages (x64)
  2. https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
  3. After the Conversion Server is installed and set up, edit the ConversionServerConfig.xml file as follows:

  4. Navigate to the root of Conversion Server installation and open the ConversionServerConfig.xml file for editing.
  5. Add the following line within the Converters tag.:
  6. <Converter name="PDF.Watermarking” type="Aras.PDF.Watermarking.PdfWatermarkConverter, Aras.PDF.Watermarking” />
  7. Save and close the ConversionServerConfig.xml file.

To set up PDF Watermarking, the following Items will need to be created according to the needs of your system.

  1. Log into Aras Innovator and go to TOC --> Administration --> Watermarking --> Watermark Types. The menu shown in Figure 2 appears.
  2. Click Create New Watermark Type to create a Watermark Type with the wm_CreatePDFWatermarkingTasks Conversion Task Method.
  3. Create a new Watermark Set using the recently created Watermark Type.
  4. The Event Context property should be set to OnAfterPromote for the default Watermark Set.

  5. Create the PDF Collections for the appropriate Watermark Context.
    1. Name: sets the name for the Collection.
    2. Watermark Context: identifies the Context for the Watermark.
    3. Description: provides a description for internal reference.
    4. Template File: PDF file that contains the desired watermark.
    5. Placement Option: sets overlay or underlay layer.
    6. Placement Order: sets the order of the files, in the case more than one is used for the same layer.
    7. Pages On: sets pages where the watermark should apply.
  6. Create a Watermark Rule for your ItemType using the Watermark Set created in step 3.
  7. Add a Methods Relationship to your Rule using the following:
    1. Watermark Type: the Watermark Type created in step 2.
    2. Watermark Content Lookup: the wmdt_GetPDFWMContent Method:
    3. This Method works with the Document File relationship.
    4. To use an ItemType other than Document File, the wm_SourceLookupTemplate Method can be used as a template for developing a custom Method.
    5. Watermark Configuration Lookup: the wm_GetWMConfiguration Method:
    6. Set Watermark Content:wmdt_UpdatePDFWMContent Method.
    7. This Method works with the Document File relationship.
    8. To use an ItemType other than Document File, the wm_SourceUpdateTemplate Method can be used as a template for developing a custom Method.
  8. Add the State Relationships from the ItemType where the Watermark Rule should apply.
  9. Add PDF Collections created in Step 4 to the Watermark Set created in Step 3.