How to configure Citrix apps autolaunch

Autolaunch single Citrix application

Add the following javascript code to the Storefront C:\inetpub\wwwroot\Citrix\StoreWeb\contrib\custom.script.js. If you already have some customizations in that file, just paste this code at the bottom of the file. More customization tips (e.g. for multiple Citrix apps autolaunch) can be found in the Citrix support article in the “source” section of this article.

CTXS.Resources.originalProcessResources = CTXS.Resources.processResources;

CTXS.Resources.processResources = function (event, pubData) {

    CTXS.Resources.originalProcessResources(event, pubData);

     for (var i = 0; i < CTXS.resources.length; i++) {

        var resource = CTXS.resources;

        if (resource.encodedName.indexOf('Notepad') != -1) {

            CTXS.launchResource(resource);

        }

    }

};

Source

https://discussions.citrix.com/topic/347786-storefront-21-auto-launch-application/#entry1886496

Was this article helpful?

Related Articles