sdk
latest
false
- Overview
- Custom activities
- Migrating Activities to .NET 6
- Release Notes
- Building Workflow Analyzer Rules
- Building Activities Project Settings
- Creating Custom Wizards
- Prioritize Activities by Scope
- UiPath.Activities.Api.Base
- UiPath.Studio.Activities.Api
- UiPath.Studio.Activities.Api.Activities
- UiPath.Studio.Activities.Api.BusyService
- UiPath.Studio.Activities.Api.ExpressionEditor
- UiPath.Studio.Activities.Api.Expressions
- UiPath.Studio.Activities.Api.Licensing
- UiPath.Studio.Activities.Api.Mocking
- UiPath.Studio.Activities.Api.ObjectLibrary
- UiPath.Studio.Activities.Api.PackageBindings
- UiPath.Studio.Activities.Api.ProjectProperties
- UiPath.Studio.Activities.Api.ScopedActivities
- UiPath.Studio.Activities.Api.Settings
- UiPath.Studio.Activities.Api.Wizards
- UiPath.Studio.Activities.Api.Workflow
- UiPath.Studio.Api.Controls
- UiPath.Studio.Api.Telemetry
- UiPath.Studio.Api.Theme
- Robot JavaScript SDK
- Triggers SDK
Developer Guide
Last updated Oct 25, 2024
Creating activities with code
You can create your own custom activities in Microsoft Visual Studio using the UiPath activities template.
- Visual Studio Community/Professional/Enterprise 2022
- The UiPath official feed
https://pkgs.dev.azure.com/uipath/Public.Feeds/_packaging/UiPath-Official/nuget/v3/index.json
must be added as a package source from Tools > Options > NuGet Package Manager > Package Sources
- The UiPath official feed
- Microsoft .NET SDK 6
- UiPath activities template
- UiPath Studio
Note: To use a NuGet package as a dependency for your custom activity, ensure to include it in both the activities project and
the package project. This is essential for the package to appear on the dependency list of the activities package.
The UiPath activities template (UiPath.Activities.Template) contains all the elements you need to get started on creating a custom activity. You can build activities that target the net6.0 framework which can be used in cross-platform projects in both Studio Desktop and Studio Web as well as in Windows projects in Studio Desktop.
- In Visual Studio, go to Tools > Options > Projects and Solutions > Locations and check the path set for the User project template location.
- Download the file UiPath.Activities.Template.zip from GitHub and copy it to the Visual Studio user project template location folder.
- In Visual Studio, select File > New > Project.
-
Select the template UiPath Activities Template, and then click Next.
- Configure the details of the project and solution, and then click Create.