-
Open the
PDFRendering.xml file in
.../Apps/DocumentControlCentral/V6R2022x/Modules/ENOPDFRendering/AppInstall/Programs,
then follow these steps:
-
Add or edit these lines:
<ApplicationSettings>
<RenderPDF>true</RenderPDF>
<AdlibJobManagementServiceMachineName>server_name</AdlibJobManagementServiceMachineName>
<AdlibPdfVersion>adlib_version</AdlibPdfVersion>
<MachineId>machine_id</MachineId>
<AdlibServiceLocation>selfHosted_location</AdlibServiceLocation>
<InputDirectory>input_dir</InputDirectory>
<OutputDirectory>output_dir</OutputDirectory>
<GenerateJobTicket>true</GenerateJobTicket>
<RepositoryId>00000000-0000-0000-0000-000000000000</RepositoryId>
<TransformationWorkspaceId>PDF_transformation_engine</TransformationWorkspaceId>
<ComponentVersion>1.0.0</ComponentVersion>
<RemoteInputDirectory>remote_input_dir</RemoteInputDirectory>
<RemoteOutputDirectory>remote_output_dir</RemoteOutputDirectory>
<ConsoleUsername>sysadmin</ConsoleUsername>
<ConsolePassword>sysadmin_password</ConsolePassword>
<TOCPageLocation>Start\End\Empty</TOCPageLocation>
<ApproversPageLocation>Start\End\Empty</ApproversPageLocation>
<QRCodeLocation>Start\End\Empty</QRCodeLocation>
<RenditionMode>consolidated</RenditionMode>
<ActivationMode>manual</ActivationMode>
<UpdatePDFTotals>false</UpdatePDFTotals>
<Type name="type_CONTROLLEDDOCUMENTS" mode="DCL" ServiceType="WebService" >
<Service>Generic</Service>
</Type>
<RenditionTemplate>
<Enabled>true\false</Enabled>
<DefaultRenditionTemplate>
<Name>Internal Tech Doc Template</Name>
<Rev>0<Rev>
<DefaultRenditionTemplate>
</RenditionTemplate>
<NoRenderFileCategories>
<FileCategory>Skip PDF</FileCategory>
<FileCategory attachment="true">Attachment</FileCategory>
</NoRenderFileCategories>
</ApplicationSettings>
where:
Note:
You can find the TransformationWorkspaceId, and
other important Adlib information, in the
initsettings.xml file generated after the Adlib
Generic Connector has connected to the Adlib server.
-
Import the specified values into 3DSpace by running the following MQL command:
mod page PDFRendering file …/Apps/DocumentControl/R2022x/Modules/ENOPDFRendering/
AppInstall/Programs/PDFRendering.xml;
-
To verify that you have imported the file correctly, run
the following MQL command:
print page PDFRendering select content;
-
Next, a secret code is required to be generated through the 3DPassport server. This secret code is required to start PDFR in its monitoring
activity/function. It is the System Administrator's responsibility to remove any trace or command-line history that might capture the shell or
batch command line containing this secret code. Unlike a password, the secret
code does not provide immediate permissions to 3DSpace, and there are a series of REST service exchanges that need to take place
between PDFR and 3DPassport to obtain an authorization token leading to 3DSpace permissions. Use the following instructions to obtain the secret code:
-
Log in to the 3DSpace server as VPLMAdminUser.
-
From the north quadrant of the Compass, click .
-
Click 3DPassport
.
-
From the 3DPassport
Control Center, select
Integration.
The integration panel opens on the right.
-
Click
Batch Services.
-
To add the PDFR Service, select
Add batch services.
-
Enter the service name.
-
Click Apply.
The Generated Secret confirmation panel opens. Remember this secret code
or click Copy to copy the secret to a command line or
text editor. This secret code, along with the name of the service that you used,
are required as input arguments when starting the PDFR Monitoring
Service.
|