Where does AEM stored compiled Handlebar files

Avatar

Avatar

karansheel

Avatar

karansheel

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

Avatar

Avatar

Rahul_Bhardwaj

Employee

Avatar

Rahul_Bhardwaj

Employee

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.

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

14-12-2018

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

Avatar

Avatar

karansheel

Avatar

karansheel

karansheel

17-12-2018

i'm extending OOTB AEM component of SCF framework.

Avatar

Avatar

Rahul_Bhardwaj

Employee

Avatar

Rahul_Bhardwaj

Employee

Rahul_Bhardwaj
Employee

17-12-2018

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

Avatar

Avatar

karansheel

Avatar

karansheel

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

Avatar

Avatar

Rahul_Bhardwaj

Employee

Avatar

Rahul_Bhardwaj

Employee

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.