Hi All I have one question, i need to migrate a webpage in magnolia that uses a predefined template functions for example:
cmsfn.contentByPath
cmsfn.link
restfn.call
searchfn.search
Somebody know if in AEM 6.5 exist similiar functions?
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @jlorenzo1, AEM is not providing any equivalent to template functions from Magnolia. There are some global objects and EL that are available in HTL, please see details under [1] & [2]. I think you could achieve some of the similar results using combination of those 2 (global objects and EL). Please be aware that AEM development approach is a bit different than Magnolia, there is no something like light development. All your logic should be kept in OSGi components/services and sling models.
[1] - https://experienceleague.adobe.com/docs/experience-manager-htl/using/htl/global-objects.html?lang=en
Hi @jlorenzo1, AEM is not providing any equivalent to template functions from Magnolia. There are some global objects and EL that are available in HTL, please see details under [1] & [2]. I think you could achieve some of the similar results using combination of those 2 (global objects and EL). Please be aware that AEM development approach is a bit different than Magnolia, there is no something like light development. All your logic should be kept in OSGi components/services and sling models.
[1] - https://experienceleague.adobe.com/docs/experience-manager-htl/using/htl/global-objects.html?lang=en