Hi @Sku4,
Have you tried using ModelFactory.canCreateFromAdaptable() and cast to SlingModel interface?
Refer below example where I have tried to modify your code:
package com.project.core.models;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.apache.sling.api.resource.Resource;
im...
Hi @jayv25585659,
/statfileslevelcontrols how deep into the content path the Dispatcher checks for the .stat file used to validate cached content.
A .stat file is a timestamp marker. When content is activated (published), this file’s timestamp updates, and Dispatcher compares it with the cache file...
Hi @neoz_zilon,
You can register multiple custom sitemap generators for the same page node (like a language root) in AEM using Sling Sitemap. Each one can be tied to a different selector, like sitemap.xml and sitemap-assets.xml. Here's how I usually approach it:
Create separate generatorsBuild two ...
Hi @georhe6,
Given that the business team previously used Salesforce forms directly without any backend integration and the form submissions were handled entirely by Salesforce, the most appropriate and straightforward approach in AEM would be to use the Embed component to include the Salesforce for...
Hi @RekhaRa4,
Can you try below steps:
Run the frontend build manually to see the real cause:cd ui.frontend
npm install
npm run build
This will likely show a more descriptive error like a missing dependency, syntax error, or misconfigured Webpack plugin.
Missing dependencies: Run npm install to ensu...
Hi @sai_charanAr,
Please refer to the similar question here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/sling-dynamic-include-on-aem-cloud/td-p/750977ACS Commons SDI - it does not fully worked in AEM as a Cloud Service because in AEMaaCS, you don’t have direct Dispatc...
Hi @jayv25585659,
Store index definition into the AEM project at ui.apps/src/main/content/jcr_root/_oak_index.For more details refer: https://experienceleague.adobe.com/en/docs/experience-manager-learn/foundation/development/understand-indexing-best-practices#custom-vs-ootb-indexUnfortunately, Adobe...
Hi @VishnuRe3,
Yeah, Netcentric ACL Tool doesn't support conditional rule evaluation based on node properties like jcr:content/visibility. It's limited to path- and node-type-based rules.
If metadata-based filtering is critical for folders, here are a few approaches that come to mind at the moment:
...