I'm using getApplicationMetadata() to dump the app...
# cfml-general
b
I'm using getApplicationMetadata() to dump the application variables, mainly for the application name. However, it's always blank even though I set it in the application.cfc. I know there are some settings in the CF admin that can cause this, but I've changed all of the ones that seem related and am still getting a blank name. Is there somewhere in particular I should be looking?
r
I may be misunderstanding the question, but is the name present when you dump out the application scope?
seems like that key should be there
b
The label is, yes. Just not the value.
r
Is "Enable per Application Settings" enabled under Server Settings in the admin?
b
@Rodney Yes, that is currently checked.
b
Where are you dumping it?
Lucee has a behavior where if you try to access the application from inside of the actual Application.cfc pseudo constructor (which is BEFORE the application is defined), it will give you a fake "empty" application with no name in that context.
b
@bdw429s I'm dumping it in a template in the root of the application. Wow. I'm so fixated on the name that I just realized none of the other values are there either. Here's a screen capture of it.
b
are you sure the text just isn't white and not showing up
try highlighting it
👍 1
Your page CSS seems to be affecting the colors
b
Oh for the love of... @bdw429s You are totally right. It's there in white text. forehead smack Thank you, kind sir.
😁 3
👍 1