Report templates are files used to format a report. They are stored as template documents.
The deciding factor in which report templates appear at which point is decided by the SPFDocType setting on the SPFTemplateDocMaster object.
The following report templates are delivered with the core model.
Template name |
Template |
---|---|
SmartPlant Foundation Excel Default Template |
SPFExcelDefaultTemplateFile.xls |
Class Defs Report Template |
ClassDefsReportTemplateFile.xsl |
External Transmittal Report Template |
ExternalXmtlReportTemplateFile.xsl |
Internal Transmittal Report Template |
InternalXmtlReportTemplateFile.xsl |
SmartPlant Foundation XSL Example Template |
SPFXSLExampleTemplateFile.xsl |
Workflow Details Report Template |
WorkflowDetailsReportTemplate.xsl |
Excel OpenXML Template |
SPFExcelOpenXMLTemplateFile.xltm |
Additional templates can be created as required.
To use a new template in reporting, a new SPFTemplate document should be created and related to an SPFTemplateFile object. The template document type should be appropriate for the template being created.
Once an SPFTemplate document has been created, the user can select the template at the point of configuring a report, depending on the output type selected. (For example, when an output type of XHTML is selected, only templates of type XSL will be shown in the list).