[ADF-2298] Process Header - Make it customizable from config file (#2944)

* [ADF-2298] Process Header - Make it customizable from config file

* Added customization to process instance header through config file

* [ADF-2298] Process Header - Make it customizable from config file

* Fixed tests
* Added documentation
This commit is contained in:
Deepak Paul
2018-02-14 15:01:36 +05:30
committed by Maurizio Vitale
parent b08e2eced7
commit c51d76f5a2
4 changed files with 144 additions and 60 deletions

View File

@@ -17,3 +17,21 @@ Sub-component of the process details component, which renders some general infor
| Name | Type | Default value | Description |
| ---- | ---- | ------------- | ----------- |
| processInstance | `ProcessInstance` | | (**required**) Full details of the process instance to display information about. |
## Customise the properties showed
By default all the properties are showed :
***status***, ***ended***, ***category***, ***businessKey***, ***assignee***, ***created***,***id***, ***description***.
It is possible to customise the showed properties via "app.config.json".
This is how the configuration looks like:
```json
"adf-process-instance-header": {
"presets": {
"properties" : [ "status", "ended", "created", "id"]
}
}
```
In this way only the listed properties will be showed.