UiPath Documentation
activities
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

传统“集成”活动

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

设置

简介

要成功建立连接并向 Box API 发送请求, Box 作用域活动必须使用其中一种受支持的JWT 身份验证(将来将支持其他身份验证方法)完成对自定义应用程序的身份验证。

To give the Box Scope activity the ability to authenticate and to enable the other activities to successfully send requests to the Box API, you must complete the following steps:

  1. 创建自定义应用程序。

  2. 构建项目。

步骤

1. 创建自定义应用程序 (JWT)

要创建 JWT 身份验证自定义应用程序,请按照 Box 文档中的使用 JWT 设置步骤操作

The following input properties are required in the Box Scope activity:

  • Config File Content or Config File Path

要获取“配置文件内容”“配置文件路径”的值,请按照 Box 文档中的生成密钥对步骤操作。

After downloading the JSON configuration file, you can either save the file to a local folder and enter that location in the Config File Path property, or copy contents to enter it as a String in the Config File Content.

作为快速参考,以下是我们在开发和测试 Box 活动时遵循的步骤。

备注:

The steps below are for example purposes only. For the latest setup steps and more detailed information about the configuration settings and, refer to the referenced Box documentation.

  1. Click Create New App.

  2. Select Custom App or Enterprise Integration.

  3. Select OAuth 2.0 with JWT (Server Authentication).

  4. Enter a name for your app and click Create App.

  5. After your app is created, click View Your App (you don't need to copy the developer token).

  6. In your app's Configuration settings, under Advanced Features, ensure both Perform Actions as Users and Generate User Access Tokens are enabled.

  7. Under Add and Manage Public Keys, click Generate a Public/Private Keypair and save the JSON configuration file locally.

    • 此步骤要求应用启用多重身份验证。
  8. After downloading the file, note its location as you'll enter this value in the File Path* property of the Box Scope activity.

  9. After completing your Configuration settings, go to General and click Submit for Authorization.

  • 然后,应用程序管理员(可能就是您)必须按照 Box 发送的电子邮件中的说明授权应用程序。

2. 构建项目

  1. 创建一个新的自动化项目。
    1. Open UiPath Studio.
    2. Under New Project, click Process (this opens a New Blank Process window).
    3. Enter a project Name, Location, and Description.
    4. 单击“创建”。
  2. Install the UiPath.Box.Activities package.
    1. In the Design ribbon, click Manage Packages (this opens the Manage Packages window).
    2. Under All Packages, click Connect
    3. In the Search bar, enter Box.
    4. Click, install and accept the license for the UiPath.Box.Activities.
      • 有关 Uipath Studio 包的更多信息,请参阅 Studio 指南中的管理包

操作完毕!

现在,您已完成设置,可以开始将 Box 活动添加到项目中。

后续步骤

要了解有关 Box 活动(包括示例属性输入/输出)的更多信息,请参阅活动页面以获取完整的活动列表以及活动详细信息页面的链接。

  • 简介
  • 步骤
  • 1. 创建自定义应用程序 (JWT)
  • 2. 构建项目
  • 后续步骤

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新