Primo RPA Global
  • Primo RPA
  • Primo Studio
    • Useful links
    • System requirements
    • Editions
    • Installation and updates
      • Robot Core manual installation and execution
      • Updates
    • Launching and getting started
      • Getting started
    • Studio settings
      • Extensions and plugins install
        • Chrome
        • FireFox
        • Opera (Deprecated)
        • Edge
        • Yandex
        • RDP
        • Java
      • Automated installation of extensions for browsers
      • Updating Selenium WebDriver
      • NuGet
      • Fine-tuning
        • Multi-session work
    • Working with projects
      • Analyzing projects
      • Creating libraries
      • Dependencies
      • Namespaces
    • Working with processes
      • Sandbox
    • Working with sequences
    • Working with workflows
    • Working with Code
    • Working with elements
    • Process execution and debugging
      • Testing
    • Script recording
    • Log
    • Variables and arguments
    • Search
    • Search patterns
    • Release control
    • Traffic record
    • UI inspector
    • SAP Inspector
    • Mobile devices
    • Panel management
    • Robot
      • Robot editions
    • RDP
    • Tools
      • Import
      • OCR pattern editor
      • Dialog designer
  • Elements
    • Base elements
      • 1C
        • 1C (local)
        • 1C (server)
        • Execute query
      • Assistant
        • Show hint
      • Browser
        • Open browser
        • Attach browser
        • Activate browser
        • Text input
        • Element vanish
        • Close browser
        • Mouse click
        • Navigate
        • Get attribute
        • Get list
        • Get text
        • Element exists
        • Read table
        • Get image
        • Select item
        • Set focus
        • Anchor
        • Execute JS
        • Back
      • Clipboard
        • Get from clipboard
        • Copy to clipboard
      • Collections
        • Add to array
        • Table to CSV
        • Table filter
      • Cryptography
        • Set Credentials
        • Get Credentials
        • Delete Credentials
      • Data
        • Date/time
          • Current date/time
          • Date diff
          • Date part
          • Date to string
          • Modify date
          • String to date
        • Archiving
          • Create archive
          • Extract archive
        • HTML
          • HTML to object
        • JSON
          • JSON to object
          • Object to JSON
        • Mapping
          • Create mapping
          • Update mapping
        • Strings
          • Cast to string
          • Get substring
          • Regular expression
          • Replace substring
          • Split string
          • String length
          • Substring exists
          • Trim string
        • XML
          • XML to object
          • XPath query
          • Object to XML
        • Data tables
          • Add column
          • Add row
          • Clean table
          • Create table
          • Merge tables
          • Remove column
          • Remove row
          • Sort table
      • Database
        • Connect
        • Execute query
      • Desktop
        • Activate window
        • Anchor
        • Attach application
        • Close application
        • Create desktop video
        • Drag and drop
        • Element exists
        • Element vanish
        • Get list
        • Get processes
        • Get text
        • Hot-key simulation
        • Kill application
        • Maximize window
        • Minimize window
        • Mouse click
        • Read table
        • Restore window
        • Select item
        • Set focus
        • Start application
        • Take screenshot
        • Text input
        • Type simulate
      • Dialogs
        • Add to log
        • Comment
        • Message box
        • Input dialog
        • Beep
        • Custom input
      • E-mail
        • Data types
          • OMailMessage
          • MailFormats
          • OMailAttachment
          • MailMessage
          • MailAttachments
          • OContact
        • Lotus Notes
          • Attach Lotus Notes
          • Save attachment
          • Delete mail
          • Move mail
          • Read mail
          • Send message
        • MS Exchange
          • MS Exchange Server
          • Delete messages
          • Mark messages
          • Move to folder
          • Read mail
          • Save attachment
          • Save mail
          • Send mail
        • Move to folder (IMAP)
        • Receive mail (IMAP)
        • Receive mail POP3
        • Send message (SMTP)
      • File system
        • Append line
        • Write file
        • Copy file
        • Move file
        • File search
        • Create directory
        • Create file
        • File/folder exists
        • Delete file/folder
        • Read file
      • Flow control
        • If-Else
        • Switch
        • Try-Catch
        • Exit sequence
        • Break
        • Comment out
        • Throw
        • Wait
        • Parallel threads
        • Sequence
        • Assign
        • Continue
        • Process link
        • Do-While
        • ForEach
        • While
      • Google Sheets
        • Google Sheets document
        • Write range
        • Read range
      • Message queues
        • ActiveMQ
          • Send message
          • ActiveMQ
        • Kafka
          • Send message
          • Read messages
      • MS Excel
        • Run macro
        • Excel workbook
        • Cell input
        • Select range
        • Append range
        • Calculate formulas
        • Sort range
        • Get sheets
        • Save workbook
        • Delete range
        • Filter range
        • Read range
      • MS Outlook
        • Outlook
        • Close Outlook
        • Send message
        • Read address book
        • Read mail
      • MS Word
        • Add table row
        • Copy to clipboard
        • Delete text
        • Export document
        • Find text
        • Get text
        • Insert image
        • Insert table
        • Read table
        • Replace text
        • Save document
        • Select range
        • Text input
        • Word document
        • Write table cell
      • Network
        • FTP
          • Send to FTP
          • Download FTP file
          • List FTP files
        • Terminal server
          • Connect
          • Execute script
          • Disconnect
        • Web request
      • OCR
        • ABBYY FlexiCapture
          • FlexiCapture server
          • Process documents
        • Dbrain
          • Classify documents
          • Dbrain server
          • Process documents
        • Microsoft OCR
        • Tesseract OCR
        • Yandex Vision OCR
        • Image Vanish
        • Image click
        • Text click
        • Image exists
        • Text recognition
        • Validate document
      • Orchestrator
        • Assets
          • Get Asset
          • Get Credentials
          • Set Asset
          • Set Credentials
        • Process
        • Queues
          • Peek queue
          • Add to queue
      • PDF
        • Add watermark
        • Page count
        • Merge documents
        • Get image
        • Get text
      • Programming
        • C# Script
        • Invoke method
        • JavaScript
        • Python Script
        • Command prompt
        • Power Shell
      • SAP Front end
        • BAPI
          • BAPI connection
          • BAPI function
        • Attach SAP
        • Calendar
        • Check box
        • Combo box
        • Control exists
        • Get text
        • Mouse click
        • Open SAP
        • Radio button
        • Set focus
        • Tab strip
        • Table
        • Text input
        • Tree
      • Smart devices
        • Attach device
        • Press hot-key
        • Type text
        • Start application
        • Tap control
        • Get text
      • Testing
        • Get next local test data
        • Mock
        • Verify expression
        • Verify expression with operator
        • Verify output with operator
      • Workflow
        • Decision
        • Sequence
        • State
        • Workflow
  • Orchestrator
    • Monitoring
    • Automation
      • Tasks
    • Administration
      • Workers
      • Robots
      • Projects
      • Templates
      • Assets
      • Queues
    • Setting
      • Distribute
      • Journal
      • Users
      • Roles
      • Licenses
    • User settings
