6.2.3 Uipath
Uipath definitions and example definitions are shown below. For more information on Uipath, see “Defining window URL (Uipath)”.
(Table) Uipath definitions (UI version 1.1)
| Label | Default value | Required | Description | ||
|---|---|---|---|---|---|
| apiVersion: | 1.1 | Yes | API version | ||
| kind: | Yes | Specify "uipath" for Uipath. | |||
| type: | No | Only "resource" can be specified for Uipath. | |||
| name: | Yes | Internal name of the Uipath definition. Specify the directory name for this YAML file. | |||
| label: | Yes | YAML file display name | |||
| includes: | No | Describe the related YAML files for use in this YAML file in an array format. | |||
| - kind: | Yes | Type of YAML file to be loaded | |||
| name: | Yes | Internal name of YAML file to be loaded | |||
| description: | No | Detailed description | |||
| pathType: | Yes | Specify the type of path segment from the following.
|
|||
| path: | No | If pathType is set as "static", specify the value of the path segment. Cannot be left empty. | |||
| navigateTo: | No | Specify the components to be displayed in the uipath of this YAML file or the type and internal name of the uipath of the navigation destination. | |||
| kind: | Yes | Type of YAML file for the navigation destination "ui" or "uipath" can be specified. |
|||
| nameType: | static | No | Navigation destination type
|
||
| name: | Yes | Specify the name of the YAML file for the UI that is to be displayed or the name of the YAML file of the Uipath for the navigation destination. | |||
| children: | No | Describe the child components for placement within components. If a uipath manifest for which pathType is set as "dynamic" is specified for "children", the number of elements in the array must be one. Example:
|
|||
| - kind: | Yes | Type of YAML file for use with "Include" | |||
| name: | Yes | Internal name of YAML file for use with "Include" | |||
<Definition example>
---
apiVersion: 1.1
kind: uipath
## Meta data
type: resource
name: service_detail_by_id
label: "{{.Values.label}}"
description: "{{.Values.description}}"
## Dependencies
includes:
- kind: ui
name: service_detail_ui
pathType: dynamic
navigateTo:
kind: ui
nameType: static
name: service_detail_ui