Andy Stark e74f545aa8 [ADF-4152] Updated doc folder structure and index tool (#4403)
* [ADF-4152] Initial GraphQL implementation

* [ADF-4152] Schema updates

* [ADF-4152] Rounded out basic fields

* [ADF-4152] Added basic template functionality

* [ADF-4152] Added full template generation

* [ADF-4152] Moved proc services doc files to new folders

* [ADF-4152] Updated README.md with section from new template

* [ADF-4152] Fixed another problem with relative URLs

* [ADF-4152] Fixed links and some more bugs

* [ADF-4152] Removed proc services folder README file
2019-03-06 20:23:31 +00:00

1.4 KiB

Title, Added, Status, Last reviewed
Title Added Status Last reviewed
Process Audit Directive v2.0.0 Active 2019-01-14

Process Audit Directive

Fetches the Process Audit information in PDF or JSON format.

adf-process-audit-directive

Basic Usage

<button
    adf-process-audit
    [process-id]="processId"
    [format]="'pdf'"
    [download]="true"
    mat-icon-button (clicked)="onAuditClick($event)" (error)="onAuditError($event)" >
    <mat-icon>assignment_ind</mat-icon>
</button>

Class members

Properties

Name Type Default value Description
download boolean true Enables downloading of the audit file on clicking.
fileName string "Audit" Name of the file to download (for PDF downloads).
format string "pdf" Format for the audit information (can be "pdf" or "json").
processId string ID of the process.

Events

Name Type Description
clicked EventEmitter<any> Emitted when the decorated element is clicked.
error EventEmitter<any> Emitted when an error occurs.