I am not able to create page templates on a fresh install of AEM 6.5. I create the page and go to the Structure section to build the page structure. Nothing loads in the component panel or on the page structure and there are 2 errors in the console.
contexthub:442 Uncaught TypeError: Cannot read property 'externalize' of undefined structure.html:95 Uncaught TypeError: window.injectContextHubUI is not a function
I've also ran into this type of error saying Handlebars can't be found. Any idea what is going on here? This is a fresh install of the AEM jar file, locally.
Solved! Go to Solution.
Hi @grantclevyr How are you creating page template. Are you selecting from existing template type which is page-content and creating a custom page template? Are you able to create page using existing OOB page template that comes along with your archetype deployment?
Are you using contexthub?
If you don't then you can remove the reference of contexthub from clientlibs in your page component and then retry?
@grantclevyr : Just check your template structure in the conf if you are creating the page from your own custom template and template type then There might be some issue in the structure. If you have created custom template then You can refer the below link to cross check your template type and template whether you have created correctly or not.
Step-by-step guide to create dynamic template and type.