0

我正在使用 Citrix StoreFront Web API 并实施了所有步骤来验证请求并获取资源列表。我还能够使用以下代码启动应用程序:

function performLaunch(resource) {
        var icaFileUrl = resource.launchurl,
            csrfToken = getCookie('CsrfToken'),
            currentTime = (new Date()).getTime(),
            frameId = "launchframe_" + currentTime;

        // To initiate a launch, an ICA file is loaded into a hidden iframe.
        // The ICA file is returned with content type "application/x-ica", allowing it to be intercepted by the Citrix HDX
        // browser plug-in in Firefox/Chrome/Safari. For IE, the user may be prompted to open the ICA file.
        $('#hidden-iframes').append('<iframe id="' + frameId + '" name="' + frameId + '"></iframe>');

        if (csrfToken != null) {
            icaFileUrl = updateQueryString(icaFileUrl, "CsrfToken", csrfToken);
        }

        // Web Proxy request to load the ICA file into an iframe
        // The request is made by adding
        icaFileUrl = updateQueryString(icaFileUrl, 'launchId', currentTime);
        $("#" + frameId).attr('src', icaFileUrl);

        console.log('perform launch - url: ' + icaFileUrl);
    }

但不幸的是,它会在 Citrix Receiver for Windows 中启动应用程序。但我的目标是在浏览器中启动应用程序。我们已经在我们的 Web 服务器上安装了 Citrix Receiver for HTML5,但我不知道如何在那里启动应用程序。

4

1 回答 1

-1

我从 Citrix 员工那里得到了答复

http://discussions.citrix.com/topic/370729-how-to-launch-citrix-xenapp-in-html5-receiver-instead-of-windows-receiver/

于 2015-09-15T13:11:41.633 回答