Studio uses NuGet feeds to install activity packages. These feeds can be handled in two ways in Studio:
- application level - feeds are configured from the Settings > Manage Sources tab
- project level - feeds are configured from the Manage Packages button in the ribbon.
To disable an activities feed, you must clear its corresponding checkbox. Enabling or disabling a feed is applicable both at project and application level.
The following feeds are configured by default in Studio:
- Orchestrator Tenant and Orchestrator Host - These activities feeds are added by default if your Robot is connected to Orchestrator and they cannot be disabled. The Orchestrator Tenant option is available only if the tenant libraries feed is enabled in Orchestrator. For more information, see Activities Feeds in the Orchestrator Guide. The feeds have the following source:
- Local - The feed can be excluded when installing Studio with the
.msiinstaller. If you choose not to install the local activities feed, the folder is still created but contains only the default activities,
UiPath.Mail.Activities, together with dependencies previously set to a project. If installed, the feed has the following source:
%ProgramFiles%\UiPath\Studio\Packages. For a list of activities packages included in the local feed in each version, see the Release Notes.
- Official - The official online UiPath feed, where you can find the activity packages that are officially supported by us. This feed has the following source:
- Marketplace - This public feed contains all the activities published on the UiPath Marketplace. Please note that whether or not packages are built and officially supported by UiPath is specifically stated in the Manage Packages window, Package Information tab. This feed has the following source:
Please be aware that UiPath has no control over the unlisting of packages created by partners or the Marketplace community. However, UiPath keeps unlisted packages active to ensure backward compatibility for runtime purposes.
Feed configuration is persisted upon upgrading to a later Studio version.
Feed management and configuration is available in the Manage Packages window if a governance policy was not enforced. If such a policy is enforced and contains restricted rights regarding feed management, then a message is displayed in the window. Read more about Governance.
In Enterprise installations, a custom activity feed can only be used in workflows started from Studio on that user. Starting a job on the same machine from Orchestrator or the Agent (Robot Tray) results in the Robot not being able to retrieve the appropriate package. To avoid such scenarios, you should add the custom feed in the
UiPath.settingsfile under the ActivitiesFeed property instead of using the method below.
- In the Manage Packages window, click on the Settings. The package sources are displayed.
- Click on the button to add a feed to the User defined package sources category.
- Fill in the name of the package source or the name of the NuGet feed.
- In the Source field, type the local drive folder pathway, the shared network folder pathway or the URL of the NuGet feed.
- Click on Add. The new feed is automatically added among the User defined package sources and in the All Packages category of the Manage Packages window. The feed is enabled by default.
- Click Save to apply all changes.
User defined and default package sources can be enabled or disabled from the Manage Packages window.
Please note that feeds are added on the spot. Clicking the Close or Cancel button after adding a feed does not revert changes.
If the custom feed contains a package that is corrupt or currently being modified in an editor, the Package Manager is not able to load any packs in the feed.
If you want to add a custom NuGet feed that requires authentication, you can follow the steps explained here.
You need to add the NuGet feed, username and password values in the
NuGet.config file, located at the following path:
%AppData%\NuGet. When it’s done, the feed should be visible in the Manage Packages window.
<packageSources> <add key="nuget.org" value="https://api.nuget.org/v3/index.json" /> <add key="FeedName" value="https://FeedSource" /> </packageSources> <packageSourceCredentials> <FeedName> <add key="Username" value="YourUsername" /> <add key="Password" value="YourPassword" /> </FeedName> </packageSourceCredentials>
Please take into account that
key="ClearTextPassword" should replace
key="Password" when unencrypted passwords are used.
Only User defined package sources can be removed from the Manage Packages window.
- In the Settings category, click on any of the feeds under the User defined package sources section.
- Press the Remove button. The feed is removed from the All Packages category and the User defined package sources section.
- Click on Save to apply the changes.
Please note that feeds are removed on the spot. Clicking the Close or Cancel button after removing default or custom feeds does not revert changes.
If your computer is behind a proxy server, you must configure NuGet proxy settings to have access to feeds located outside of your network:
- Download nuget.exe from https://www.nuget.org/downloads.
- Open a command prompt window in the folder where nuget.exe was downloaded and run the following commands to configure the address, username, and password for the proxy server:
nuget.exe config -set http_proxy=<http://proxy.server.address:port>
nuget.exe config -set http_proxy.user=<mydomain\myUserName>
nuget.exe config -set http_proxy.password=<myPassword>
- Check that the
NuGet.configfile located in
%AppData%\NuGethas been updated with the new configuration:
<config> <add key="http_proxy" value="http://proxy.server.address:port" /> <add key="http_proxy.user" value="mydomain\myUserName" /> <add key="http_proxy.password" value="myEencryptedPassword" /> </config>
- Restart Studio.
The package manager functionality enables you to download activity packages, libraries, frameworks, wrappers and others, view the ones already installed for your project and update them, as well as add and remove your own. It shows the list of available packages per feed and the list of dependencies per current project. The Manage Packages window always opens with the Project Dependencies list.
An activity package is a bundle of activities that can help you automate a certain application (
UiPath.Excel.Activities, UiPath.Word.Activities) or a category of apps (
UiPath.Mail.Activities, UiPath.Terminal.Activities), or use certain technologies in your automations (
Details about packages and libraries are displayed in the right panel of the Manage Packages window, as you can see in the screenshot above.
Release notes for activities packages are not visible in the Manage Packages window due to a NuGet v3 limitation.
The Include Prerelease checkbox next to the Search bar, displays the beta versions of library packages, if available, when selected.
Check the Include Prerelease box if descriptions for the project's dependencies are not visible in the Manage Packages window.
UiPath.System.Activitiespackages are compatible with Studio v2018.3 and above.
An internet connection is required to download and install activities packs.
If your organization uses enforced package signing, you need to add trusted certificates for UiPath in order to be able to install official packages. You can read more on this here.
- In the Manage Packages window select the All Packages category. This opens a list of all packages gathered from your feeds.
- Locate the package you want to install. You can:
- Scroll down the list to find the package.
- Search for the package by typing part of its name or description in the search bar.
- Filter the list by clicking the Filter icon next to the search bar, and then selecting only the options you want to see:
- Include Prerelease - Include beta versions of packages, where available.
- UiPath Only - List only packages published by UiPath.
- Activities Only - List only activities packages.
- Libraries Only - List only libraries.
- UI Libraries Only - List only UI Libraries published from the Object Repository.
- Select an activity package to view its description, version, dependencies, the project URL and the date when it was published.
- Click on the drop-down list next to Version to pick a version of the package, and then set a Runtime Rule. To read more about runtime rules for project dependencies check the Managing Dependencies page.
- Click on the Install button. Alternatively, click on the icon next to the package name to mark it with the icon, making it ready for installation.
- The License Acceptance window displays licensing terms for each third-party package you wish to install. Click on View License to read licensing terms.
- Click I Accept to agree with the license terms and install the packages.
- Click I Decline to cancel the installation and return to the Manage Packages window.
- Click Save to install the packages or update the versions.
If during the installation of an activity package the path gets corrupted, the installation doesn’t complete. It is recommended to backup and then clear the content of the following local folders
To uninstall packages, go to the Project Dependencies category, and click the Uninstall button next to the package that you no longer want to use. The package is removed only after you click on Save.
When running an automation project, the Manage Packages button is disabled, meaning that activity packages cannot be installed or removed until the execution has stopped.
By default, activities packages are downloaded and installed in the
%userprofile%\.nuget\packages folder. You can set a different folder in one of the following ways:
During installation, by installing from the command line with the option
After installation, by manually editing the
- Open the
uipath.configfile in a text editor. By default, the file is located in
- In the
packageSettingsnode, add the
packagesInstallationFolderkey with the path to the new folder as its value.
- Save the changes and, if the Robot is installed as a service, restart the service.
For example, add the following to
uipath.configto change the download location to
- Open the
<packageSettings> <add key="packagesInstallationFolder" value="C:\nuget" /> </packageSettings>
Updated about a month ago