INTRODUCTION

User Plugins are typically .NET libraries, they enable RPA developers to use complex .NET components/libraries inside INTELLIBOT design studio in a seamless way.

 

HOW DO I START?

Writing a user plugin is very simple.

Create a .NET class library project in either VB.NET or C#.NET.

I am going to use VB.NET for this example, but it is similar in C# too.

 

INTELLIBOT runs on .NET 4.5 version to ensure compatibility with legacy operating systems.

Hence, ensure your plugin project is targeted to .NET framework 4.5 version.


Now a key step, to let INTELLIBOT know that this library is a plugin, we need to add an assembly called “System.AddIn” into project references as shown below.

 

And also,  the classes that you would want to expose via the plugin, ensure “System.AddIn.AddIn” attribute is set as shown in the below picture.

INTELLBOT identifies classes inside plugin assembly with this attribute and loads all static methods of such classes.

And the last but not the least, ensure methods/functions are marked as static.

Component Preview: (This is how it would appear on INTELLIBOT design studio.)

Congratulations!!! You have just created your first plugin.

 

RETURNING VALUES

To return a single value, you can simply write a function as shown in the following example.

Component Preview: (This is how it would appear on INTELLIBOT design studio.)


It is also possible to return multiple values by using <Out> attribute and ‘ByRef’ params as shows in the blow example.

 

Component Preview: (This is how it would appear on INTELLIBOT design studio.)


INSTALLING PLUGIN

Once plugin is built, follow the below steps and import assembly into INTELLIBOT design studio.

·         Go to your INTELLIBOT project folder .

·         Create ‘UserPlugins’ folder if not exists.

·         Create another folder inside ‘UserPlugins’ with any name (for example ‘MyPluginDir) to place plugin DLL.

·         Copy your plugin DLL to Your-INTELLIBOT-ProjectPath\UserPlugins\MyPluginDir.

Once above steps are complete.

·         Go to “User Plugins” folder on right top corner of INTELLIBOT studio.

·         Click on “Add User Plugin”

·         Choose the plugin and click ok to add as a reference.

·         As soon as reference is added, plugin would get added to the “User Plugins” folder.

Also, all its static methods are loaded into tool box as below.

These methods can be used anywhere inside the project like other built-in components.

 

Hope this has helped you and good luck with creating plugins….!!!!😊