Citrix Html5 Receiver



Reference guide for Citrix HTML5 Receiver SDK. Name Type Description; type: String: Specifies the type of action. Type=”redirectUrl” would redirect the tab to the URL specified in value. By default, Receiver for HTML5 is not enabled. In the StoreFront console, on the left, click Receiver for Web. On the bottom right, click Deploy Citrix Receiver. Change the option to Use Receiver for HTML5 if local install fails, and then click OK. To see the installed version of HTML5 Receiver, click the Receiver for Web node on the left.

Type Definitions¶

Citrix Html5 Receiver Review

connectionParams¶

Configuration options to create the session.

Type:¶

  • Object

Properties:¶

NameTypeDescription
connectionParamsObject
Properties
NameTypeAttributesDescription
launchTypeString <optional>
Takes 'newtab' or 'embed' as value. Defaults to 'newtab'.
'newtab' - launches the session in a new tab.
'embed' - Opens the session in an Iframe.
containerObjectSpecifies the ID and the type of container for the session when launchType is embed.
Properties
NameTypeDescription
idStringID of the iframe element to embed the session. Mandatory parameter when launchType is embed.
typeStringType of the element to embed the session. Should be set to 'iframe'.
boundsObject <optional>
Sets a fixed width and height to the session.
Properties
NameTypeDescription
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 iframe element or the tab.
widthNumberWidth of the session specified in pixels. This value will be set only when autoresize is set to false.
heightNumberHeight of the session specified in pixels. This value will be set only when autoresize is set to false.
closeOptionsObject <optional>
Action on disconnecting the session. Defaults to type='close'.
Properties
NameTypeDescription
typeStringSpecifies the type of action.
type=”redirectUrl” would redirect the tab to the URL specified in value.
type=”close” would set the iframe src to 'about:blank' when launchType is 'embed' and closes the tab when launchType is 'newtab'.
valueStringSpecifies the URL to be redirected. When type is set to 'close',this value would be ignored.
showDisconnectAlertbooleanA prompt would be shown to the user to stay/leave the current page when the session is about to disconnect due to the actions like close/reload of the tab.
If the value is set to true then the prompt is displayed otherwise prompt won't be shown.
Default value is true.
preferredLangString <optional>
Specifies the preferred language code to be used inside the session. If the language code specified is either invalid or unsupported then it falls back to 'en'.
Supported language codes : en, de, es, fr, ja, ko, ru, zh, zh-cn, zh-tw
If the value is unspecified then the browser's language code is used.
preferencesObject <optional>
JSON to hide/show toolbar or individual toolbar items, suppressing the FTU, URLRedirection and error dialog.
Refer to the example below.

Example¶

Listener to handle the events.

Parameters:¶

NameTypeDescription
eventObjectObject as appropriate to the eventType registered.

Properties:¶

NameTypeDescription
event.idStringId of the session object.
event.typeStringEvent Type triggered.
event.dataObjectData as appropriate to the event triggered.
onConnection
onConnectionClosed
onURLRedirection
onError

Citrix Html5 Receiver Reviews

Citrix Html5 Receiver

onSessionCreated¶

Change Citrix Html5 To Full Version

Callback having the session object created.

Citrix Receiver Download

Parameters:¶

NameTypeDescription
sessionObjectSessionSession object to interact with the session like register and handle events, start and disconnect.

Citrix Html5 Receiver Free

Example¶