- 概要
- はじめに
- 概念
- UiPath CLI を使用する
- 使用ガイド
- CI/CD レシピ
- コマンド リファレンス
- 概要
- 終了コード
- グローバル オプション
- uip codedagent
- UIP コーダー
- UIP のコンテキスト グラウンディング
- uip docsai
- uip 関数
- UIP ガードレール
- uip llm - 構成
- uip llm-gateway
- UIP Maestro のオーサリング
- UIP Maestro レジストリ
- uip model-hub
- uip ont
- アクティビティ検索
- アクティビティ get-default-xaml
- 分析
- アナライザー - ルールのリスト
- 開発
- クリーンアップ
- data-fabric-entities をインストールする
- data-fabric-entities リスト
- ファイル差分
- get-library-object-repository
- オブジェクト リポジトリを取得
- Init
- インスタンス リスト
- パッケージ化
- パッケージ検査
- パッケージのインストール
- パッケージ バージョン
- パブリッシュ
- リモート
- 元に戻す
- 実行、デバッグ、実行
- 設定
- Studio での起動
- テンプレートの検索
- test-data add-entity
- test-data add-queue
- test-data add-variation
- TM
- UIA
- 検証
- workflow-examples get
- ワークフロー - 例のリスト
- uip resources
- UIP タスク
- uip traces
- UIP トレースのフィードバック
- 移行
- 参照とサポート
uip df チョイス セット
Data Fabric の列挙値リストを管理する「uip df choice-sets」および「uip df choice-set-values」の構文とオプション。
uip df choice-set-valuesuip df choice-setsData Fabric チョイス セット — エンティティの CHOICE_SET_SINGLE/CHOICE_SET_MULTIPLE フィールドによって参照される列挙値のリストです。choice-sets はセット自体 (そのメタデータと許可値のリスト) を管理します。 choice-set-values セット内の個々の値を管理します。
With --local, the list, list-values, create, and delete verbs act on choice sets authored in a solution on disk instead of the tenant. Refer to Local choice sets.
概要
uip df choice-sets list [--folder-key <key> | --include-folders]
uip df choice-sets list-values <choice-set-id> [-l <n>] [-o <n> | --cursor <cursor>] [--folder-key <key>]
uip df choice-sets create <name> [--display-name <name>] [--description <text>] [--folder-key <key>]
uip df choice-sets update <choice-set-id> --display-name <name> --description <text> [--folder-key <key>]
uip df choice-sets delete <choice-set-id> -y --reason <text> [--folder-key <key>]
uip df choice-set-values create <choice-set-id> <name> [--display-name <name>] [--folder-key <key>]
uip df choice-set-values update <choice-set-id> <value-id> <display-name> [--folder-key <key>]
uip df choice-set-values delete <choice-set-id> --ids <id,id,...> -y --reason <text> [--folder-key <key>]
# Choice sets authored in the solution on disk
uip df choice-sets list --local
uip df choice-sets list-values <name> --local
uip df choice-sets create <name> --local [--display-name <name>] [--description <text>]
uip df choice-sets delete <name> --local -y
uip df choice-set-values create <name> <value-name> --local [--display-name <name>]
uip df choice-set-values delete <name> --local --names <names...> -y
uip df choice-sets list [--folder-key <key> | --include-folders]
uip df choice-sets list-values <choice-set-id> [-l <n>] [-o <n> | --cursor <cursor>] [--folder-key <key>]
uip df choice-sets create <name> [--display-name <name>] [--description <text>] [--folder-key <key>]
uip df choice-sets update <choice-set-id> --display-name <name> --description <text> [--folder-key <key>]
uip df choice-sets delete <choice-set-id> -y --reason <text> [--folder-key <key>]
uip df choice-set-values create <choice-set-id> <name> [--display-name <name>] [--folder-key <key>]
uip df choice-set-values update <choice-set-id> <value-id> <display-name> [--folder-key <key>]
uip df choice-set-values delete <choice-set-id> --ids <id,id,...> -y --reason <text> [--folder-key <key>]
# Choice sets authored in the solution on disk
uip df choice-sets list --local
uip df choice-sets list-values <name> --local
uip df choice-sets create <name> --local [--display-name <name>] [--description <text>]
uip df choice-sets delete <name> --local -y
uip df choice-set-values create <name> <value-name> --local [--display-name <name>]
uip df choice-set-values delete <name> --local --names <names...> -y
すべての動詞は --folder-key <key> も受け入れます (フォルダー スコープのチョイス セットの場合はフォルダー GUID)。
Local choice sets (--local)
--local switches a verb from the tenant to the choice sets authored in the solution on disk. No login is required, and nothing exists on a tenant until the solution deploys. The command must run from inside the solution directory.
A locally authored choice set is one file, resources/solution_folder/choiceSet/<Name>.json.
テナント フォームとの違い
- The
<choice-set-id>argument is the choice set name, because nothing has an ID until deploy. Names are 3 to 100 letters and digits, and are unique in the solution, ignoring case. An entity and a choice set cannot share a name. - A value added with
--localhas noNumberId. The deploy assigns it:0,1,2, and so on in file order for a new choice set, and the next free number for a choice set that is already deployed. choice-sets deleteandchoice-set-values deletetake--yesand no--reason.choice-set-values deletetakes--namesinstead of--ids, because local values have no ID.- Options that address the tenant fail with
--local. The command names the offending option instead of ignoring it:--folder-keyand--include-folders,--reasonand--ids, and--limit,--offset, and--cursoronlist-values. choice-sets updateandchoice-set-values updatehave no--localform.- A choice set imported from a tenant with
uip solution resources add --source remotecan be listed and read. The local commands do not change or delete it.
A refused local command writes nothing. The failure carries the refusal code in Context.ErrorCode, next to the CLI-wide ErrorCode. ErrorCode is not_found for a code that ends in _NOT_FOUND, and invalid_argument for the rest.
Context.ErrorCode | 原因 |
|---|---|
CHOICE_SET_NOT_FOUND | The solution has no choice set of that name. |
CHOICE_SET_NAME_TAKEN | A choice set or an entity of the solution already has the name, ignoring case. |
CHOICE_SET_VALUE_NOT_FOUND | A name passed to --names is not a value of the choice set. Nothing is removed. |
CHOICE_SET_VALUE_NAME_TAKEN | The choice set already has a value of that name. |
CHOICE_SET_IN_USE | An entity field of the solution still references the choice set. |
INVALID_NAME | The name is not 3 to 100 letters and digits. |
NOT_LOCALLY_AUTHORED | The choice set was imported from a tenant. Change it on the tenant. |
Refer to Local choice set examples for the commands and their output.
uip df チョイス セット
UIP DF チョイス セット リスト
チョイス セットのリストを表示します。既定ではテナント レベルのチョイス セットです。スコープを 1 つのフォルダーに --folder-key すると、すべてのフォルダーのチョイス セット --include-folders テナント レベルのチョイス セットが含まれます。
オプション
| Short | 長押し | 値 (Value) | 既定 (Default) | 説明 |
|---|---|---|---|---|
| — | --folder-key | キー | — | フォルダー キー (GUID) - コンポーネントのスコープを特定のフォルダーに設定します。--include-foldersと相互に排他的です。 |
| — | --include-folders | フラグ | 無効 | テナント レベルのチョイス セットと、表示されているすべてのフォルダーのチョイス セットを表示します。--folder-keyと相互に排他的です。 |
| — | --local | フラグ | 無効 | List the choice sets authored in the solution on disk instead of the tenant. |
例
uip df choice-sets list
uip df choice-sets list
データシェイプ(--output json)
{
"Code": "ChoiceSetList",
"Data": [
{
"id": "c1d2e3f4-0000-0000-0000-000000000001",
"name": "ExpenseTypes",
"displayName": "Expense Types",
"description": "Categories of expenses",
"folderId": "f1000000-0000-0000-0000-000000000001",
"createdBy": "u1000000-0000-0000-0000-000000000001",
"updatedBy": "u1000000-0000-0000-0000-000000000001",
"createdTime": "2026-01-01T00:00:00Z",
"updatedTime": "2026-01-02T00:00:00Z"
}
]
}
{
"Code": "ChoiceSetList",
"Data": [
{
"id": "c1d2e3f4-0000-0000-0000-000000000001",
"name": "ExpenseTypes",
"displayName": "Expense Types",
"description": "Categories of expenses",
"folderId": "f1000000-0000-0000-0000-000000000001",
"createdBy": "u1000000-0000-0000-0000-000000000001",
"updatedBy": "u1000000-0000-0000-0000-000000000001",
"createdTime": "2026-01-01T00:00:00Z",
"updatedTime": "2026-01-02T00:00:00Z"
}
]
}
Data 行は生のキャメルケース SDK オブジェクトです。各行のidは、CHOICE_SET_SINGLE/CHOICE_SET_MULTIPLE エンティティ フィールドにchoiceSetIdとして渡す値、または以下のエンティティ フィールドに渡す値list-valuesです。
uip df チョイス セット list-values
チョイス セットの値を一覧表示する。カーソルベースのページネーションがサポートされています。
引数
| 名前 | Required | 目的 |
|---|---|---|
<choice-set-id> | ○ | Choice set ID (UUID). With --local, the choice set name. |
オプション
| Short | 長押し | 値 (Value) | 既定 (Default) | 説明 |
|---|---|---|---|---|
-l | --limit | Number | 50 | ページあたりに返される値の数です。 |
-o | --offset | Number | — | このレコード索引を含むページから開始します (ページ境界に切り捨て)。--cursorと相互に排他的です。 |
| — | --cursor | カーソル | — | 前の回答の nextCursor.valueから取得したページネーションのカーソル値です。 |
| — | --folder-key | キー | — | チョイス セットを含むフォルダーのフォルダー キー (GUID) (フォルダー範囲のチョイス セットの場合)。 |
| — | --local | フラグ | 無効 | List the values of a choice set authored in the solution on disk. <choice-set-id> is then the choice set name. |
例
uip df choice-sets list-values c1d2e3f4-0000-0000-0000-000000000001 --limit 2
uip df choice-sets list-values c1d2e3f4-0000-0000-0000-000000000001 --limit 2
データシェイプ(--output json)
{
"Code": "ChoiceSetValues",
"Data": {
"items": [
{ "id": "v1000000-0000-0000-0000-000000000001", "name": "travel", "displayName": "Travel", "numberId": 0 },
{ "id": "v1000000-0000-0000-0000-000000000002", "name": "meals", "displayName": "Meals", "numberId": 1 }
],
"totalCount": 2,
"hasNextPage": false
}
}
{
"Code": "ChoiceSetValues",
"Data": {
"items": [
{ "id": "v1000000-0000-0000-0000-000000000001", "name": "travel", "displayName": "Travel", "numberId": 0 },
{ "id": "v1000000-0000-0000-0000-000000000002", "name": "meals", "displayName": "Meals", "numberId": 1 }
],
"totalCount": 2,
"hasNextPage": false
}
}
numberIdは、レコードを フィールドに挿入または更新するときに渡す整数ですCHOICE_SET_SINGLE CHOICE_SET_MULTIPLE( の場合は配列 。
uip df チョイス セット 作成
新しいチョイス セットを作成します。
引数
| 名前 | Required | 目的 |
|---|---|---|
<name> | ○ | チョイス セット名 (文字で始まり、文字、数字、アンダースコアのみ)。 |
オプション
| Short | 長押し | 値 (Value) | 既定 (Default) | 説明 |
|---|---|---|---|---|
| — | --display-name | text | — | 人間が判読できる表示名。 |
| — | --description | text | — | チョイス セットの説明。 |
| — | --folder-key | UUID | — | チョイス セットを配置するフォルダーです。既定ではテナント レベルのフォルダーです。 |
| — | --local | フラグ | 無効 | Create the choice set in the solution on disk instead of the tenant. |
例
uip df choice-sets create ExpenseTypes \
--display-name "Expense Types" \
--description "Categories of expenses"
uip df choice-sets create ExpenseTypes \
--display-name "Expense Types" \
--description "Categories of expenses"
データシェイプ(--output json)
{
"Code": "ChoiceSetCreated",
"Data": { "ID": "c1d2e3f4-0000-0000-0000-000000000001" }
}
{
"Code": "ChoiceSetCreated",
"Data": { "ID": "c1d2e3f4-0000-0000-0000-000000000001" }
}
返されたIDは、CHOICE_SET_SINGLE/CHOICE_SET_MULTIPLEエンティティ フィールドのchoiceSetIdとして使用されます。下の choice-set-values createを使用して値を追加します。
UIP DF チョイス セットの更新
チョイス セットの表示名と説明を更新します。
引数
| 名前 | Required | 目的 |
|---|---|---|
<choice-set-id> | ○ | チョイス セット ID (UUID)。 |
オプション
| Short | 長押し | 値 (Value) | 既定 (Default) | 説明 |
|---|---|---|---|---|
| — | --display-name | text | — | 必須。新しい表示名。 |
| — | --description | text | — | 必須。新しい説明。 |
| — | --folder-key | キー | — | チョイス セットを含むフォルダーのフォルダー キー (GUID) (フォルダー範囲のチョイス セットの場合)。 |
--display-name と --description の両方を一緒に渡す必要があります。部分的な更新はありません。サーバーは、説明のみの更新を DisplayName is required.で拒否し、表示名のみの更新を内部サーバー エラーで拒否します。一方のフィールドのみを変更するには、まずもう一方のフィールドの現在値を choice-sets listで読み取ってから、両方を再送信します。
例
uip df choice-sets update c1d2e3f4-0000-0000-0000-000000000001 \
--display-name "Expense Categories" \
--description "Categories of expenses"
uip df choice-sets update c1d2e3f4-0000-0000-0000-000000000001 \
--display-name "Expense Categories" \
--description "Categories of expenses"
データシェイプ(--output json)
{
"Code": "ChoiceSetUpdated",
"Data": { "ID": "c1d2e3f4-0000-0000-0000-000000000001" }
}
{
"Code": "ChoiceSetUpdated",
"Data": { "ID": "c1d2e3f4-0000-0000-0000-000000000001" }
}
UIP DF チョイス セットの削除
チョイス セットを完全に削除する。これは元に 戻せません。
引数
| 名前 | Required | 目的 |
|---|---|---|
<choice-set-id> | ○ | Choice set ID (UUID). With --local, the choice set name. |
オプション
| Short | 長押し | 値 (Value) | 既定 (Default) | 説明 |
|---|---|---|---|---|
-y | --yes | フラグ | — | 必須。これは元に戻せない操作であることを確認します。 |
| — | --reason | text | — | Required for a tenant delete. Reason for the deletion — echoed back in the response so the caller can log it. Not accepted with --local. |
| — | --folder-key | キー | — | チョイス セットを含むフォルダーのフォルダー キー (GUID) (フォルダー範囲のチョイス セットの場合)。 |
| — | --local | フラグ | 無効 | Delete a choice set authored in the solution on disk. <choice-set-id> is then the choice set name. |
A tenant delete without --yes and --reason fails once and names both options.
例
uip df choice-sets delete c1d2e3f4-0000-0000-0000-000000000001 \
--yes --reason "no longer used"
uip df choice-sets delete c1d2e3f4-0000-0000-0000-000000000001 \
--yes --reason "no longer used"
データシェイプ(--output json)
{
"Code": "ChoiceSetDeleted",
"Data": {
"ID": "c1d2e3f4-0000-0000-0000-000000000001",
"Reason": "no longer used"
}
}
{
"Code": "ChoiceSetDeleted",
"Data": {
"ID": "c1d2e3f4-0000-0000-0000-000000000001",
"Reason": "no longer used"
}
}
uip df チョイス セット値
uip df choice-set-values 作成
チョイス セットに値を追加します。
引数
| 名前 | Required | 目的 |
|---|---|---|
<choice-set-id> | ○ | Choice set ID (UUID). With --local, the choice set name. |
<name> | ○ | 値の名前です (文字で始まり、文字と数字のみ)。 |
オプション
| Short | 長押し | 値 (Value) | 既定 (Default) | 説明 |
|---|---|---|---|---|
| — | --display-name | text | — | Human-readable display name. With --local, defaults to the value name. |
| — | --folder-key | キー | — | チョイス セットを含むフォルダーのフォルダー キー (GUID)。チョイス セットがフォルダー範囲の場合に必要です。 |
| — | --local | フラグ | 無効 | Add the value to a choice set authored in the solution on disk. <choice-set-id> is then the choice set name. |
例
uip df choice-set-values create c1d2e3f4-0000-0000-0000-000000000001 travel \
--display-name "Travel"
uip df choice-set-values create c1d2e3f4-0000-0000-0000-000000000001 travel \
--display-name "Travel"
データシェイプ(--output json)
{
"Code": "ChoiceSetValueCreated",
"Data": {
"id": "v1000000-0000-0000-0000-000000000001",
"name": "travel",
"displayName": "Travel",
"numberId": 0
}
}
{
"Code": "ChoiceSetValueCreated",
"Data": {
"id": "v1000000-0000-0000-0000-000000000001",
"name": "travel",
"displayName": "Travel",
"numberId": 0
}
}
返される numberId は、レコードを CHOICE_SET_SINGLE フィールド (または配列、 CHOICE_SET_MULTIPLEの場合は ) に挿入または更新するときに渡す整数です。
uip df choice-set-values の更新
既存のチョイス セットの値の表示名を更新します。
引数
| 名前 | Required | 目的 |
|---|---|---|
<choice-set-id> | ○ | チョイス セット ID (UUID)。 |
<value-id> | ○ | チョイス セット値 ID (UUID)。choice-sets list-values <choice-set-id>で検索する |
<display-name> | ○ | 値の新しい表示名です。 |
オプション
| Short | 長押し | 値 (Value) | 既定 (Default) | 説明 |
|---|---|---|---|---|
| — | --folder-key | キー | — | チョイス セットを含むフォルダーのフォルダー キー (GUID)。チョイス セットがフォルダー範囲の場合に必要です。 |
例
uip df choice-set-values update c1d2e3f4-0000-0000-0000-000000000001 \
v1000000-0000-0000-0000-000000000001 "Business Travel"
uip df choice-set-values update c1d2e3f4-0000-0000-0000-000000000001 \
v1000000-0000-0000-0000-000000000001 "Business Travel"
データシェイプ(--output json)
{
"Code": "ChoiceSetValueUpdated",
"Data": {
"id": "v1000000-0000-0000-0000-000000000001",
"name": "travel",
"displayName": "Business Travel",
"numberId": 0
}
}
{
"Code": "ChoiceSetValueUpdated",
"Data": {
"id": "v1000000-0000-0000-0000-000000000001",
"name": "travel",
"displayName": "Business Travel",
"numberId": 0
}
}
uip df choice-set-values の削除
チョイス セットから 1 つ以上の値を削除します。これは元に 戻せません。
引数
| 名前 | Required | 目的 |
|---|---|---|
<choice-set-id> | ○ | Choice set ID (UUID). With --local, the choice set name. |
オプション
| Short | 長押し | 値 (Value) | 既定 (Default) | 説明 |
|---|---|---|---|---|
| — | --ids | id、id,... | — | Required for a tenant delete. Comma-separated list of value IDs to delete. Not accepted with --local. |
| — | --names | names... | — | Required with --local. Names of the values to delete, separated by spaces or commas. Put the choice set name before --names, because every word after it is read as a value name. Fails without --local. |
-y | --yes | フラグ | — | 必須。これは元に戻せない操作であることを確認します。 |
| — | --reason | text | — | Required for a tenant delete. Reason for the deletion — echoed back in the response so the caller can log it. Not accepted with --local. |
| — | --folder-key | キー | — | チョイス セットを含むフォルダーのフォルダー キー (GUID)。チョイス セットがフォルダー範囲の場合に必要です。 |
| — | --local | フラグ | 無効 | Delete values from a choice set authored in the solution on disk. <choice-set-id> is then the choice set name. |
A tenant delete without --yes and --reason fails once and names both options.
例
uip df choice-set-values delete c1d2e3f4-0000-0000-0000-000000000001 \
--ids v1000000-0000-0000-0000-000000000001,v1000000-0000-0000-0000-000000000002 \
--yes --reason "deprecated categories"
uip df choice-set-values delete c1d2e3f4-0000-0000-0000-000000000001 \
--ids v1000000-0000-0000-0000-000000000001,v1000000-0000-0000-0000-000000000002 \
--yes --reason "deprecated categories"
データシェイプ(--output json)
{
"Code": "ChoiceSetValuesDeleted",
"Data": {
"ChoiceSetId": "c1d2e3f4-0000-0000-0000-000000000001",
"DeletedIds": [
"v1000000-0000-0000-0000-000000000001",
"v1000000-0000-0000-0000-000000000002"
],
"Reason": "deprecated categories"
}
}
{
"Code": "ChoiceSetValuesDeleted",
"Data": {
"ChoiceSetId": "c1d2e3f4-0000-0000-0000-000000000001",
"DeletedIds": [
"v1000000-0000-0000-0000-000000000001",
"v1000000-0000-0000-0000-000000000002"
],
"Reason": "deprecated categories"
}
}
Local choice set examples
これらのコマンドは、ソリューション ディレクトリ内からログインなしで実行されます。
# Create a choice set and add two values
uip df choice-sets create OrderStatus --local
uip df choice-set-values create OrderStatus Open --local --display-name "Open"
uip df choice-set-values create OrderStatus Closed --local
# List the choice sets, then the values of one
uip df choice-sets list --local
uip df choice-sets list-values OrderStatus --local
# Delete two values by name, then the choice set
uip df choice-set-values delete OrderStatus --local --names Open Closed --yes
uip df choice-sets delete OrderStatus --local --yes
# Create a choice set and add two values
uip df choice-sets create OrderStatus --local
uip df choice-set-values create OrderStatus Open --local --display-name "Open"
uip df choice-set-values create OrderStatus Closed --local
# List the choice sets, then the values of one
uip df choice-sets list --local
uip df choice-sets list-values OrderStatus --local
# Delete two values by name, then the choice set
uip df choice-set-values delete OrderStatus --local --names Open Closed --yes
uip df choice-sets delete OrderStatus --local --yes
choice-sets create --local returns the file it wrote:
{
"Code": "InlineChoiceSetCreated",
"Data": {
"Name": "OrderStatus",
"DisplayName": "OrderStatus",
"ResourceFile": "/workspace/Sol/resources/solution_folder/choiceSet/OrderStatus.json"
}
}
{
"Code": "InlineChoiceSetCreated",
"Data": {
"Name": "OrderStatus",
"DisplayName": "OrderStatus",
"ResourceFile": "/workspace/Sol/resources/solution_folder/choiceSet/OrderStatus.json"
}
}
choice-sets list --local returns one row per choice set, with Code: InlineChoiceSetList. Each row has Name, DisplayName, ValueCount, and ResourceFile. A row with Problem is a choice set file that does not read, and Problem says why.
choice-sets list-values --local returns every value, without pagination:
{
"Code": "InlineChoiceSetValues",
"Data": {
"Name": "OrderStatus",
"ResourceFile": "/workspace/Sol/resources/solution_folder/choiceSet/OrderStatus.json",
"Values": [
{ "Name": "Open", "DisplayName": "Open" },
{ "Name": "Closed", "DisplayName": "Closed" }
]
}
}
{
"Code": "InlineChoiceSetValues",
"Data": {
"Name": "OrderStatus",
"ResourceFile": "/workspace/Sol/resources/solution_folder/choiceSet/OrderStatus.json",
"Values": [
{ "Name": "Open", "DisplayName": "Open" },
{ "Name": "Closed", "DisplayName": "Closed" }
]
}
}
A value carries NumberId only when the file holds one for it.
choice-set-values create --local returns Code: InlineChoiceSetValueCreated with ChoiceSet, Name, DisplayName, and ResourceFile. choice-sets delete --local returns Code: InlineChoiceSetDeleted with Name and ResourceFile.
choice-set-values delete --local removes the values only when every name exists:
{
"Code": "InlineChoiceSetValuesDeleted",
"Data": {
"ChoiceSet": "OrderStatus",
"DeletedNames": ["Open", "Closed"],
"ResourceFile": "/workspace/Sol/resources/solution_folder/choiceSet/OrderStatus.json"
}
}
{
"Code": "InlineChoiceSetValuesDeleted",
"Data": {
"ChoiceSet": "OrderStatus",
"DeletedNames": ["Open", "Closed"],
"ResourceFile": "/workspace/Sol/resources/solution_folder/choiceSet/OrderStatus.json"
}
}
The response also carries a top-level Warning, because the local delete changes only the file. An upgrade adds values to a deployed choice set by name and removes none, so a choice set that is already deployed keeps the deleted value. The tenant form of choice-set-values delete removes it there.
関連
uip df entities—CHOICE_SET_SINGLE/CHOICE_SET_MULTIPLEフィールドは、choiceSetIdによって設定されたチョイスを参照します。uip df records— チョイス値のnumberIdを使用してレコード値を挿入/更新します。