Previous page

Next page

Locate page in Contents

HTML5 Gateway API

The HTML5 Gateway API allows you to use a custom app launcher to launch published applications and desktops via the RAS HTML5 Gateway.

Note: The HTML5 Client option must be enabled for the RAS Secure Client Gateway in the Parallels RAS Console and the gateway must be reachable on https://server-name/RASHTML5Gateway/ where "server-name" is the name of the host server.

Link Format

When calling the following link:

https://server-name/RASHTML5Gateway/?https://webserver.host/app.js#/launch

the RAS HTML5 Gateway will make a request to https://webserver.host/app.js and expect a JSONP formatted response as follows:

_RASHTML5LoadApp ({

    u: 'username',

    q: 'password',

    a: '#3',

    p: 'c:\\temp\\another.txt',

        extra: {

            redirectPrinter: true,

            redirectLinks: true,

            redirectSound: true

        }

});

The RAS HTML5 Gateway will use the received data to launch the app using the options specified in the JSON payload.

Supported JSON Parameters

The following table lists currently supported parameters:

Parameter Name

Description

a

Application ID

d

Domain

p

Application arguments

q

Password

u

Username

extra.redirectLinks

Boolean: true = redirect links; false = do not redirect.

extra.redirectPrinter

Boolean: true = redirect printer; false = do not redirect.

extra.redirectSound

Boolean: true = redirect sound; false = do not redirect.