gavinbaumanis
06/20/2024, 4:19 AMthis.name = "myApplication"
How do I access this?
I thought it was:
application.name : the key in the application scope is the same as the property in the pseudo-constructor of Application.cfc.
And dumping getApplicationSettings() : seemingly agrees with me. (see screenshot)
But when I dump the application scope there is NOT a "name" key.
If I try to output application.name I get an exception that the key NAME does not exist.
Dumping the application scope shows that the value I set in Application.cfc as this.name is available to me in the applicationname key, instead.
Has it always been application.applicationName?
Thanks!Bill Nourse
06/20/2024, 4:30 AMBill Nourse
06/20/2024, 4:31 AMBill Nourse
06/20/2024, 4:33 AMRyan Albrecht
06/20/2024, 12:26 PMapplication.applicationName
There is also a function called getApplicationMetadata() which can be used to retrieve all the settings specified in application.cfc