Powered by GitBook
On this page
  • Dependencies manager
  • Importing dependencies
  • Restoring dependencies
  1. Primo Studio
  2. Working with projects

Dependencies

PreviousCreating librariesNextNamespaces

Last updated 11 months ago

Primo robots can use 3rd party libraries in their projects. Once the libraries are linked, they can be used in code inserts. The same method can be used to include additional elements into projects. The following methods of importing dependencies are available:

  1. Copying all required *.dll files into the Referenced folder of Studio and robot (for regular libraries).

  2. Copying all necessary *.dll files into the root folder of Studio and robot (for elements).

  3. Adding dependencies manually.

  4. Using dependencies manager.

Loading dependencies into a project takes some time. The linked libraries will appear in the script editor only after the “Loading dependencies…” message disappears from the Studio status panel.

Dependencies manager

Dependencies are divided into four main groups:

  • Project - this group contains dependencies attached to the project itself. They are physically located in the .Dependencies folder of the project. Dependencies can be added either from the local Studio repository or from the nuget.org portal.

  • Studio - these are dependencies that are located in the local Studio repository. New dependencies can be added either by visiting Nuget.org or manually, by copying into the .Dependencies folder of the Studio root folder. When the manual method is used, it is necessary to create a subfolder in the .Dependencies folder, with the name of your nuget package (without the extension), then copy the nuget package file (*.nupkg) into that subfolder. For example, for the package Antlr.3.5.0.2.nupkg, a subfolder with the name Antlr.3.5.0.2 needs to be created. When installing from nuget.org, the dependency will be automatically imported into the current project. To import only into Studio it is necessary to close the current project before importing.

Importing dependencies

Dependencies are imported using the following algorithm:

  1. Search is done in the Studio repository.

  2. If the dependency is found, it will be installed from the Studio repository.

  3. If it is not found, then installation will be done from nuget.org with subsequent copying into the local Studio repository.

Pressing the Save button displays a window with the list of proposed changes:

After Install button is pressed, all of these changes will be made, and the bottom part of the window will display the dependencies installer log.

Once the changes are completed the project will be reloaded.

Restoring dependencies

If the .Dependencies folder of a project does not contain the necessary dependencies, Project palette will show errors (htmlagilitypack in the example below).

Dependencies can be restored manually by copying, or automatically: to do this, right-click on any dependency and select Restore dependencies item in the local menu.

Dependencies for Primo projects can be distributed as NuGet packages (*.nupkg) either by direct copying or by using the portal.

To start the Dependencies manager, use Manage dependencies button of the main menu or right-click on the “Dependencies” item in the project panel. This will open a dialog window:

Nuget.org - the group contains packages from the nuget.org website. They require an Internet connection to work. NOTE. To search for the official elements, use Primo or Rondem keywords.

3rd party sources - information about handling additional sources can be found in the .

Importing/deleting/updating of dependencies is done in batches, i.e. at the moment of pressing the control buttons (Add/Delete/Update), labels are set (shown as pictograms ), installation is performed after pressing the Save button.

IMPORTANT! Save all changes in the algorithms before starting the work with dependencies.

🔹
‼️
nuget.org
Nuget section