Is there a way to check that you are in Experience Manager from the model/entity in DXA? We want to print out placeholder values if they are not populated from component values only when in XPM mode.
We want to be able to set placeholder values for empty fields when our Editors are in XPM mode. But these placeholders may not appear when they are seeing them outside of XPM mode.
Thanks,
Thomas
As a Clarification:
XPM Mode = When the editor is able to edit the page using Experience manager. It does not equal being on an environment that is capable of Experience manager.