-
Set the path of the custom validation report writer assembly. For example:
VTLCustomReportWriterDllPath="D:\CustomDlls\CustomValidationReportWriter.dll".
-
Set the following two properties on the IVTLValidationReportDefinition interface.
-
VTLValidationReportType - This property specifies the validation report type. This type uses the VTLValidationReportTypes enum list, which contains:
-
e1TextReport - a text report enum.
-
e1ExcelReport - a Microsoft Excel report enum.
-
e1CustomReport - a custom report enum.
To generate the report in a custom format use the e1CustomReport enum entry.
-
-
VTLCustomReportWriterDllPath - This property specifies the path to the custom validation report writer assembly. You can use the full path or relative path to the custom assembly. For example:
-
Full path - "D:\CustomDlls\CustomValidationReportWriter.dll"
-
Relative Path - "CustomValidationReportWriter.dll"
The relative path must be based on the site Bin directory.
For example:
<drive>:\SmartPlant Foundation Server Files\Web_Sites\SDVTestServer\Bin.
-
-
-
Use the following schema to create a new VTLValidationReportDefinition and use it while creating a job definition.
This sample can also be found in the ModelFiles directory in the CustomExamples folder at Smart Community. For more information, see Find sample data on Smart Community.
<VTLValidationReportDefinition>
<IObject UID="CustomValidationReportDefinition" Name="CustomValidationReportDefinition" Description="Customized Example Validation Report" />
<IVTLValidationReportDefinition VTLValidationReportType="e1CustomReport" VTLCustomReportWriterDllPath=" D:\CustomDlls \Intergraph.VTL.CustomValidationReportWriters.dll" />
</VTLValidationReportDefinition>