UiPathRobot.js Now in Public Preview! (Get the SDK & Sample App now!)

It is an interesting feature and I think an Academy tutorial will be very helpful.

Well done guys !!!

4 Likes

Hi @srdjan.suc - Can you please tell us which firewall software is installed on your machine? We have never experienced issues with firewall on local port, we want to test it and document it.

4 Likes

This is so cool :wink: !

2 Likes

Normal windows firewall, but I am having some issues with Kaspersky antivirus, so maybe that was the problem.

2 Likes

This is interesting :slight_smile:

3 Likes

This so cool

4 Likes

Facing the same issue, am using McAffee firewall\Antivirus

2 Likes

@Hafeez_Niyaz are you using Community 20.2 or the Enterprise installer?

2 Likes

enterprise 2019.10

@Hafeez_Niyaz Can you try adding these two applications to the MaCafee white list?

Within your "C:\Program Files (x86)\UiPath Web\Robot Web Access\lib\" directory

  1. UiPath.BrowserInvocation.PortDiscoveryService.exe
  2. UiPath.BrowserInvocation.RobotAPI.Listener.exe

I’m hoping this will solve your problem.

I´m having the same error when i try to list processes

1 Like

@Ricardo_Franco this looks like an issue with the latest version(s) of Firefox. We’re looking into this now. In the meantime you should be able to use Chrome or Edge, can you give either of those a try?

1 Like

Hi Evan
Thank you for the detailed post.
Just thinking of Robot.js with web application. Will it be able to invoke processes from a remote machine?
I do not see any parameters like orchestrator url/ robot name being passed in the initialization of robot object in JavaScript.

HOW I SOLVE IT …CAN ANY ONE GIVE ME STEP BY STEP PROCEDURE

Can you say step by step procedure …

Hi @motilal, in order to use the SDK it must be included on a hosted page - loading the HTML from your local file-system will not work for security reasons. For development/testing purposes I use the http-server npm package, but if you’re not using npm then you can pick whatever you’re comfortable with from this list of static server 1-liners.

So for me I would run the following from the root of the sample application:

http-server

And then I visit http://localhost:8080 in my browser.

For more info about how the SDK works, check out the Developer Guide.

1 Like

Hi @Nagarjuna_Karanam,

The UiPathRobot.js SDK doesn’t depend on an orchestrator connection to interact with the robot. It all happens locally on the end-users’ machine.

image
(from the Public Preview User Guide)

Once a users grants robot access for a domain/application, the SDK allows you to run any of the available processes from the robot (either published locally or distributed via Orchestrator).

If you’re looking to start jobs remotely I’d suggest you take a look at the Orchestrator APIs or the Orchestrator JavaScript library.

2 Likes

Loving the questions and engagement from the community here! This thread is getting a little cluttered, which will just make it hard for other users to find the right information in the future.

Please post new questions, issues, and feedback to the Robot JavaScript SDK section of the forum :rocket:

1 Like