Skip to main content
Tweeted twitter.com/StackTridion/status/809833592323010560
added 195 characters in body
Source Link

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.

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

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.

Source Link

Placeholder values when in Experience manager (DXA)

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