TM1 Function for TI, DatasourceNameForServer

Sets the name for the data source.

What is the DatasourceNameForServer function?

DatasourceNameForServer sets the name for the data source.

Where can the DatasourceNameForServer function be used?


What is the syntax for DatasourceNameForServer?

DatasourceNameForServer = Name​;

​Name = name of the source​
– For a text file, use the full path​
– For a cube, use the cube name prefaced with ‘local:’​
– For an ODBC, use the source name

A demonstration on how to use DatasourceNameForServer

Use DatasourceNameForServer to force the process to use a specific file as the Data Source.