In Coldfusion 9, to get the application data source outside of application.cfc, I used application.getApplicationSettings().datasource .
In Coldfusion 10, getApplicationSettings() been replaced with ApplicationGetMetadata() . So I tried ApplicationGetMetaData().datasource , but the ApplicationGetMetadata() function is currently not working ... (see documentation and comments).
So, how can I get the name of the application data source (this.datasource in application.cfc) outside the application.cfc application in CF10?
coldfusion coldfusion-10
jan
source share