Hi @kattakiran1990 In Sling servlet you can use below code and try Model model =resourceResolver.adaptTo(model.class) then u use the getter method as you need. RegardsManikantha R
Hi, There are 2 ways we can register our servlet by using path and resoureType.AEM suggests always try to use resourceType registering servlet. Can any one explain which Scenario is not achieved through resourceType then we we need to go to Path.
Hi Team, This is way where i am getting child resourceResource resource=componentResource.getChild("customerDetals"); But how i can use @Childresource annoattaon in this scenario. RegardsManikantha R
Hi Team, I have to create Multifield for that i will use SlingModel.Now how i can use @childresource to get the resource in sling model.If any one create done multifield with child resource annotation plz share the code it will be useful for me to understand. RegardsManikantha R
Its Fixed i have used below format of to create the Project mvn -B archetype:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=26 -D appTitle="My Project" -D appId="myproject" -D groupId="com.myproject.aem" -D artifactId="myproject-aem-projec...
Hi team, I Know cq:allowedTemplates property are used in editable templates site level to make list of allowed template to create page but i want to know what is use of remailing below properties like allowedPathsallowedParentsallowedChilderns please explain how we can use this in Editable templated...
Hi, I have create one OSGi Configuration in that i have 3 FieldsI need 3rd Field as multifield how we can make Field as multifield in OSGI Configuration.
Hi,i have written some ecma script for participant step in workflow.But i am not able to get that script in Participan step below is scren shot Can any one guide me whether i have done in correct manner ecma script for let me know if any information is needed from my end
Hi, I have two components in my page and remaining all are static content now i need to cache that page i thought of using Sling dynamic include but some people are suggesting like there is some drawback of Sling Dynamic include (SDI) but i am not getting what is main drawback of using SDI.If any ...