Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Where does AEM stored compiled Handlebar files

Avatar

Level 3

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 ?

6 Replies

Avatar

Employee

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.

Avatar

Level 10

Are you using an OOTB AEM component or building your own that uses HandleBars?

Avatar

Level 3

i'm extending OOTB AEM component of SCF framework.

Avatar

Employee

Hi karansheel​ - It's still incomplete. Can you please share which component you are extending?

Avatar

Level 3

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

Avatar

Employee

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.