Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

koenve
Community profile koenve Level 2
Senior Adobe Consultant
Belgium
9 BADGES
Level 2

Level 2

Learn more
Joined the community 04-07-2017 6:53:01 AM
Online
Top badges earned by koenve
Customize the badges you want to showcase on your profile
Re: Generate JSON response of an AEM Page
Avatar
Establish
Level 2
koenve
Level 2

Likes

12 likes

Total Posts

14 posts

Correct Reply

2 solutions
Top badges earned
Establish
Validate 1
Give Back
Boost 5
Boost 3
View profile
koenve
- Adobe Experience Manager
Hey! I think what you're looking for is the Sling Model Exporter. With it, you can define a Sling Model with the properties you want to expose, that is then available by browsing to your-page.model.json.

Views

54

Like

1

Replies

0
Re: What could cause a ReferenceError ContextHub is not d...
Avatar
Establish
Level 2
koenve
Level 2

Likes

12 likes

Total Posts

14 posts

Correct Reply

2 solutions
Top badges earned
Establish
Validate 1
Give Back
Boost 5
Boost 3
View profile
koenve
- Adobe Experience Manager
Hey! The AEM project archetype creates a page component for you when initialising your project. That page is including the contexthub code in your page. If you’re not using contexthub (and you’re not planning to use it either) you’re safe to remove it from your code. You should find something back under your page component in “customheaderlibs.html”: If you remove this line, the error shouldn’t appear anymore.Hope this helps!Koen

Views

55

Like

1

Replies

0
Re: JCR_OAK AemContext throws exceptions when trying to l...
Avatar
Establish
Level 2
koenve
Level 2

Likes

12 likes

Total Posts

14 posts

Correct Reply

2 solutions
Top badges earned
Establish
Validate 1
Give Back
Boost 5
Boost 3
View profile
koenve
- Adobe Experience Manager
Unfortunately, as we're using a JCR Query (via Session), we need a JCR_OAK AemContext.

Views

71

Likes

0

Replies

0
JCR_OAK AemContext throws exceptions when trying to load content
Avatar
Establish
Level 2
koenve
Level 2

Likes

12 likes

Total Posts

14 posts

Correct Reply

