Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

AEM intergration with DTM error.


Level 1

Hey all,

I'm getting the following error:

Satellite: TypeErrror - Cannot read property 'displayName' of null.

displayName is part of the context hub and using ContextHub.getStore("profile").getItem("displayName") in the Console allows me to see the value for displayName.

Where is the issue - AEM and ContextHub or DTM. And what needs to be done to fix it?


1 Reply



This looks like that a rule is fired in DTM while the JS-var is not yet available.