While adding ContextHub to AEM site could see below errors
to
- Uncaught TypeError: Cannot read property 'extend' of undefined'
- Uncaught TypeError: window.injectContextHubUI is not a function
<sly data-sly-resource="${'contexthub' @ resourceType='granite/contexthub/components/contexthub'}"/>
to
!--/* Include Context Hub */-->
<sly data-sly-call="${clientlib.js @ categories='granite.utils'}"/>
<sly data-sly-resource="${'contexthub' @ resourceType='granite/contexthub/components/contexthub'}"/>
<sly data-sly-call="${clientlib.js @ categories='granite.utils'}"/>
<sly data-sly-resource="${'contexthub' @ resourceType='granite/contexthub/components/contexthub'}"/>
Click here to check how to setup ContextHub in AEM.
No comments :
Post a Comment