Citrix Chrome Workspace



Session¶

Citrix workspace chrome multiple monitors

Users install Citrix Workspace app for Chrome OS from the Chrome Web Store by searching for Citrix Workspace and clicking Add to Chrome. Once installed, Citrix Workspace app for Chrome OS must be configured with connection details for Citrix Gateway and the Citrix Receiver for Web site providing that provides users’ desktops and apps. Citrix WebHelper for Google chrome can work as invoked mode or Non-invoked mode to access XenApp/XenDesktop resource. The article describes configuration steps for Citrix WebHelper invoked mode. It is essential to have access to back-end application via NetScaler Gateway when Receiver Client Selective Trust (CST) feature is enabled. Citrix Receiver for Windows product software. Citrix Workspace App Workspace app for Windows Current Release Subscribe to RSS notifications of new downloads.

new Session()

Members¶

(readonly) receiverId¶

Properties¶

NameTypeDescription
receiverIdStringWorkspace app for Chrome ID.

(readonly) sessionId¶

Properties¶

NameTypeDescription
sessionIdStringID of the session.

Methods¶

(inner) addListener(eventType, eventListener)¶

Registers the eventListener on the eventType.

Parameters¶

NameTypeDescription
eventTypeStringType of the event for which the listener needs to be attached. Supported event types:
- onConnection
- onConnectionClosed
- onURLRedirection
- onError
eventListenereventListenerListener to handle the event

Example¶

(inner) changeResolution(bounds, responseCallback)¶

Changes the resolution of the session.

Parameters¶

NameTypeDescription
boundsObjectContain session resolution settings.
responseCallbackresponseCallbackCallback that handles the response.

Properties¶

NameTypeDescription
bounds.autoresizebooleanShould be set to false to give fixed width and height to session. By default, this value is set to true in which case the session is resized to match the size of appView element inside third party Chrome app or the new window.
bounds.widthNumberWidth of the session specified in pixels. This value will be set only when autoresize is set to false.
bounds.heightNumberHeight of the session specified in pixels. This value will be set only when autoresize is set to false.

Examples¶

Example 1: To change resolution to fixed width and height.

Example 2: To change the session resolution to match the size of appview element inside third party Chrome app or the window size.

(inner) hide(responseCallback)¶

Hides the session.

Parameters¶

NameTypeDescription
responseCallbackresponseCallbackCallback that handles the response.

(inner) logoff(responseCallback)¶

Sends logoff to the session.

Parameters¶

NameTypeDescription
responseCallbackresponseCallbackCallback that handles the response.

(inner) removeListener(eventType, eventListener)¶

Removes the eventListener on the eventType.

Parameters¶

NameTypeDescription
eventTypeStringType of the event for which the listener needs to be attached. Supported event types:
- onConnection
- onConnectionClosed
- onURLRedirection
- onError
eventListenereventListenerListener to handle the event

Example¶

(inner) sendSpecialKeys(keys, responseCallback)¶

Sends a key combination to the session.

Parameters¶

NameTypeDescription
keysArrayArray of strings with each one representing a key. Supported keys Alt, Control, Shift, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, Home, End, PageUp, PageDown, Backspace, Delete, F5, PrintScreen,Insert, Escape, Tab.
responseCallbackresponseCallbackCallback that handles the response.

Citrix Workspace Chrome Dual Monitor

Examples¶

Example 1: Sends Ctrl+alt+delete to the session.

Chrome Citrix Workspace Launcher

Download citrix receiver for chrome

Example 2: To preview different apps running inside session, Ctrl+alt+tab can be sent.

(inner) show(responseCallback)¶

Citrix Chrome Workspace App

Shows the session.

Citrix chrome workspace app

Parameters¶

NameTypeDescription
responseCallbackresponseCallbackCallback that handles the response.

(inner) start(launchData, responseCallback)¶

Starts the session.

Parameters¶

NameTypeDescription
launchDataObjectContains the type and value of the ICA
responseCallbackresponseCallbackCallback that handles the response.

Properties¶

Google Chrome Citrix Workspace App

NameTypeDescription
launchData.typeStringSpecifies the data type of ICA data. Allowed values are 'json' or 'ini'.
launchData.valueStringICA data to start the session. It should be a JSON object when type is 'json' or a string read from a .ini file when type is 'ini'.

Examples¶

Chrome citrix workspace launcher

Example 1: When ICA data is in JSON format

Citrix Workspace Chrome Microphone

Example 2: When ICA data is in INI format.