Connect | Qlik Cloud Help
Skip to main content Skip to complementary content

Connect

The CONNECT statement is used to define access to a data connection.

Information noteQlik Cloud only supports the LIB CONNECT TO variant. The ODBC CONNECT TO, OLEDB CONNECT TO, and CUSTOM CONNECT TO variants are not supported in Qlik Cloud. For documentation related to variants only supported in Qlik Sense Client-Managed, see Connect.

Syntax:  

LIB CONNECT TO connection

Arguments:  

Arguments
Argument Description
connection

The name of a data connection.

The syntax for a data connection in a space is (space_name):(connection_name).

You can specify a data connection in the current space with the syntax :(connection_name).

If no space is specified, it will look for the connection in the space the application is in. For more information on syntax for spaces, see Connect to data sources in load scripts.

Example 1:  

LIB CONNECT TO 'DataConnection';

The script looks for a connection named DataConnection in the user running the script's personal space.

Example 2:  

LIB CONNECT TO 'Sales:DataConnection'

The script looks for a connection named DataConnection in a space called Sales.

Learn more

 

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!