I want to know if there is any documenation for all the annotations that can be used in Sling Model. I tried to find but didn't get any perfect documentation. For eg: there were annotations like @Named, @ValueMapValue, etc., like the usual ones. But what adaptable class can be used for that and other annotations which can be used were not there.
Solved! Go to Solution.
Views
Replies
Total Likes
Please follow these two blog posts , Sling models explained very well here
AEM Developer Learning : Deep Dive on Sling Models in AEM6.3 : Part-1 (sgaemsolutions.com)
AEM Developer Learning : Deep Dive on Sling Model in AEM 6.3 : Part-2 (sgaemsolutions.com)
hope its helps you.
You can refer aem geeks sling model videos also, just shared one link: https://www.youtube.com/watch?v=PQU7l-2iafw.
It gives you code level idea also.
@nikita24tailor ,
Check working demo code for Sling Model annotations here.
https://github.com/aemgeeks1212/aemgeeks/blob/master/core/src/main/java/com/aem/geeks/core/models/im...
Views
Likes
Replies