UiPath Documentation
uipath-cli
latest
false

UiPath CLI user guide

Letzte Aktualisierung 7. Mai 2026

uip rpa get-default-activity-xaml

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>]

Optionen

MarkierenBeschreibung
--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

Beispiele

# 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

Siehe auch

  • Synopsis
  • Optionen
  • Beispiele
  • Related
  • Siehe auch

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support

Möchten Sie lernen? UiPath Academy

Haben Sie Fragen? UiPath-Forum

Auf dem neuesten Stand bleiben