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 rpa get-object-repository

Syntax and options for `uip rpa get-object-repository`, which returns the current project's own Object Repository as a JSON tree.

uip rpa get-object-repository returns the current project's own Object Repository — the applications, screens, and elements it defines — as a JSON tree. It excludes entries inherited from referenced libraries; use uip rpa get-library-object-repository to read those separately.

The verb runs inside a hosted project context on both backends (Studio's project process and Helm's project assembly load context), so a project must be open before it can be called.

Synthèse

uip rpa get-object-repository
uip rpa get-object-repository

Options

Ce verbe ne prend aucune option par commande. Utilisez les options de niveau parent partagées par chaque uip rpa verbe — voir Aperçu de l’outil RPA.

Exemples

# Read the current project's Object Repository
uip rpa get-object-repository
# Read the current project's Object Repository
uip rpa get-object-repository

Format des données (--sortie json)

The command returns the Object Repository tree exactly as objectRepository.getProjectObjects() produces it — apps, then screens, then elements, nested to match the repository's own structure. Shape is otherwise unspecified and may evolve with the Object Repository feature itself; inspect a real project's output rather than relying on a fixed schema.

On failure (for example, no project is open), the command reports:

{
  "success": false,
  "errorMessage": "<reason>"
}
{
  "success": false,
  "errorMessage": "<reason>"
}

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