UiPath Documentation
uipath-cli
latest
false
Guide de l'utilisateur de UiPath CLI
Important :
Ce contenu a été traduit à l'aide d'une traduction automatique. La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.

uip vss ajouter

Syntax and options for `uip vss add`, which adds a process or a local Data Fabric entity to the current vertical solution.

uip vss add adds a process or a local Data Fabric entity to the current vertical solution. For process, it rewrites vss.json to include the new entry. For entity, it writes an entity definition into data_fabric_schema.json — it does not touch vss.json. The [target] positional means something different per type: for process it's the project directory to add (defaults to the current directory); for entity it's the entity name (required).

Synthèse

uip vss add process [target]
uip vss add entity  <target> [options]
uip vss add process [target]
uip vss add entity  <target> [options]
  • <type>process, entity, or connection.
  • [target] — Project directory (process) or entity name (entity). Defaults to the current directory for process; required for entity.

Options

DrapeauDescriptionApplicableÀ
--field <definition>Entity field definition as <name>:<type>. Repeatable.entity
-s, --schema <path>Path to data_fabric_schema.json. Defaults to data_fabric_schema.json in the target directory.entity
-t, --target-path <targetPath>Vertical solution directory. Defaults to the current directory.all types

Exemples

# Add a process from the current directory
uip vss add process

# Add a process from an explicit path
uip vss add process ./processes/onboarding

# Add a local Data Fabric entity with two fields
uip vss add entity Employee --field name:string --field salary:number
# Add a process from the current directory
uip vss add process

# Add a process from an explicit path
uip vss add process ./processes/onboarding

# Add a local Data Fabric entity with two fields
uip vss add entity Employee --field name:string --field salary:number

Format des données (--sortie json)

{
  "Code": "ProcessesAdded",
  "Data": {
    "Status": "1 processes added successfully",
    "Path": "/Users/alice/my-app"
  }
}
{
  "Code": "ProcessesAdded",
  "Data": {
    "Status": "1 processes added successfully",
    "Path": "/Users/alice/my-app"
  }
}

For entity, the shape is different:

{
  "Code": "EntityAdded",
  "Data": {
    "Entity": "Employee",
    "Fields": ["name", "salary"],
    "Schema": "/Users/alice/my-app/data_fabric_schema.json"
  }
}
{
  "Code": "EntityAdded",
  "Data": {
    "Entity": "Employee",
    "Fields": ["name", "salary"],
    "Schema": "/Users/alice/my-app/data_fabric_schema.json"
  }
}
Remarque :

connection is registered as a valid <type> value but always fails with Failure: "Connections are not supported yet" — it is not implemented. Use process or entity.

  • uip vss init — produce the vss.json that add rewrites.
  • uip vss sync — réconcilier les processus enregistrés avec UiPath Cloud.
  • uip vss assemblies : actualisez les types TypeScript après l’ajout de processus.

Voir également

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour