创建预览包Creating a Preview Package

当你创建预览包时,你可以提交它仅用于预览。When you create a package, you can submit it for preview only. 这让你能够在客户端设备上测试体验,然后更改或修改该体验,之后将它发布为实时体验。This allows you to test an experience on client devices, and then change or modify the experience before you release it as a live experience.

提交预览包Submitting a preview package

在提交预览包之前,你必须首先创建你的公司唯一的 PreviewKey。Before you submit preview packages, you must first create a PreviewKey that is unique to your company. 只有知道 PreviewKey 的人才能下载你的预览包。Only people who know the PreviewKey can download your preview packages.

发布预览包的过程与发布任何其他包的过程相同,但需要将该包标识为预览除外,以便你选择的用户知道使用 PreviewKey。The process for releasing a preview package is the same as the process for releasing any other package, except that you identify the package as a preview so that your selected users know to use the PreviewKey.

对于公司合作伙伴提交的任何预览包,需要在注册表项中设置公司的 PreviewKey,进行以下设置:Any preview package submitted by the partner of a company will require the company’s PreviewKey to be set in a registry key with the following settings:

  • 项:HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Device MetadataKey: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Device Metadata

  • 值名称:DeviceMetadataPreviewKeyValue Name: DeviceMetadataPreviewKey

  • 值类型:REG_SZValue Type: REG_SZ

  • 值:<你的 PreviewKeyValue: <Your PreviewKey>

创建 PreviewKeyTo create a PreviewKey

  1. 从 Windows 开发人员中心或硬件开发人员中心,使用 Microsoft 帐户登录到仪表板。From either the Windows Dev Center or the Hardware Dev Center, sign in to the dashboard with the Microsoft account.

  2. 在窗口左侧,单击“设备元数据”*On the left side of the window, click *Device metadata.

  3. 在“设备元数据”*页的“管理预览密钥”下,输入符合以下准则的 PreviewKey:On the **Device metadata* page, under Manage preview key, enter a PreviewKey that conforms to the following guidelines:

    • PreviewKey 必须包含 1 到 15 个字符。The PreviewKey must contain between 1 and 15 characters.

    • 这些字符必须为字母数字。The characters must be alphanumeric. 换句话说,PreviewKey 只能包含大写字母、小写字母或数字。In other words, the PreviewKey can include only uppercase letters, lowercase letters, or numbers. PreviewKey 不能包含特殊字符。The PreviewKey cannot contain special characters.

    • PreviewKey 必须与任何其他现有 PreviewKey 均不同。The PreviewKey must be unlike any other existing PreviewKey.

    • 每个公司仅允许使用一个 PreviewKey。Only one PreviewKey is allowed for each company.

相关主题Related topics

创建设备元数据体验Create a Device Metadata Experience

提交设备元数据包(仪表板帮助)Submit a Device Metadata Package (Dashboard help)

设备元数据业务规则Device Metadata Business Rules

向 Microsoft 发送有关该主题的评论Send comments about this topic to Microsoft