您在此处:
通过编程方式管理 Sandbox
使用 Salesforce CLI,以授权登录、创建和克隆 Sandbox。传统上,管理员通过设置 UI 创建并管理 Sandbox。但我们意识到多个管理员和开发人员需要通过编程方式创建并管理开发和测试环境的权限,并将 CI 进程自动化。Salesforce CLI 支持您实现 2 个目标。
使用 Salesforce CLI,以授权登录、创建和克隆 Sandbox。传统上,管理员通过设置 UI 创建并管理 Sandbox。但我们意识到多个管理员和开发人员需要通过编程方式创建并管理开发和测试环境的权限,并将 CI 进程自动化。Salesforce CLI 支持您实现 2 个目标。
| 适用于 Salesforce Classic 和 Lightning Experience |
| 适用于:Professional、Enterprise、Performance、Unlimited 和 Database.com Edition |
| 所需用户权限 | |
|---|---|
| 查看 Sandbox: | 查看设置和配置 |
| 创建、刷新、启用和删除 Sandbox: | 管理开发人员 Sandbox(仅限开发人员或 Developer Pro)或管理 Sandbox(所有 Sandbox 类型) |
入门:

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.