- Überblick
- Erste Schritte
- Konzepte
- Verwenden der UiPath CLI
- Anleitungen
- CI/CD-Rezepte
- Befehlsreferenz
- Überblick
- Exitcodes
- Globale Optionen
- UIP-codierter Agent
- UIP-Coded
- UIP-Kontextgrundlage
- UIP-Dokumentation
- UIP-Funktion
- UIP-Leitplanken
- uip llm-configuration
- uip llm-gateway
- UIP Maestro-Erstellung
- UIP Maestro-Registrierung
- UIP-Modellhub
- uip ont
- Aktivitäten finden
- get-standard-xaml
- Analysieren
- Analyseregeln-Liste
- Erstellen
- Bereinigung
- data-fabric-entities installieren
- data-fabric-entities-Liste
- Dateien differenzieren
- Get-Library-Object-Repository
- Get-Object-Repository
- Init
- Instanzenliste
- Packen
- Pakete überprüfen
- Pakete installieren
- Paketversionen
- Veröffentlichen
- Remote
- restore
- Ausführen, Debuggen & Ausführung enthält
- Einstellungen
- Studio-Start
- Vorlagensuche
- Testdaten-Add-Entität
- Testdaten-Warteschlange hinzufügen
- Testdaten-Hinzufügevariante
- TM
- UIA
- Überprüfen
- Workflow-Beispiele abrufen
- Workflow-Beispiele
- uip resources
- UIP-Aufgaben
- Anhang
- benutzerdefiniertes Feld
- Defects
- Ausführungen
- Exportaufträge
- Migration
- Objektbeschriftung
- Packen
- perf-szenario
- Perf-Szenario-Lastgruppen
- Ausführungsdaten für perf-szenario
- Perf-Szenario-Bericht
- Projekt
- Projektberechtigungen
- Aufforderungen
- Melden
- Anforderungen
- Ergebnis
- Ausführen
- Zeitpläne
- Scopes
- Testfallprotokoll
- Testfälle
- Testsätze
- Testschrittprotokoll
- Benutzer
- Warten
- UIP-Ablaufverfolgungen
- Feedback zu UIP-Ablaufverfolgungen
- Migration
- Referenz und Support
UIP-codierte App init
Syntax und Optionen für „uip codedapp init“, das einen lokalen Start für eine codierte App erstellt.
uip codedapp init erstellt ein Gerüst für eine lokale codierte App in <path>. Es handelt sich um einen lokalen, nicht authentifizierten Vorgang – es gelten keine Anmelde- oder Authentifizierungsüberschreibungs-Flags. Standardmäßig wird das neue Projekt automatisch im .uipx der umgebenden Lösung registriert, wenn es in einer vorhandenen Lösung ausgeführt wird. Übergeben Sie --skip-solution-registration, um sich abzumelden.
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.
Zusammenfassung
uip codedapp init <path> [options]
uip codedapp init <path> [options]
<path>– Das Zielverzeichnis für die codierte Start-App. Erforderlich.
Optionen
| Markieren | Beschreibung |
|---|---|
--force | Überschreiben Sie Startdateien in einem nicht leeren Verzeichnis. |
--template <template> | Startvorlage: form, dashboard oder inline-automation. Standard: form. |
--type <type> | Untertyp der codierten App. Lassen Sie es für eine reguläre codierte App weg oder übergeben Sie Action, um ein Gerüst für eine codierte Aktions-App zu erstellen. |
--skip-solution-registration | Do not register this project in the surrounding solution, and do not create a solution when there is none. |
Beispiele
# 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
Datenform (--output json)
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:
Status | Bedeutung |
|---|---|
Registered | The project is registered in the surrounding solution, or in the one init created. |
AlreadyRegistered | The solution already lists the project. |
OptedOut | --skip-solution-registration was passed. |
NotInSolution | No solution surrounds the project and none was created, which is the case for a non-empty target outside a solution. |
Failed oder Skipped | The project is written, and the registration did not complete. Instructions says why. |
Zugehörig
- uip codedapp pack – Verpacken Sie die erstellte App, sobald sie fertig ist.
- uip codedapp push – Pushen Sie die Quelle des initialisierten Projekts in Studio Web.