Hi, I was going through this article https://sling.apache.org/documentation/bundles/models.html#field-injection to understand models in aem.How does the injection of values really work? The documentation says that : In this case, a property named propertyName will be looked up from the Resource (af...
Hi, I resolved it by adding a bind method:@Component(
reference = {
@Reference(
name = wknd-examples-statistics,
service = ServiceUserMapped.class,
target = "(subServiceName=wknd-examples-statistics)",
...
Hi @sherinregi , Thank you for your response.What is ServiceUserMapped.clreplaced? I cannot resolve that on my IDE nor can I find references to it.This is what I tried:ServiceUserMapped serviceUserMapped = Mockito.mock(ServiceUserMapped.class);context.registerService(ServiceUserMapped.class,serviceU...
Hi,I followed this AEM tutorial https://experienceleague.adobe.com/docs/experience-manager-learn/cloud-service/developing/advanced/service-users.html?lang=ento set up a service class that loads once service user object is available. @Component(
reference = {
@Reference(
...