Highlighted

Where does AEM stored compiled Handlebar files

karansheel

11-12-2018

I'm working on AEM 6.2 , having some error in handlebars file. Can anyone tell where it store compiled .hbs file like for sightly & jsp it's in data folder of FSClassLoader bundle. What's the location for Handlebar scripts ?

Replies

Highlighted

Rahul_Bhardwaj

Employee

13-12-2018

karansheel​ - This question is incomplete and doesn't provide much info about the AEM component, you facing the issue with.
While asking questions, please share the background of your problem as well, so that it can be routed to the correct team.

It's always a good idea to share as much information as possible while asking a question on forums so that others too can benefit from it.

Highlighted

karansheel

17-12-2018

Hi Rahul_Bhardwaj​,

I overlay entry_topic component. Path is '/libs/social/journal/components/hbs/entry_topic' after overlay path is '/apps/social/journal/components/hbs/entry_topic'.

Kindly let me know if any other info is required.

Thanks,

Karan

Highlighted

Rahul_Bhardwaj

Employee

17-12-2018

As for -

"What's the location for Handlebar scripts ?"
The location of entry_topic.hbs is "/libs/social/journal/components/hbs/entry_topic/entry_topic.hbs"

As for -

"Can anyone tell where it store compiled .hbs file like for sightly & jsp it's in data folder of FSClassLoader bundle. "

We don't store compiled hbs files. We use a handlebar scripting engine for resolving handlebars and that's an internal logic.