Defining the Access URL
To set up the Mobile Web client, you define an access URL using any of the following options:
Direct Interaction Link: Directs the user to a specific Interaction.
Interactions List Link: Directs the user to a list of Interactions.
Direct Interaction Link
This link gets a specific published and approved Interaction. The structure of the link is:
[XPlatformServerURL]/mobileweb?interaction={interactionId}&appkey={appkey} &accountId={accountId}&theme={theme swatch letter}&allowLocation=true
allowLocation
Parameter | Description/Notes | Mandatory |
---|---|---|
interaction | The identifier (from the Designer) of the Interaction to be retrieved. | Yes |
appkey | The application key for the Mobile Self Service application. | Yes |
accountId | The identifier for the customer’s account with Uniphore. | Yes |
theme | The swatch letter of the theme to be used. By default, theme b is used. | No |
themeUrl | A URL parameter that points to the location of the modified jma-theme.css file. For more information, click here. | No |
Indicates whether the browser sends the location of the user, so Read Only variables such as Latitude and Longitude may be populated. By default, this parameter is not sent (user location is not revealed). When the allowLocation parameter is set to true, a popup will open when the Interaction is started that prompts the user to allow access to the location. | No |
For example:
http://10.90.18.72:8080/mobileweb?interaction=1374387336331-6601d54db1bd76faac36f2778e1-20d4&appkey=524bd189f7a42c49c5dd601a&accountId=12345678&theme=f&allowLocation=true
Interactions List Link
This link gets the list of published and approved Interactions for a given account. The user can then select an Interaction from the list, and run it.
The structure of the link is:
[host:port]/mobileweb/?appkey={appkey}&accountId={accountId} &theme={theme swatch letter}&baseUrl={XPlatformServerURL}
Parameter | Description/Notes | Mandatory |
---|---|---|
appkey | The application key for the Mobile Web application. | Yes |
accountId | The identifier for the customer’s account with Uniphore. | Yes |
theme | The swatch letter of the theme to be used. By default, Theme B is used. | No |
themeUrl | A URL parameter that points to the location of the modified jma-theme.css file. For more information, click here. | No |
jacadaCss | A URL parameter that points to the location of the modified jacada.css file. For more information, click here. | No |
jsExtension | A URL parameter that points to the location of the modified extension.js file. For more information, click here. | No |
baseUrl | If the URL of the page differs from the URL of the X‑Platform Server, specify the base URL of the X‑Platform Server here. | No |
For example:
https://load.gointeract.io:443/mobileweb/?appkey=366a54be-8e32-41ed-88c8-3d14db6f49cd&accountId=myAccount