UiPath Documentation
studio-web
latest
false
Studio Web-Benutzerhandbuch
Wichtig :
Bitte beachten Sie, dass dieser Inhalt teilweise mithilfe von maschineller Übersetzung lokalisiert wurde. Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.

Über Projekte für codierte App

Projektarchitektur einer codierten App in Studio Web, die abdeckt, wie Studio Web und Ihre lokale IDE Verantwortlichkeiten aufteilen und welche Dateien in jeder Phase wichtig sind.

Ein Projekt für eine codierte App in Studio Web ist ein Pro-Code-Projekt, das sich innerhalb einer Lösung befindet. Studio Web ist Eigentümer der Identität des Projekts und des Veröffentlichungslebenszyklus. Der Quellcode der App wird in Ihr eigenes lokales Projekt geschrieben und mit der UiPath CLI in Studio Web übertragen.

Was Studio Web besitzt und was Ihre IDE besitzt​

BedenkenIm Besitz von Studio WebEnthält Ihre lokale IDE
Projektidentität innerhalb der Lösung✅–
webAppManifest.json (Projekttyp und Konfiguration)✅–
Registrieren von Bindungen aus dem Push bindings_v2.json✅–
Veröffentlichung und Bereitstellung auf Lösungsebene✅–
Schreibgeschützte Ansicht der zuletzt gepushten Quelle✅–
Erstellung von Quellcode, Framework-Auswahl, Abhängigkeiten–✅
bindings_v2.json – Angabe, welche Orchestrator-Ressourcen die App verwendet–✅
Debugging the last pushed version of the app✅–
Local dev server, previewing the running app, local debugging–✅

Dateien, die wichtig sind​

Nach dem Initialisieren des Projekts in Studio Web​

Studio Web erstellt eine einzelne Datei:

DateiZweck
webAppManifest.jsonBeschreibt den Typ (Coded) und die Konfiguration des Projekts. Im Besitz von Studio Web – Sie bearbeiten ihn nicht direkt.

Beispiel:

{
  "type": "Coded",
  "solutionResourceSubType": "CodedAction",
  "config": {
    "isCompiled": true,
    "isActionApp": true
  }
}
{
  "type": "Coded",
  "solutionResourceSubType": "CodedAction",
  "config": {
    "isCompiled": true,
    "isActionApp": true
  }
}

In Ihrem lokalen Projekt (was Sie erstellen und pushen)​

Ihr lokales Projekt ist das, was das von Ihnen gewählte Framework erzeugt. Studio Web erfordert keine bestimmte Ordnerstruktur; nur das, was Sie verschieben, wird gespeichert.

Wenn die App zur Laufzeit UiPath-Ressourcen benötigt, deklariert eine bindings_v2.json -Datei im Stammverzeichnis dessen, was Sie pushen, diese Ressourcen. Studio Web liest diese Datei auf Push und registriert jede deklarierte Ressource – siehe Bindungen und Runtime-Ressourcen.

Debug the app from Studio Web​

Studio Web can run the last version of the app that you pushed in a debug session. The app must have an External App ID. Studio Web adds the redirect URI that the debug session needs to that external application, so you do not edit it yourself.

  1. Push the app from your local project:

    uip codedapp push --project-id <project-id>
    uip codedapp push --project-id <project-id>
    
  2. In Studio Web, open the coded app project and select Debug. Studio Web opens the app in a new tab and signs you in through the app's external application. To return to that tab, select Open app.

  3. Use the app. Processes that the app starts run as debug jobs in Orchestrator.

  4. To end the session, select Stop. Closing the app tab or the Studio Web tab also ends the session, and stops the jobs that the app started.

Debug sessions have these limits:

  • A coded action app runs without an Action Center task, so calls that read task data fail.
  • Backends that the app calls on another origin must allow the X-UIPATH-JobKey header in their CORS settings.

Die nächsten Schritte​

Erfahren Sie mehr über das Arbeiten mit codierten App-Projekten:

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support(opens in new window)

Möchten Sie lernen? UiPath Academy(opens in new window)

Haben Sie Fragen? UiPath-Forum(opens in new window)

Auf dem neuesten Stand bleiben