2 solutions
Top badges earned
Establish
Validate 1
Give Back
Boost 5
Boost 3
View profile
koenve
- Adobe Experience Manager
I’m trying to write a unit test for one of my services that does a query as part of the service. As such, I need a JCR_OAK AemContext to be able to test these changes. My unit test roughly looks like below: @ExtendWith(AemContextExtension.class) class MyUnitTest { private static final String PATH = "/content/we-retail/language-masters/en"; // need an OAK context to be able to do queries final AemContext CTX = new AemContext(ResourceResolverType.JCR_OAK); @BeforeEach public void init() { CTX.load...

Views

98

Likes

0

Replies

2
Re: Junit5 Mockito for Acitvate method
Avatar
Establish
Level 2
koenve
Level 2

Likes

12 likes

Total Posts

14 posts

Correct Reply

2 solutions
Top badges earned
Establish
Validate 1
Give Back
Boost 5
Boost 3
View profile
koenve
- Adobe Experience Manager
Nice, that's amazing. I'll check it out for myself too. Thanks!

Views

109

Likes

0

Replies

0
Re: Junit5 Mockito for Acitvate method
Avatar
Establish
Level 2
koenve
Level 2

Likes

12 likes

Total Posts

14 posts

Correct Reply

2 solutions
Top badges earned
Establish
Validate 1
Give Back
Boost 5
Boost 3
View profile
koenve
- Adobe Experience Manager
As pointed out by @Jörg_Hoh , there's an even better way of doing it! Create a map with the properties you want to pass to your serviceMap parameters = new HashMap<>(); parameters.put("my_property","my property");You can then pass this to your context with the registerInjectActivateService method:context.registerInjectActivateService(myService, parameters); _____________________________________Original answer:What you can do is create a mock-implementation of your OSGI configuration interface. p...

Views

160

Like

1

Replies

2
Re: Unable to add custom device groups (emulators) in Tou...
Avatar
Establish
Level 2
koenve
Level 2

Likes

12 likes

Total Posts

14 posts

Correct Reply

2 solutions
Top badges earned
Establish
Validate 1
Give Back
Boost 5
Boost 3
View profile
koenve
- Adobe Experience Manager
Hey! In order to be able to use a custom device group on your page, you need to add it to the cq:deviceGroups property on the root of your website. So say you have a website "my-site" under /content/my-site and a custom device group "my-site-devices" under /etc/mobile/groups/my-site-devices, then you can simple add the cq:deviceGroups property on /content/my-site/jcr:content/cq:deviceGroups. AEM will then pick up your custom group automatically. Hope t

Views

39

Like

1

Replies

0
Re: Dependency on com.day.cq:parent:pom:82 in 6.5.6 uber-jar
Avatar
Establish
Level 2
koenve
Level 2

Likes

12 likes

Total Posts

14 posts

Correct Reply

2 solutions
Top badges earned
Establish
Validate 1
Give Back
Boost 5
Boost 3
View profile
koenve
- Adobe Experience Manager
Hey Created a support case with Adobe customer care, and they pointed out that the way you're referencing the uber jar has changed. As outlined on the SP6 release notes, the new way to include the uber-jar is: com.adobe.aem uber-jar 6.5.6-1.0 Hope this helps! With kind regards Koen

Views

367

Like

1

Replies

0
Re: Configuring Style System for Nested Components
Avatar
Establish
Level 2
koenve
Level 2

Likes

12 likes

Total Posts

14 posts

Correct Reply

2 solutions
Top badges earned
Establish
Validate 1
Give Back
Boost 5
Boost 3
View profile
koenve
- Adobe Experience Manager
From what I've noticed, it looks like the wrapper div is not being generated when including a component. Because of this, the style system cannot add any classes to it. Adding @decoration=true to the data-sly-resource will include the wrapper div (which is important, because otherwise your cq:htmlTag might not be taken into account).

Views

1.7K

Likes

2

Replies

0
Re: Configuring Style System for Nested Components
Avatar
Establish
Level 2
koenve
Level 2

Likes

12 likes

Total Posts

14 posts

Correct Reply

2 solutions
Top badges earned
Establish
Validate 1
Give Back
Boost 5
Boost 3
View profile
koenve
- Adobe Experience Manager
From what I've noticed, it looks like the wrapper div is not being generated when including a component. Because of this, the style system cannot add any classes to it. Adding @decoration=true to the data-sly-resource will include the wrapper div (which is important, because otherwise your cq:htmlTag might not be taken into account).

Views

1.6K

Likes

0

Replies

0
Re: Recompile JSPs not available in AEM 6.5
Avatar
Establish
Level 2
koenve
Level 2

Likes

12 likes

Total Posts

14 posts

Correct Reply

2 solutions
Top badges earned
Establish
Validate 1
Give Back
Boost 5
Boost 3
View profile
koenve
- Adobe Experience Manager
Thanks!

Views

6.4K

Like

1

Replies

0
Recompile JSPs not available in AEM 6.5
Avatar
Establish
Level 2
koenve
Level 2

Likes

12 likes

Total Posts

14 posts

Correct Reply

2 solutions
Top badges earned
Establish
Validate 1
Give Back
Boost 5
Boost 3
View profile
koenve
- Adobe Experience Manager
Some UI issues need a recompilation of the JSPs in order to be resolved (/system/console/slingjsp). However, in AEM 6.5 (tested on an OOTB installation with no additional packages installed) the console with which this is usually done is no longer available. It is not present in the menu, nor is the URL accessible directly.AEM 6.3:AEM 6.5:Is there an other way to recompile the JSPs?Thanks in advance for your feedback!

Views

9.5K

Likes

2

Replies

8
Re: AEM 6.4 /api/screens-dcc/devices/stati WARNING
Avatar
Establish
Level 2
koenve
Level 2

Likes

12 likes

Total Posts

14 posts

Correct Reply

2 solutions
Top badges earned
Establish
Validate 1
Give Back
Boost 5
Boost 3
View profile
koenve
- Adobe Experience Manager
Can confirm this is still an issue in AEM 6.4.3 (still have to check with 6.4.4). Thanks for the workaround though, we'll implement that in the meantime

Views

10.5K

Like

1

Replies

0
Re: Error while replicating few pages in AEM 6.3
Avatar
Establish
Level 2
koenve
Level 2

Likes

12 likes

Total Posts

14 posts

Correct Reply

2 solutions
Top badges earned
Establish
Validate 1
Give Back
Boost 5
Boost 3
View profile
koenve
- Adobe Experience Manager
I created a similar Daycare ticket since we had the same issue, and according to them this is fixed in AEM 6.3 SP1 CFP2.

Views

4.3K

Like

1

Replies

0