- Erste Schritte
- Über codierte Apps
- Arbeiten mit codierten Apps
- Codierte Apps in Studio Web
- Codierte Aktions-Apps
Über codierte Apps
Coded Apps in UiPath for building and deploying browser-based web applications (React, Vue, Angular) via IDE, deployed to Orchestrator and hosted on the Apps address of your Automation Suite.
UiPath® Coded Apps lets users build and deploy browser-based web applications (React, Vue, Angular, and similar frameworks) within UiPath. Coded Apps are built through direct code development within a developer's preferred Integrated Development Environment (IDE). They provide developers with complete control over the app logic, behavior, and integration with external systems.
Codierte Apps hosten nur statische Builds. Sie können ein beliebiges Framework verwenden, das statische HTML-, CSS- und JavaScript-Dateien erstellt. Die Buildausgabe muss eine index.html -Datei im Stammverzeichnis enthalten. Serverseitige Rendering-Frameworks (SSR) wie Next.js, Nuxt und Refix werden nicht unterstützt.
Mit einer UiPath-CLI können Sie Ihren App-Code als .nupkg -Standardpaket in einem Mandantenfeed Ihrer Wahl verpacken und im Orchestrator bereitstellen. Von dort aus kann sie verwendet werden, um eine codierte UiPath-App in einem oder mehreren Ordnern zu erstellen.
Coded Apps is deployed as a UiPath App within Orchestrator folders. Once integrated in the platform, it adheres to the same governance principles as standard UiPath App. This lets you deploy apps in an organized way within folders.
Coded Apps are served from the apps.<FQDN> address, where <FQDN> is the address of your Automation Suite. For example, if your Automation Suite runs at automationsuite.mycompany.com, coded apps open from apps.automationsuite.mycompany.com. This address is separate from the main Automation Suite address. Key reasons are:
- Separation of concerns: A coded app runs code written by your developers. Serving the app from its own address keeps the app code apart from the UiPath sign-in session in the browser.
- Stable URL: The URL of a deployed app starts with
https://apps.<FQDN>/apps_/codedapps/and stays the same when a new version is deployed, upgraded, or rolled back. Saved links and bookmarks keep working, and the sign-in redirect URL of the app is set up once, not after every deployment.
Verfügbarkeit
Coded Apps are available in Automation Suite starting with version 2.2610. They are turned on for every installation, so there is nothing to enable.
| Funktionen | Beschreibung |
|---|---|
| Codierte Apps | Web applications written in code and hosted by UiPath. |
| Codierte Aktions-Apps | Coded apps used as the user interface of an Action Center task. |
| Coded apps in solutions | Coded apps packaged and deployed together with the rest of a solution. |
Public coded apps, which anyone with the link can use without signing in, are not available in Automation Suite.
Codierte Apps-Funktionen
Integration von UiPath-Ressourcen über SDK
UiPath SDK provides developers with the necessary logic to invoke and interact with other UiPath resources directly within their code, enabling integration with existing UiPath functionalities. For example, developers can:
- Verwenden Sie UiPath-Assets für die sichere Speicherung und Verwaltung vertraulicher Daten.
- Greifen Sie auf in UiPath-Speicher-Buckets gespeicherte Daten zu und bearbeiten Sie diese.
- Stellen Sie Verbindungen zu verschiedenen Systemen und Diensten her und verwalten Sie sie.
- Trigger and interact with other UiPath processes from within the coded app.
Weitere Informationen zu den UiPath-Ressourcen, die Sie in Ihrer codierten App verwenden können, finden Sie in der SDK-Dokumentation.
Verwenden einer Funktion als App-Backend
Wenn eine App Logik oder Anmeldeinformationen benötigt, die nicht im Browser ausgeführt werden dürfen, kann eine JavaScript- Funktion als Backend dienen. Eine Funktion, die eine Methode und einen Pfad deklariert, wird als HTTP-Endpunkt verfügbar gemacht, den die App-Aufrufe nutzen: Sie erhält die Identität des angemeldeten Benutzers, wendet die Geschäftsregeln an und erreicht den Orchestrator mit Anmeldeinformationen, die der Browser nie sieht.
Storage and security
Coded Apps run entirely inside your Automation Suite environment:
- App files are kept in the object store of your Automation Suite: the in-cluster store, an external Amazon S3 store, or an external Azure Blob store.
- The object store stays private. It is never opened to the internet, and users receive the app only through your Automation Suite address.
- A coded app can call UiPath services, and it can do only what the signed-in user is allowed to do.
Netzwerkanforderungen
Coded Apps need no access to the internet, so they also work in offline (air-gapped) installations. Users and developers need to reach the following addresses of your Automation Suite:
| Beschreibung | Address |
|---|---|
| Host address for coded apps | apps.<FQDN> |
| API address for coded apps | <FQDN> |
The apps.<FQDN> address must be set up in your DNS. It is the same address that UiPath Apps already uses. For details, refer to Configuring the DNS.
Häufig gestellte Fragen
Antworten auf häufige Fragen und Anleitungen zur Fehlerbehebung finden Sie in den häufig gestellten Fragen.