since ‎08-04-2019
‎10-12-2019
Ganesh_Pathak
Level 1
Re: HTL Javascript API Dependencies not working Ganesh_Pathak - Adobe Experience Manager
Thank you Arun. It works now
317
Views
0
Likes
0
Answers
HTL Javascript API Dependencies not working Ganesh_Pathak - Adobe Experience Manager
Hi,I am going by this AEM documentation for adding "Dependencies" in HTL Javascript file. HTL JavaScript Use-API .This is how I am trying to access dependent js file. When I add dependency i.e. MyUtils.js file in my javascript I get below error: org.apache.sling.scripting.sightly.SightlyException: javax.script.ScriptException: Failure running script /apps/social/samples/components/mainmastertemplate/mainmastertemplate.js: Required script resource could not be located: ./MyUtils.js. The caller is...
369
Views
0
Likes
2
Answers and Comments
Re: Handlebars array rendering issue in AEM Ganesh_Pathak - Adobe Experience Manager
Thanks Gaurav for your reply. Could you tell me what library or dependencies it required on client side? If you could show me a sample code then that would be really great.Thanks in advance.
412
Views
0
Likes
0
Answers
Re: Handlebars array rendering issue in AEM Ganesh_Pathak - Adobe Experience Manager
Hi Scott,Thank you for your reply. As per this Adobe documentation Social Component Framework and SCF Handlebars Helpers it seems that AEM does support handlerbars js. But it strange that only iteration mechanism doesn't work properly but all other handlebars features does work.Regards,Ganesh
414
Views
0
Likes
0
Answers
Handlebars array rendering issue in AEM Ganesh_Pathak - Adobe Experience Manager
Hi,I am new to AEM and facing one strange issue with Handlebars js support in AEM. I have created a simple component with .hbs file. Within hbs file I am simply rendering the JSON array using handlerbars iteration mechanism. It does iterate the array but it does not print the actual value of any of its object element.Handlebars code and String arrayResult of the page rendering. It does not print the value of "linkText". However it does print the whole object using {{this}}.I am not sure what's w...
1483
Views
1
Like
6
Answers and Comments
Likes given to
Likes from