- Introdução
- Para administradores
- Projetos de fluxo de trabalho de RPA
- Como criar um fluxo de trabalho de RPA a partir de uma ideia
- Criação de um projeto
- Como iniciar um fluxo de trabalho de RPA
- Gerenciamento de arquivos e pastas do projeto
- Conectar fluxos de trabalho de RPA às suas contas
- Configuração de atividades
- Gerenciamento de atividades em um projeto
- Como transmitir valores entre atividades
- Como iterar por itens
- Como gerenciar os dados em um projeto
- Configuração de um projeto para usar seus dados
- Como usar recursos de arquivos e pastas
- Configuração local para fluxo de trabalho de RPA e projetos de aplicativos
- Projeto do aplicativo
- Apps no Studio Web
- Definir um contexto externo usando parâmetros de consulta
- Definir um contexto externo usando eventos externos
- Use matrizes para preencher os controles Lista suspensa, Lista suspensa multiseleção e Botão de rádio
- Usar controles tabulares com entidades do Data Service em projetos de aplicativos
- Incorporar agentes de conversa
- Atividades do aplicativo
- Processos com agentes
- Caso do Maestro
- Fluxo do Maestro
- Agents
- Soluções
- Fluxos de trabalho da API
- Testes
Push a locally built coded app into Studio Web with the UiPath CLI, and pull the last pushed source back into a local folder when you need to sync.
Because a coded app's source code is authored locally, most of your work happens in your own IDE. The UiPath CLI bridges that local workflow with the Studio Web project via two commands:
uip codedapp push— upload your locally built app into the Studio Web project.uip codedapp pull— fetch the last pushed source from the Studio Web project into a local folder.
You do not need to pull before your first push. If you already have a local project ready, push it directly. If no project ID is provided, push interactively prompts to create a new coded app project in Studio Web and saves the resulting UIPATH_PROJECT_ID to .env for later pushes.
Pré-requisitos
- Node.js 20.x or newer.
- The UiPath CLI. Install it globally with
npm install -g @uipath/cli. - Authenticate against the target UiPath org:
uip login. This creates the.envfile the CLI reads forUIPATH_ORG_ID,UIPATH_TENANT_ID, andUIPATH_ACCESS_TOKEN. - A coded app project already initialized inside a solution in Studio Web (or let
pushcreate one interactively). See Initializing a coded app project.
Pushing your locally built app
From the project root, after producing the build output (for example, npm run build), run:
uip codedapp push --project-id <project-id>
uip codedapp push --project-id <project-id>
The command uploads the build output directory (defaults to dist) to the Studio Web project.
If UIPATH_PROJECT_ID is set in .env — either from a previous auto-create or manually — you can omit the flag:
uip codedapp push
uip codedapp push
Opções
| Opção | Description | Padrão |
|---|---|---|
--project-id <id> | Studio Web project ID. | Read from UIPATH_PROJECT_ID in .env. Auto-created interactively if missing. |
--build-dir <dir> | Build output directory to upload. | dist |
--ignore-resources | Skip importing resources referenced by the app. | false |
--verbose | Mostre logs de progresso detalhados. | false |
On push, Studio Web:
- Stores every file in the pushed path and shows it in read-only mode under the project's Source view.
- Reads
bindings_v2.json, if present at the root of the pushed content, and registers each declared resource under the project's Resources panel.
Pulling the last pushed source
Use pull when you need to bring the last pushed source back into a local folder — for example, after a teammate pushed changes, or to reset a local working copy:
uip codedapp pull --project-id <project-id> --target-dir ./my-coded-app
uip codedapp pull --project-id <project-id> --target-dir ./my-coded-app
Opções
| Opção | Description | Padrão |
|---|---|---|
--project-id <id> | Studio Web project ID. | Read from UIPATH_PROJECT_ID in .env. |
--target-dir <dir> | Local directory to write pulled files to. | Current directory. |
--overwrite | Overwrite existing files without prompting. | false |
--verbose | Mostre logs de progresso detalhados. | false |
The command writes the last pushed content into the target folder, exactly as it was pushed.
uip codedapp pull retrieves the files that were pushed, not any locally cached dependencies or build tooling. Reinstall dependencies (for example, npm install) after pulling before running the app.
Working with a teammate on the same project
Coded app projects do not have a built-in merge mechanism. If two developers push to the same project in parallel, the second push overwrites the first. To coordinate safely:
- Treat Git as the source of truth for source code, not the Studio Web project.
- Push to Studio Web from a known Git commit, ideally as part of a controlled release flow.
- Use
uip codedapp pullto inspect what is pushed in Studio Web before overwriting it.
For the full CLI reference, see uip codedapp push and uip codedapp pull.