Hi @Bimmi_Soi Thanks for the suggestion,I tried the approach you have shared, but still getting the null exception on line.
model = resource.adaptTo(modelClass);
Hi All,I coudln't able to adapt the resource to my Sling Model class,getting the error Could not yet find an adapter factory for the model class my_class from adaptable class org.apache.sling.testing.resourceresolver.MockResource.Attaching the Sling models and junit files here.Model Interface
pa...
I am using the latest SDK version of AEM as a cloud service, While adding comments in the workflow, the icon of user is showing as HTML code instead of actual PNG.the permissions of the logged in user is set as administrators.
Instead of using the following sling:resourceType , sling:resourceTypegranite/ui/components/coral/foundation/form/multifieldgranite/ui/components/foundation/form/multifielduse the resourceType : dam/cfm/admin/components/authoring/contenteditor/cfmmultifield