在 PowerApps 中保存并发布应用Save and publish an app in PowerApps

每当保存应用更改时,都只会对你自己和有权编辑此应用的其他所有人自动发布更改。Whenever you save changes to an app, you automatically publish them only for yourself and anyone else who has permissions to edit the app. 完成更改后,必须显式发布更改,以便应用的所有共享对象都能使用。When you finish making changes, you must explicitly publish them to make them available to everyone with whom the app is shared.

若要了解如何共享应用,请参阅共享应用For information about how to share an app, see Share an app.

保存应用更改Save changes to an app

在 PowerApps Studio 中,单击或点击左侧边缘上“文件”菜单中的“保存”,再根据需要按照下列任一步骤操作:In PowerApps Studio, click or tap Save on the File menu (on the left edge), and then follow either of these steps:

  • 如果之前从未保存过应用,请输入应用名称,再单击或点击“保存”。If you've never saved the app before, provide a name for it, and then click or tap Save.

    保存新应用

  • 如果之前保存过应用,请单击或点击“保存”。If the app has ever been saved, click or tap Save.

    保存更新后的应用

PowerApps 也可以每 2 分钟定期保存一次应用。PowerApps can also periodically save the app every 2 minutes. 如果已保存一次应用,那么 PowerApps 会继续定期保存应用的版本,用户无需点按“保存操作”。If you have saved the app once, PowerApps will continue to save a version of the app periodically without requiring the user to press or tap the Save action. 作者可以在“帐户”选项卡上的“文件”菜单中,启用或禁用“自动保存”设置。Authors can enable or disable the Auto save setting from the Account tab on the File menu.

“自动保存”设置

发布应用Publish an app

  1. 在 PowerApps Studio 中,依次单击或点击左侧边缘上“文件”菜单中的“保存”和“发布此版本”。In PowerApps Studio, click or tap Save on the File menu (on the left edge), and then click or tap Publish this version.

    发布应用

  2. 在“发布”对话框中,点击或单击“发布此版本”,向所有作为应用共享对象的用户发布应用。In the Publish dialog box, tap or click Publish this version to publish the app to all users with whom the app is shared.

    检查发布信息

    备注

    建议在自上一次发布应用后的六个月内更新和/或重新发布应用,让它与最新版 PowerApps 保持同步。We recommend that you update and/or re-publish your app within six months of last publishing it to keep it in sync with the latest version of PowerApps. 如果未在六个月内更新和/或重新发布应用,应用可能会停止运行,而不显示任何警告。If you don't update and/or re-publish within six months, the app may stop working without warning.

确定实时版本Identify the live version

powerapps.com 中,依次单击或点击左侧边缘上“文件”菜单中的“应用”、应用详细信息图标和“版本”选项卡。In powerapps.com, click or tap Apps on the File menu (on the left edge), click or tap the details icon for an app, and then click or tap the Versions tab.

“实时”版本会向所有作为应用共享对象的用户发布。The Live version is published for everyone with whom the app is shared. 任何应用的最新版本都只会向拥有编辑权限的用户发布。The most recent version of any app is available only to those who have edit permissions for it.

从门户发布

若要发布最新版本,请依次单击或点击“发布此版本”和“发布”对话框中的“发布此版本”。To publish the most recent version, click or tap Publish this version, and then click or tap Publish this version in the Publish dialog box.

后续步骤Next steps