通知を受け取る

UiPath Robot

UiPath Robot ガイド

Robot JavaScript SDK について

概要

JavaScript SDK for Robot (UiPathRobot.js) を使用すると、ローカルの Attended ロボットを既存のアプリケーション内に直接埋め込むことができます。

実際の動作は以下の動画をご覧ください。

前提条件

A few things need to be considered first, such as having Studio and Robot v2019.10 or greater, connecting the Robot to Orchestrator, and installing the Robot JavaScript add-on. With the add-on installed, download the JavaScript SDK and use these SDK specifications to build your custom application or web page.

JavaScript SDK を使用するには、プロセスを実行するエンド ユーザーのマシンに Robot 用 JavaScript アドオンをインストールする必要があります。Robot アドインにより、アプリケーションまたは Web ページと対象のマシン上の UiPath Robot はセキュリティで保護された通信を行い、コマンドを受信・実行できます。

🚧

重要:

RobotJS アドオンが Windows Server 2012 R2、Windows 8、および Windows 8.1 で動作するようにするには、v1.2.5 以上の RobotJS と v2021.4.4 以上の Robot を使用してください。

Robot JavaScript SDK の v1.2.7 のリリースより、以下の macOS プラットフォームがサポートされるようになりました。

  • ARMv8
  • AMD64

JavaScript SDK を取得する

Robot JavaScript SDK は、v2020.4 以降の Studio ではすぐに使えるコンポーネントとして提供されます。Robot JavaScript SDK は Apache 2.0 ライセンスで利用でき、以下のソースからダウンロードしてインストールできます。

NPM

SDK は TypeScript のバインディングを持つ NPM パッケージとして利用できます。SDK をプロジェクトに含めるには、プロジェクト ディレクトリのルートで次を実行します。

* NPMnpm install --save @uipath/robot

CDN

SDK をプロジェクトに含める最も簡単な方法は、</body> タグの前に追加することです。

* Versioned:<script src="https://download.uipath.com/js/1.2.9/UiPathRobot.js"/>

ダイレクト ダウンロード

直接ダウンロードすると、Robot Javascript SDK の縮小バージョンを .js パッケージで取得できます。

* Direct Download https://download.uipath.com/js/1.2.9/UiPathRobot.js

ドキュメント

The Developer Guide combined with the User Guide offer a comprehensive overview of the SDK and JavaScript Add-on for Robot, containing detailed information on how to use it, what prerequisites you need, and a step-by-step guide to create your first robot enabled application.

The Robot JavaScript SDK functionality can also be developed in .NET by making use of the Robot API commands.

仕様

  • The full documentation of SDK Specifications provides detailed information on Models and Methods used by the Robot Javascript SDK.

  • Sample References offer pre-built samples for Boilerplate and Office Applications that can be easily integrated in your custom application.

macOS 用の RobotJS

v1.2.7 より、Robot JavaScript SDK が macOS でも利用できるようになりました。これは Mac 用の UiPath Assistant とバンドルされて提供されます。

機能は Windows 用の RobotJS と似ていますが、いくつかの例外があります。

  • Safari ブラウザーはサポートされていません。
  • スタンドアロン バージョンは利用できません。
  • 実行できるのはクロスプラットフォーム オートメーションのみです。

機能のデモ

To see it in action, we have created a demo with the help of the Robot Javascript SDK which securely connect to your already installed Robot, fetches the processes available in your UiPath Assistant and displays them on this page.

以下の [LIST PROCESSES] ボタンをクリックし、このページへのロボットのアクセスを許可して、SDK が実際にどのように動作するのかをご覧ください。

約 1 か月前に更新


Robot JavaScript SDK について


改善の提案は、API リファレンスのページでは制限されています

改善を提案できるのは Markdown の本文コンテンツのみであり、API 仕様に行うことはできません。