uipath-cli
latest
false
- Overview
- Get started
- Concepts
- Using UiPath CLI
- How-to guides
- CI/CD recipes
- Command reference
- Overview
- Exit codes
- Global options
- uip codedagent
- uip docsai
- add-test-data-entity
- add-test-data-queue
- add-test-data-variation
- analyze
- build
- create-project
- diff
- find-activities
- get-analyzer-rules
- get-default-activity-xaml
- get-errors
- get-manual-test-cases
- get-manual-test-steps
- get-versions
- get-workflow-example
- indicate-application
- indicate-element
- inspect-package
- install-data-fabric-entities
- install-or-update-packages
- list-data-fabric-entities
- list-workflow-examples
- pack
- restore
- run-file
- search-templates
- start-studio
- stop-execution
- uia
- uip traces
- Migration
- Reference & support
UiPath CLI user guide
Last updated May 7, 2026
uip rpa get-default-activity-xaml returns the XAML representation of an activity exactly as it would appear if dropped onto the designer surface for the first time — properties at default values, no expressions filled in. It is the inverse of activity discovery: once uip rpa find-activities has produced a class name or a TypeCache ID, this verb gives you the boilerplate XAML to paste into a workflow.
Provide exactly one of --activity-class-name (for standard activities shipped in NuGet packages) or --activity-type-id (for dynamic Integration Service activities). The verb runs through Studio, so a Windows runner is required.
Synopsis
uip rpa get-default-activity-xaml [--activity-class-name <string>] [--activity-type-id <string>] [--connection-id <string>]
uip rpa get-default-activity-xaml [--activity-class-name <string>] [--activity-type-id <string>] [--connection-id <string>]
Options
| Flag | Description |
|---|---|
--activity-class-name <string> | Fully qualified class name of a non-dynamic activity, e.g. UiPath.Excel.Activities.ExcelApplicationScope. Mutually exclusive with --activity-type-id. |
--activity-type-id <string> | Unique TypeCache identifier for a dynamic (Integration Service) activity. Mutually exclusive with --activity-class-name. |
--connection-id <string> | Integration Service connection ID for dynamic activities. Only used together with --activity-type-id; if omitted, a fallback connection is resolved automatically. |
For the complete option list on your installed tool version, run:
uip rpa get-default-activity-xaml --help
uip rpa get-default-activity-xaml --help
Examples
# Default XAML for a standard activity
uip rpa get-default-activity-xaml \
--activity-class-name UiPath.Excel.Activities.ExcelApplicationScope
# Default XAML for a dynamic Integration Service activity
uip rpa get-default-activity-xaml \
--activity-type-id "salesforce.contact.create" \
--connection-id 1f3b9c0e-7a25-4d8b-9b1f-9f6dd2c4f6d2
# Default XAML for a standard activity
uip rpa get-default-activity-xaml \
--activity-class-name UiPath.Excel.Activities.ExcelApplicationScope
# Default XAML for a dynamic Integration Service activity
uip rpa get-default-activity-xaml \
--activity-type-id "salesforce.contact.create" \
--connection-id 1f3b9c0e-7a25-4d8b-9b1f-9f6dd2c4f6d2
Related
uip rpa find-activities— discover the class name or TypeCache ID to pass here.uip rpa inspect-package— inspect the public API of the package an activity belongs to.