AFAIK, you have to take care of NPE from your code, Sling Model won't be doing it.Also, Since you are aware of NPE, putting a check should fix it and performing operation when you have values availableThanks
in AEM 6.3, do we need to always adapt sling models to Resource ? All Sling models written 6.1 project adapts to SlingHttpServletRequest, so do we need to change whole implementation of all Models ? Please suggest - As long you don't need access to the adaptables object (in this case SlingHt...
have a look at this in your log "Could not inject all required fields into class ". When you drag and drop a component, all properties will not present in JCR so that it can be injected by sling model.@Injected fields/methods are assumed to be required. To mark them as optional, use @OptionalTwo sim...
I am not sure if you, but do look at AEM Core Forms Component at aem-core-wcm-components/content/src/content/jcr_root/apps/core/wcm/components/form/container/v1/container at master · Ad… Form Container Component Those are built on Touch UI with Sightly.Thanks
There are the multiple solutions available for such publish sync but are always specific to use case, trying to sum up in short:-1. Reverse replication from publish to author and then author will replicate changes to all publisher2. User sync between publishers - Sling Content Distribution3. UGCThan...
Yes, You can use CRX2OAK for content migration between oak repo also.Quoting from docs- " It can be used to migrate data from older CQ versions based on Apache Jackrabbit 2 to Oak, and it can also be used to copy data between Oak repositories."Thanks
It's just an alternate method to render the content.It might be used to execute the different component scripts or some servlet would be using it.Will recommend you to see basics of sling request processing, something I think every dev should be aware of - > The Basics Thanks
Hey, DataSource gives you have the complete control on to your business logic in JAVA. http://www.adobeaemclub.com/implement-datasource-for-drop-down-using-sightly-aem-6-1/Implement DataSource for drop down using Sightly AEM 6.1 | Adobe AEM Club You can call the APIs from where you are planning to c...
1. Use the above approach 2. Assign administrator group to a system user, but that's not the recommended approach. Should always assign only required permission.Thanks