UiPath Documentation
uipath-cli
2026.10
false
Guía del usuario de UiPath CLI

init de la aplicación codificada de uip

Sintaxis y opciones para `uip codedapp init`, que crea un iniciador de aplicación codificado local.

uip codedapp init aplica andamios a un iniciador de aplicación codificada local en <path>. Es una operación local, no autenticada: no se aplican marcadores de inicio de sesión o de anulación de autenticación. De forma predeterminada, cuando se ejecuta dentro de una solución existente, el nuevo proyecto se registra automáticamente en el .uipx de la solución circundante; introduzca --skip-solution-registration para excluirse.

When run outside a solution, init creates a solution for the app: ./expense-app becomes ./expense-appSolution/expense-app/, registered in expense-appSolution.uipx. The output reports the new solution under Data.AutoCreatedSolution, and Data.path is the folder the project ended up in. With --skip-solution-registration, the app stays a standalone project at the path you passed, for uip codedapp push and uip codedapp pack.

A non-empty target, such as an existing app with --force, is never moved. It stays where it is.

A new starter includes a commented .env.example file for the UIPATH_APPS_* variables the app reads. Refer to Environment variables.

Sinopsis​

uip codedapp init <path> [options]
uip codedapp init <path> [options]
  • <path> — directorio de destino para la aplicación codificada de inicio. Obligatorio.

Opciones​

MarcaDescripción
--forceSobrescribe los archivos de inicio en un directorio no vacío.
--template <template>Plantilla de inicio: form, dashboard o inline-automation. Predeterminado: form.
--type <type>Subtipo de aplicación codificada. Omitir para una aplicación codificada regular, o pasar Action para andamiar una aplicación de acción codificada.
--skip-solution-registrationDo not register this project in the surrounding solution, and do not create a solution when there is none.

Ejemplos​

# Create a form starter coded app; outside a solution, it lands in ./expense-appSolution/expense-app
uip codedapp init ./expense-app --template form

# Overwrite starter files in a non-empty directory
uip codedapp init ./expense-app --force

# Create a standalone coded app, with no solution around it
uip codedapp init ./expense-app --skip-solution-registration

# Scaffold a coded Action app
uip codedapp init ./approve-invoice --type Action
# Create a form starter coded app; outside a solution, it lands in ./expense-appSolution/expense-app
uip codedapp init ./expense-app --template form

# Overwrite starter files in a non-empty directory
uip codedapp init ./expense-app --force

# Create a standalone coded app, with no solution around it
uip codedapp init ./expense-app --skip-solution-registration

# Scaffold a coded Action app
uip codedapp init ./approve-invoice --type Action

Forma de datos (--json de salida)​

Run outside a solution:

{
  "Code": "InitCompleted",
  "Data": {
    "path": "/work/expense-appSolution/expense-app",
    "template": "form",
    "SolutionRegistration": {
      "Status": "Registered",
      "Message": "Project registered in parent solution."
    },
    "AutoCreatedSolution": {
      "Name": "expense-appSolution",
      "Path": "/work/expense-appSolution",
      "SolutionFile": "/work/expense-appSolution/expense-appSolution.uipx"
    }
  }
}
{
  "Code": "InitCompleted",
  "Data": {
    "path": "/work/expense-appSolution/expense-app",
    "template": "form",
    "SolutionRegistration": {
      "Status": "Registered",
      "Message": "Project registered in parent solution."
    },
    "AutoCreatedSolution": {
      "Name": "expense-appSolution",
      "Path": "/work/expense-appSolution",
      "SolutionFile": "/work/expense-appSolution/expense-appSolution.uipx"
    }
  }
}

AutoCreatedSolution is present only when init created the solution. SolutionRegistration.Status is one of:

StatusSignificado
RegisteredThe project is registered in the surrounding solution, or in the one init created.
AlreadyRegisteredThe solution already lists the project.
OptedOut--skip-solution-registration was passed.
NotInSolutionNo solution surrounds the project and none was created, which is the case for a non-empty target outside a solution.
Failed o SkippedThe project is written, and the registration did not complete. Instructions says why.

Ver también​

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte(opens in new window)

¿Quiere aprender? UiPath Academy(opens in new window)

¿Tiene alguna pregunta? Foro de UiPath(opens in new window)

Manténgase actualizado