alfresco-ng2-components/docs/process-services-cloud/components/form-cloud-custom-outcome.component.md
siva kumar 3291ecaccb [ADF-4432] TaskFormCloudComponent - should be read only if the task is unclaimed. (#4654)
* [ADF-4432] FormCloud - should be read only if the task is unclaimed.* Modifed formCloud component related claim/unclaim custom buttons.* Added unit tests to the recent changes* Created an component to project custom form outcomes.

* * Added documentation to the formcloudcustomoutcome component.
2019-04-30 10:21:37 +01:00

35 lines
990 B
Markdown

---
Title: Form cloud custom outcomes component
Added: v3.2.0
Status: Active
Last reviewed: 2019-04-12
---
# [Form cloud custom outcomes component](../../../lib/process-services-cloud/src/lib/form/components/form-cloud-custom-outcomes.component.ts "Defined in form-cloud-custom-outcomes.component.ts")
Supplies custom outcome buttons to be included in [Form cloud component](form-cloud.component.md).
![](../../docassets/images/form-cloud-custom-outcomes.component.png)
## Basic Usage
```html
<adf-cloud-form>
<adf-cloud-form-custom-outcomes>
<button mat-button (click)="onCustomOutcome1()">
Custom-outcome-1
</button>
<button mat-button (click)="onCustomOutcome2()">
Custom-outcome-2
</button>
<button mat-button (click)="onCustomOutcome3()">
Custom-outcome-3
</button>
</adf-cloud-form-custom-outcomes>
</adf-cloud-form>
```
## See Also
- [Form cloud component](form-cloud.component.md)