概要
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 で動作するようにするには、最新バージョンの RobotJS (v1.2.5) と v2021.4.4 以上の Robot を使用してください。
JavaScript SDK を取得する
Robot JavaScript SDK は、v2020.4 以降の Studio ではすぐに使えるコンポーネントとして提供されます。v2019.10 LTS 以前のバージョンでは、スタンドアロン アドオン インストーラーも利用できます。Robot JavaScript SDK は、Apache 2.0
ライセンスで利用でき、次のソースからダウンロードしてインストールできます。
スタンドアロン アドオン
Stand-Alone Add-On Installer only available for v2020.4 and older* | https://download.uipath.com/UiPathBrowserInvocationEnterprise.msi |
NPM
SDK は TypeScript のバインディングを持つ NPM
パッケージとして利用できます。SDK をプロジェクトに含めるには、プロジェクト ディレクトリのルートで次を実行します。
* NPM | npm install --save @uipath/robot |
CDN
SDK をプロジェクトに含める最も簡単な方法は、</body>
タグの前に追加することです。
* Versioned: | <script src="//download.uipath.com/js/1.2.1/UiPathRobot.js"/> </script> |
* Latest: | <script src="//download.uipath.com/js/Latest/UiPathRobot.js"/> </script> |
ダイレクト ダウンロード
直接ダウンロードすると、Robot Javascript SDK の縮小バージョンを .js
パッケージで取得できます。
* Direct Download | https://download.uipath.com/js/1.2.1/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 pre-requisites 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.
機能のデモ
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 が実際にどのように動作するのかをご覧ください。
4 か月前に更新