From dafda33740d7c716d90c49aea26f7d28f0cc5f68 Mon Sep 17 00:00:00 2001 From: Andy Stark <30621568+therealandeeee@users.noreply.github.com> Date: Fri, 15 Mar 2019 17:48:44 +0000 Subject: [PATCH] [ADF-588] Explicitly added task/process list model classes to docs (#4447) * [ADF-588] Added short clarifications of where task/proc list props are defined * [ADF-588] Added short clarifications of where task/proc list props are defined * [ADF-588] Fixed links and merge glitches --- docs/process-services/components/process-list.component.md | 5 +++-- docs/process-services/components/task-list.component.md | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/process-services/components/process-list.component.md b/docs/process-services/components/process-list.component.md index c4b5eb425a..1176a44cc5 100644 --- a/docs/process-services/components/process-list.component.md +++ b/docs/process-services/components/process-list.component.md @@ -74,8 +74,9 @@ when the process list is empty: ## Details -You can define a custom schema for the list in the `app.config.json` file and access it with the -`presetColumn` property as shown below: +The list can show any of the properties of the +[`ProcessInstance`](../../../lib/process-services/process-list/models/process-instance.model.ts) +class. The example below shows how to define a custom schema for the list in the `app.config.json` file and access it with the `presetColumn` property: ```json "adf-process-list": { diff --git a/docs/process-services/components/task-list.component.md b/docs/process-services/components/task-list.component.md index cb6daa5740..af8c51b303 100644 --- a/docs/process-services/components/task-list.component.md +++ b/docs/process-services/components/task-list.component.md @@ -90,7 +90,9 @@ renders details of any chosen instance. ### Setting the column schema -You can use an HTML-based schema declaration to set a column schema for the tasklist as shown below : +You can configure the list to show any of the properties of the +[`TaskDetailsModel`](../../../lib/process-services/task-list/models/task-details.model.ts) +class. The example below shows how to set up the column schema from HTML: ```html @@ -211,7 +213,7 @@ The Tasklist also supports pagination as shown in the example below: See the [Data Table Adapter interface](../../core/interfaces/datatable-adapter.interface.md) page for full details of the interface and its standard implementation, [`ObjectDataTableAdapter`](../../../lib/core/datatable/data/object-datatable-adapter.ts). Below is an example of how you can set up the adapter for a -typical tasklist. +typical tasklist: ```json [