Skip to main content

Studio Project Management

The "My Projects" page is used to maintain Studio native projects. For complete end-to-end operation, refer to the Studio Web User Manual.

Page Purpose

Studio project management is used to maintain local projects and perform development runs, import and export, upload to Watchdog, and download projects from Watchdog.

My Project Page

Area or OperationDescription
Sortsupports sorting by update time, creation time, or name.
View SwitchingThe desktop side can switch between list view and card view.
Create a New ProjectOpen the project drawer and create a local project.
Stop RuntimeLocal Runtime Displays while running and is used to stop the running project.
Import the projectImport local projects from the ZIP project package.
Download from the gatewayDownload the package from the configured Watchdog service.
Gateway VersionView the current version, latest version, and update status of GatewayRuntime used by Studio.
Project OperationsEach project supports start/stop runtime, edit, export, upload, and deletion.

Project Lifecycle

StagesStudio OperationsExplanation
CreateCreate a new project or import a ZIPIt is recommended to clearly state the project name and description to facilitate publishing, backup, and feedback identification.
Local DebuggingLaunch the runtime and enter GatewayRuntime WebStudio will start the local runtime. After opening the Gateway Web, continue configuring channels, devices, variables, scripts, etc.
PublishUpload to WatchdogSelect the target Watchdog, target environment, and runtime update options.
ReturnDownload from the gatewayDownload projects from the on-site Watchdog back to Studio for easy troubleshooting and secondary maintenance.
ArchivingExporting ZIPused for version retention, migration, or delivery.

Create or Edit a Project

Click "New Project," or click "Edit" in the More Projects menu to open the project drawer.

New Project Drawer

Configuration ItemsDescription
Project NameRequired, length check is 2-50 characters. It is recommended to include information about the site, production line, or equipment group.
Project DescriptionOptional, used to record usage, version notes, site differences, or maintenance notes.
SaveCreate a project when creating it and update the project name and description when editing.
CancelClose the drawer and do not save this modification.

Start Local Runtime

Click the project itself in the list or card, or click the main project button "Start Runtime". Studio will start the project's local runtime and open GatewayRuntime Web.

StatusPage PerformanceOperation Suggestions
Not runningThe main button displays startup runtime.After clicking, wait for the startup to start; the card will display a mask during startup.
While RunningDisplay the project status and the main button can stop running.Clicking the project will directly open GatewayRuntime Web.
Switching ProjectsWhen starting another project, the ongoing development project switches.Before switching, confirm that the current configuration in GatewayRuntime Web is saved.
Developer Runtime Instructions

Studio project pages are only responsible for starting and stopping local runtime. After entering GatewayRuntime Web, configurations such as channels, devices, variables, scripts, nodes, and data forwarding are executed according to the GatewayRuntime operation manual.

Import Project

Click the toolbar "Import Project" and select the ZIP project package.

Import Project Popup

Configuration ItemsExplanation
Project Packageonly supports ZIP files. You can drag it to the upload area or click to select.
Import Project NameOptional. After filling it out, import using the name; If not filled in, use the original name of the project package.
ConfirmAfter selecting the file, import can be executed.

After importing, check whether the project name, description, and update time meet expectations, then start the local runtime to verify the project configuration.

Export Project

Click "Export" in the project's More menu. The browser downloads a ${project-name}.zip project package, which can be migrated, archived, or sent to maintenance personnel for troubleshooting.

Usage ScenariosDescription
Version ArchiveExport once before and once before release for easier rollback and comparison.
Migration DeliveryMove the project to another Studio or hand it over to on-site personnel.
TroubleshootingExporting on-site works to maintenance personnel for reproduction.

Upload your project to Watchdog

Click "Upload" in the More Projects menu to open the upload drawer.

Upload project to the gateway drawer

Configuration ItemsDescription
Project NameCurrent project to be uploaded, read-only display.
Target Gatewayselected from configured Watchdog services. If there are no options, you need to first add a service on the "Watchdog" page.
Release MethodNormal release or AOT release. Normal release is used for routine deployment; AOT releases are used for deployments with clear target environments and the desire to use standalone runtime packages.
Target environmentruntime identifiers, such as Windows/Linux and CPU architecture combinations. When publishing AOT or cross-platform releases, it must be filled out carefully; incorrect entries may prevent the target gateway from launching the release package.
Update RUNTIMEUpdate the target GatewayRuntime program file simultaneously when uploading. For production environments, it is recommended to use the maintenance window.
Forced restoration of NuGetdependencies upon release. It can be used after dependency exceptions, cache construction exceptions, or switching target environments; Publishing failures may occur when the network cannot access the NuGet source.
UploadOnce the target gateway is selected, upload can be executed.

Pre-Release Checks

  1. Test the target Watchdog connection on the "Watchdog" page.
  2. Create a backup for the target project in Watchdog Web's "Backup Management."
  3. Confirm that the target environment matches the gateway operating system and CPU architecture.
  4. Checking "Update RUNTIME" affects the target GatewayRuntime program files; arrange a maintenance window in production.
  5. Checking "Force restore NuGet" restores dependencies; check the NuGet source, network, and target environment identifier if publishing fails.

Download the project from the gateway

Click the toolbar "Download from the gateway" to open the download drawer.

Download the project drawer

configuration from the gatewayDescription
Source gatewaySelect the configured Watchdog service.
Project ListSelect the package on that Watchdog. After switching the source gateway, the project list will be reloaded.
Override existing projectsOverwrite if there is a project with the same name locally. If not checked, projects with duplicate names will fail to download or be blocked.
DownloadDownload can be executed after selecting both the source gateway and the project.

After downloading, open the project and enter GatewayRuntime Web to confirm that the channels, devices, and variables match the field configuration.

Gateway Version

Click "Gateway Version" on the toolbar to check the current version, latest version, and whether there are updates for the GatewayRuntime used by Studio. When an update is present, you can click the update button; a confirmation prompt will appear before the update.

FieldDescription
Current version usedStudio GatewayRuntime version.
Latest VersionCheck the latest version of GatewayRuntime.
Statusshows whether it is the latest version.
Update versionAvailable when updates are available; Check the current project and runtime status before execution.

Frequently Asked Questions

PhenomenaHandling Suggestions
New Project Fails to SaveCheck if the project name is empty and if the length is between 2 and 50 characters.
Cannot open GatewayRuntime Webafter clicking the project. Check if the local runtime started successfully; if necessary, stop and restart again.
The upload drawer has no target gatewayfirst add the Watchdog service on the "Watchdog" page and test the connection.
Upload failureCheck whether Watchdog is online, whether the target environment matches, and review the runtime build logs.
Empty download project listCheck whether the source Watchdog is online, whether the account and password are correct, and whether there are project packages in Watchdog project management.
AOT release exceptionsCheck whether the target environment, runtime files, and native dependencies meet the AOT publishing requirements.