...
As Kyvos UI integration is HTTP based, so the scheme in which the two web applications (host and Kyvos) are running plays an important role in integration. The following table explains the results for various combinations of HTTP protocols between Kyvos and the host application.
Host Application protocol | Integrated Kyvos protocol | Result |
---|---|---|
HTTP | HTTP | Kyvos pages can open in the host application as Inline Frame (iframe) element. |
HTTP | HTTPS | Kyvos pages can open in the host application as an iframe. |
HTTPS | HTTPS | Kyvos pages can open in the host application as an iframe. |
HTTPS | HTTP | Kyvos pages can open in a new browser window, but not in an iframe. As this may be a security threat to the secure host application, the browser does not support opening as iframe. |
Browsing Kyvos use cases
The Kyvos web application introduces a URL pattern for all integration-based URL requests.
...
Here, the request parameters are:
Request parameter | Value | Description |
Page | Usecase Name | Name of the Kyvos functionality/use case to open. Allowed values are:
|
name | Entity Name | Name of the entity to open from the host application. For example, the name of the semantic model, dataset, or dashboard, etc. |
id | Entity ID | The ID of the entity to open from the host application. NOTE: Use this parameter if the name is not available. |
folderName | Name of the folder | If the entity to be opened is placed in a folder, then provide the folder name in this parameter. If the entity is not contained within any folder, then ignore this parameter. |
folderId | Folder ID | The ID of the entity containing the folder to open from the host application. NOTE: Use this parameter if the name is not available. |
workbookName | Name of the workbook | Name of the dashboard or worksheet to open from the host application. |
workbookId | Workbook ID | The ID of the workbook to open from the host application. NOTE: Use this parameter if the name is not available. |
<EXT_AUTH_HEADER_ID>
| Authentication token parameter | Value of this parameter is the token(sessionId) received from the successful Kyvos login REST API response. Name of this parameter is defined in kyvosclient.properties. (For more details, please refer user authentication section below in the same document.) |
mode | Mode Name | This parameter is optional. Set this value to the name of the mode(defined in integration.config.json), so that when workbook use case is loaded with the URL, all configuration related to that mode will be applied on the viewer workspace. For example, mode=”VIEW” |
overrideConfig | Config to override Integration.config.json | This parameter is optional. A comma-separated list of properties to override the property in integration.config. For example, header.show:false,usecases.listing:false,header.homeIcon:false. |
actionCode | Action Code | This is an optional parameter. The possible values are:
|
integrationId | Integration identifier | This parameter is optional, possible value is any unique string, that will be used to identify a particular kyvos application in embedded mode. This identifier will be used to map runtime communication between a particular iframe (Kyvos application) and host application, when multiple iframes are there. |
The following figure shows Kyvos folders and workbook listing integrated with the host application.
...
Code Block |
---|
http://BASE_URL/kyvosIntegration.jsp?page=workbooks&actionCode=addWorkbook&folderId=Folder_121548454544444554&sessionId={token}&EXT_AUTH_PARAMETER_VALUE_TYPE=sessionId |
Tip |
---|
TipTips You can also provide mode and overideConfig as a parameter in all the above URLs. For example, to open a sheet with “openSheetMode” defined in integration.config.json, create a URL like: BASE_URL/kyvosIntegration.jsp?page=workbooks&name=SheetDemo&workbookName=IntegrationTesting&mode=openSheetMode&sessionId={token}&EXT_AUTH_PARAMETER_VALUE_TYPE=sessionId |
...