UiPath Documentation
marketplace
latest
false

Marketplace 用户指南

上次更新日期 2026年5月5日

快速入门:5 分钟活动设置

重要提示:

本文档指的是适用于 Visual Studio 的 UiPath Activity Creator 的已弃用版本。请在此处查看新文档。

简介

活动是流程自动化的构建块。 UiPath Studio 包含内置的核心活动和其他专用活动 (PDF、邮件、Excel),您可以通过包管理器安装这些活动。 您可以阅读 UiPath 活动指南以获取更多详细信息和示例,以及如何管理活动包。 此外,您可以根据需求创建自定义活动,以更好地自动化流程。 以下步骤将为您提供在 5 分钟内构建自定义活动的基础知识。

需要满足的条件

1)将 UiPath Activity Creator 扩展程序添加到 Visual Studio

打开 Visual Studio,然后单击“扩展” > “管理扩展”

在出现的向导中,单击“在线”,然后单击“搜索 ( Ctrl+E ) UiPath”。下载UiPath Activity Creator扩展程序。

关闭 Visual Studio,并在出现 VSIX 安装程序后完成安装。

2) 创建解决方案

Visual Studio organizes project files, settings, and build configurations into containers called Solutions. Go to File > New > Project (Ctrl+Shift+N) to create a new solution.

In the New Project wizard that comes up, select Other Project Types > Visual Studio Solutions > Blank Solution and click Next. Give the solution a name and click Create.

请注意,在“解决方案资源管理器”中,已创建一个新解决方案。

3)添加新活动项目

Custom activities require a number of standard files organized in a specific way. Rather than add them all manually, right-click your solution in the Solution Explorer, and select Add > New Project.

Within the wizard that comes up, search for uipath, select UiPath SDK Project, and give your activity set a name (the conventional format is <Company Name>.<Product Name>; UiPath.Orchestrator, for example).

请注意,3 个项目、一个共享文件夹和许多文件现已添加到您的解决方案中。

4) 构建活动集

在“解决方案资源管理器”中,右键单击您的解决方案,然后选择“重建解决方案”。 您现在拥有一个包含两个活动的工作集!

5)将活动添加到 Studio

为了使用您的活动,UiPath Studio 必须知道在哪里可以找到它们。 在“构建输出”中,记下新创建的活动集的位置。 这将位于底部 Successfully created package:之后。

Open UiPath Studio and navigate to the Package Manager's Settings. From here, tell Studio to look for new packages in the output folder copied from above. Once you click Add, you'll be able to see your new activity and import it into future workflows.

使用您的活动

Studio 连接到输出文件夹后,将活动集添加到工作流中。

请注意,“活动”窗格中已添加一个新类别。

现在,您可以使用两个开箱即用的活动:“父作用域”和“子活动”。 详细了解即将推出的产品。

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新