Connection editor can be embedded into iFrame with different parts of UI hidden from users. iFrame URL should be set to {host}/#/app/io/connections/{connection_id}, where {host} is instance host name and {connection_id} is either existing connection ID, or a string new-{connection_type} to create new connection with specified {connection_type}.
There are several query parameters that can be added to configure different parts of the screen and one required parameter used for the authentication:
- token - JWT authentication token that can be acquired through Authentication API (required parameter)
- embedded=true - removes side and top bars
- ioEditorOnly=true - removes the list of connections side bar
- ioName - optional name for the new connection, so that it already set at the start and user doesn't have to enter it (must be URL encoded)
- ioNameDisabled=true - disables connection name input, assuming it is not empty
- ioHeaderHidden=true - completely removes IO editor header, assuming name input is not empty
Comments
0 comments
Article is closed for comments.