Skip to main content
Version: 11.2

The getDataSourceAlias placeholder

In a SQL statement, the getDataSourceAlias placeholder is used to refer to the (USoft-generated) alias of some data source.

Syntax​

${getDataSourceAlias( *data-source* )}

where data-source is the name of the data source you are referring to.

This placeholder is similar to the getThisDataSourceAlias and getMainDataSourceAlias placeholders. Click getMainDataSourceAlias for an example of the use of this type of placeholder within a SQL statement.

::: note

The getDataSourceAlias placeholder only works for (embedded) datasources on the current page of the navigation stack. To access data from datasources of underlying pages you can use host variables.

:::