Deprecated functions

These Application Engine functions are deprecated:

  • OLAPCreateConnection
  • OLAPAttachConnection
  • OLAPCreatePooledConnection
  • RedshiftCreateConnection
  • XMLACreateConnection
  • XMLACreateConnectionTicket
  • SQLCreateConnection
  • SQLCreatePostgreSQLConnection
  • GetGlobalDataSourceConnectionString
Note: These functions will not work or they may not be used in a cloud environment. We also recommend to no longer use these functions in an on-premises environment.

You can use these replacement functions instead:

  • OLAPCreateNamedConnection
  • OLAPAttachNamedConnection
  • OLAPCreatePooledNamedConnection
  • RedshiftCreateNamedConnection
  • XMLACreateNamedConnection
  • SQLCreateNamedConnection
  • SQLCreateNamedSqlServerConnection
  • SQLCreateNamedOracleConnection
  • SQLCreateNamedPostgreSQLConnection

These functions are not supported in any runtime anymore and throw an exception if called:

  • GetCurrentUserId
  • CreateRepositoryConnection
  • OLAPCreateBooleanAttributeTableField(OlapConnection connection, …)
  • OLAPCreateDateAttributeTableField(OlapConnection connection, …)
  • OLAPCreateNumericalAttributeTableField(OlapConnection connection, …)
  • OLAPCreateStringAttributeTableField(OlapConnection connection, …)
Note: The only function that can be used to create RepositoryConnection is now CreateRepositoryConnectionExisting. As for the attribute table field creation functions, use their overloads taking OlapAttributeTable as the first parameter and commit modifications using the OLAPCommitAttributeTable function.