since ‎03-05-2013
‎19-11-2020
Aryan12345
Level 2
Re: AEM 6.4 Quickstart Jar file Not Working
Avatar

shyamr2b1

shyamr2b1
- Adobe Experience Manager
This really worked for me, Thank you

Views

152

Likes

0

Replies

0
Re: core components 2.11.1 in archetype 23
Avatar

Theo_Pendle

MVP

Theo_Pendle
- Adobe Experience Manager
Hi @Aryan12345,Could the issue be caused by the way you fetch your artifacts? What version of core components were you using before? Since v2.7.0, the core components artifacts are no longer available on the Adobe Public repo, as you can see here: https://repo.adobe.com/nexus/content/groups/public/com/adobe/cq/core.wcm.components.core/However, based on your error message, it seems like you are still trying to use the public Adobe repo. Instead, you should be fetching them from Maven Central. You...

Views

323

Likes

2

Replies

0
Re: Difference between different types of resource resolvers
Avatar

Jörg_Hoh

Employee

Total Posts

3.1K

Likes

1.1K

Correct Reply

1.1K
Jörg_Hoh
- Adobe Experience Manager
I don't understand what you mean with "Are these three not supposed to be the same?". Yes, from a java perspective it's always an instance of a ResourceResolver. From the permissions attached to the resourceResolver it depends. In case 1 the permissions are implicitly clear, as you are using an admin session. In case 2 and 3 the permissions attached to the session can be managed externally and explicitly.

Views

1.2K

Likes

0

Replies

0
Re: Sling filter - restricting scope based on path and re...
Avatar

Basavaraj_K

Basavaraj_K
- Adobe Experience Manager
You can restrict request scope by the below filter patterns.@component(service = { Filter.class },immediate = true, property = {"osgi.http.whiteboard.filter.pattern=/content/*","osgi.http.whiteboard.context.select=(osgi.http.whiteboard.context.name=*)","osgi.http.whiteboard.context.path=/content","osgi.http.whiteboard.servlet.pattern=/content/*",})You can try out the above filter annotations.

Views

888

Like

1

Replies

0
Re: @Reference for configuration factory service
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
Did not work for me.I did the followingService code (in the first bundle)public interface GodaDataServiceFactory { List getData();}Service Impl Code (Another bundle - Second bundle, Note its a factory)@Component( service = GodaDataServiceFactory.class, factory = "GodaDataServiceFactory", configurationPolicy = ConfigurationPolicy.REQUIRE)@Designate(ocd = GodaDataServiceFactoryConfig.class, factory = true)public class GodaDataServiceFactoryJcrImpl implements GodaDataServiceFactory { private static...

Views

1.9K

Likes

0

Replies

0
Re: Static Template on the ADOBE AEM 6.4
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
I realized that yesterday. Stupid me.

Views

2.3K

Likes

0

Replies

0
Re: Model's adaptable is request - bug with @Default
Avatar

Arun_Patidar

MVP

Total Posts

3.1K

Likes

1.2K

Correct Reply

884
Arun_Patidar
- Adobe Experience Manager
I think when you adapt as request, the dialog field is not consider as adaptable for request type and thats why it is taking default but If you can try something like below, not sure I am just guessing.You can use @ValueMapValue without via@ValueMapValueinjectionStrategy, name and viavaluemapInjects a ValueMap value. If via is not set, it will automatically take resource if the adaptable is the SlingHttpServletRequest. If name is not set the name is derived from the method/field name.@ValueMapVa...

Views

2.0K

Likes

0

Replies

0
Re: Sling model two adapters, adapt problems
Avatar

Feike_Visser1

Employee

Feike_Visser1
- Adobe Experience Manager
here you see the source code, first it tries via request and then resource:sling-org-apache-sling-scripting-sightly-models-provider/SlingModelsUseProvider.java at master · apache/sling-org-apache…

Views

2.3K

Likes

0

Replies

0
Re: The ADOBE MAVEN REPO IS DOWN
Avatar

paulg39377191

paulg39377191
- Adobe Experience Manager
FYI -- We just rec'd this as the root cause of the issue:Root Cause : The original issue appeared to be with NGINX web-server which had to be restarted to fix the issue however the root cause of the repeated downtime was due to expired certificates causing repeated error messages and filled up the disk space on the server.

Views

1.4K

Likes

0

Replies

0
Re: Model classes vs Interfaces
Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008
- Adobe Experience Manager
A lot of your questions are addressed here -- Apache Sling :: Sling Models

Views

1.2K

Likes

0

Replies

0
Re: Archetype 13 command
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
wonderful thanks!

Views

867

Likes

0

Replies

0
Re: Adobe public maven repo is down
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
Thanks it works.

Views

1.2K

Likes

0

Replies

0
Re: Search and limit the depth of search
Avatar

JitendraBansal

JitendraBansal
- Adobe Experience Manager
What Johan has said above is right. If you still want to use search query then you can something like this using xpath query :/jcr:root/content/geometrixx/en/element(*, cq:Page)

Views

646

Likes

0

Replies

0