This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
发布内容
注意:
从版本 2511 开始,Citrix Web Studio(基于 Web)是 Citrix Virtual Apps and Desktops™ 的唯一管理控制台。Citrix Studio(基于 MMC)已从安装程序中移除。本文仅适用于 Web Studio。有关 Citrix Studio 的信息,请参阅 Citrix Virtual Apps and Desktops 7 2212 或更早版本中的等效文章。
您可以发布一个应用程序,该应用程序只是指向资源的 URL 或 UNC 路径,例如 Microsoft Word 文档或 Web 链接。此功能称为已发布内容。发布内容的能力增加了向用户交付内容的灵活性。您可以从现有的应用程序访问控制和管理中受益。您还可以指定是使用本地应用程序还是已发布的应用程序来打开内容。
已发布内容在 StoreFront™ 和 Citrix Workspace™ 应用程序中显示与其他应用程序一样。用户访问它的方式与访问应用程序的方式相同。在客户端上,资源照常打开。
- 如果本地安装的应用程序合适,则会启动它来打开资源。
- 如果已定义文件类型关联,则会启动已发布的应用程序来打开资源。
您可以使用 PowerShell SDK 发布内容。您不能使用 Web Studio 发布内容。但是,您可以在内容发布后,使用 Web Studio 编辑应用程序属性。
配置概述和准备工作
发布内容使用 New-BrokerApplication cmdlet,并具有以下关键属性。(有关所有 cmdlet 属性的说明,请参阅 cmdlet 帮助。)
New-BrokerApplication –ApplicationType PublishedContent -CommandLineExecutable location -Name app-name -DesktopGroup delivery-group-name
<!--NeedCopy-->
ApplicationType 属性必须为 PublishedContent。
CommandLineExecutable 属性指定已发布内容的位置。支持以下格式,限制为 255 个字符。
- HTML 网站地址(例如,http://www.citrix.com)
- Web 服务器上的文档文件(例如,
https://www.citrix.com/press/pressrelease.doc) - FTP 服务器上的目录(例如,
ftp://ftp.citrix.com/code) - FTP 服务器上的文档文件(例如,
ftp://ftp.citrix.com/code/Readme.txt>) - UNC 目录路径(例如,
file://myServer/myShare或\\\\myServer\\myShare) - UNC 文件路径(例如,
file://myServer/myShare/myFile.asf或\\myServer\myShare\myFile.asf)
请确保您拥有正确的 SDK。
- 对于 Citrix DaaS(以前称为 Citrix Virtual Apps and Desktops 服务)部署,请下载并安装 Citrix Virtual Apps and Desktops Remote PowerShell SDK。
- 对于本地 Citrix Virtual Apps and Desktops 部署,请使用随 Delivery Controller 安装的 PowerShell SDK。添加已发布内容应用程序需要最低版本为 7.11 的 Delivery Controller。
以下过程使用示例。在示例中:
- 已创建计算机目录。
- 已创建名为
PublishedContentApps的交付组。该组使用目录中的多会话操作系统计算机。WordPad 应用程序已添加到该组。 - 已为交付组名称、
CommandLineExecutable位置和应用程序名称进行分配。
开始使用
在包含 PowerShell SDK 的计算机上,打开 PowerShell。
以下 cmdlet 添加相应的 PowerShell SDK 管理单元,并分配返回的交付组记录。
Add-PsSnapin Citrix\* $dg = Get-BrokerDesktopGroup –Name PublishedContentApps
如果您使用的是 Citrix DaaS,请通过输入您的 Citrix Cloud™ 凭据进行身份验证。如果有多个客户,请选择一个。
发布 URL
分配位置和应用程序名称后,以下 cmdlet 将 Citrix 主页发布为应用程序。
$citrixUrl = "https://www.citrix.com/"
$appName = "Citrix Home Page"
New-BrokerApplication –ApplicationType PublishedContent –CommandLineExecutable $citrixURL –Name $appName –DesktopGroup $dg.Uid
<!--NeedCopy-->
验证成功:
- 打开 StoreFront 并以可以访问 PublishedContentApps 交付组中应用程序的用户身份登录。显示内容包括新创建的带有默认图标的应用程序。要了解如何自定义图标,请参阅 https://www.citrix.com/blogs/2013/08/21/xd-tipster-changing-delivery-group-icons-revisited-xd7/。
- 单击 Citrix Home Page 应用程序。URL 会在本地运行的默认浏览器的新选项卡中启动。
发布位于 UNC 路径的资源
在此示例中,管理员已创建名为 PublishedResources 的共享。分配位置和应用程序名称后,以下 cmdlet 将该共享中的 RTF 和 DOCX 文件发布为资源。
$rtfUNC = "\\GMSXJ-EDGE0.xd.local\\PublishedResources\\PublishedRTF.rtf"
$rtfAppName = "PublishedRTF"
New-BrokerApplication –ApplicationType PublishedContent
–CommandLineExecutable $rtfUNC -Name $rtfAppName
-DesktopGroup $dg.Uid
$docxUNC = "\\GMSXJ-EDGE0.xd.local\PublishedResources\PublishedDOCX.docx"
$docxAppName = "PublishedDOCX"
New-BrokerApplication –ApplicationType PublishedContent
–CommandLineExecutable $docxUNC -Name $docxAppName
-DesktopGroup $dg.Uid
<!--NeedCopy-->
验证成功:
- 刷新您的 StoreFront 窗口以查看新发布的文档。
- 单击 PublishedRTF 和 PublishedDOCX 应用程序。每个文档都在本地运行的 WordPad 中打开。
查看和编辑 PublishedContent 应用程序
您可以使用管理其他应用程序类型的方法来管理已发布内容。
要查看和编辑 PublishedContent 应用程序,请执行以下步骤:
- 登录 Web Studio 并在左侧窗格中选择应用程序。
-
在应用程序选项卡上,选择一个 PublishedContent 应用程序,然后选择属性。
应用程序属性(例如用户可见性、组关联和快捷方式)适用于已发布内容。但是,您不能更改位置页面上的命令行参数或工作目录属性。
-
要更改资源,请修改该页面上的可执行文件路径字段。

-
要使用已发布的应用程序打开
PublishedContent应用程序(而不是本地应用程序),请执行以下步骤:在此示例中,已编辑已发布的 WordPad 应用程序以创建 .rtf 文件的文件类型关联。
- 为交付组启用维护模式。
- 编辑文件类型关联属性。
- 完成后关闭维护模式。
- 刷新 StoreFront 以加载文件类型关联更改,然后单击 PublishedRTF 和 PublishedDOCX 应用程序。请注意区别。PublishedDOCX 仍然在本地 WordPad 中打开。但是,由于文件类型关联,PublishedRTF 现在在已发布的 WordPad 中打开。

更多信息
共享
共享
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.