Theo_Pendle
Community profile Theo_Pendle MVP
Lead AEM Developer
Luxembourg
27 BADGES
MVP

MVP

Learn more
Joined the community 16-07-2018 12:59:37 PM
Offline
Top badges earned by Theo_Pendle
Customize the badges you want to showcase on your profile
Re: Aem 6.4 how to retrict some page access using sling s...
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
Hi @ashutot1,I agree with @Arun_Patidar that your question lacks details 😕 I'm sorry, I'm sure many people would love to help you, but this is just not enough information to go on. I usually wouldn't answer a question like this but I happen to have already recorded a video for another question which might be useful to you: https://www.youtube.com/watch?v=Pq4kv8MxXUI.If that doesn't help, please describe what you want to do in much more detail so we can lend you a hand 🙂

Views

2.0K

Likes

2

Replies

1
Re: archetype 23 build new aem project failing
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
Hi @sreedobe,Finally I can access your question! 😉Okay so the maven archetype uses Groovy in the last phase of the creation of the project files.To get a dependency in groovy, you use the @Grab annotation. The one that is causing you trouble is on the first line of this file of the archetype: https://github.com/adobe/aem-project-archetype/blob/2f00f638b96853ef3f9041f0bb0fd5c6e739f453/src/main/resources/META-INF/archetype-post-generate.groovyI'll tell you right now that I'm far from being a groo...

Views

1.1K

Likes

2

Replies

0
Re: I have a issue but seems to be due to in a virtual box, c...
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
No sorry, still no luck. I even tried on a different device and account... 😕

Views

1.3K

Likes

0

Replies

0
Re: Junit test case - Creating packages
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
Hi, I would like to help you but reproducing the error locally is going to be very time-consuming. Could you provide a Java class and test that emulate this issue that I can just copy-paste?

Views

310

Likes

0

Replies

0
Re: Issue with unzip AEM backup
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
@sina1819, Firstly, I've never seen this curl command before and I couldn't find any reference to it in documentation 🤔 Can you maybe try to backup via the JMX console? This is decribed in the Backup and Restore documentation for AEM 6.3 here.The command using curl looks like this:curl -u admin:admin -X POST http://localhost:4502/system/console/jmx/com.adobe.granite:type=Repository/op/startBackup/java.lang.String?target=backup.zipHowever, remaining on the subject of your particular use-case: A ...

Views

1.5K

Likes

2

Replies

1
Re: Package Manager issue with content not getting update...
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
Hi @binoyp,As @Albin_Issac and @Vaibhavi have mentioned, please make sure your filter root is set to replace mode.However, if the filter is the cause, you should have the same issues with the autoInstall profiles as you do with installing manually, so at first glance it would seem like that's not the underlying problem.When you install via Package Manager, you can see the list of nodes that is changes (with A, U or D flags to tell you if it was an Add, Update or Delete operation).What are you se...

Views

468

Likes

3

Replies

1
Re: I have a issue but seems to be due to in a virtual box, c...
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
I'm getting this on both your link and @sreedobe's:  

Views

1.5K

Likes

0

Replies

2
Re: I have a issue but seems to be due to in a virtual box, c...
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
Link is broken 😕 

Views

1.5K

Likes

0

Replies

4
Re: nosampecontent runmode | AEM 6.3.3.3 | admin user not...
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
Hello @sujeet_singhr48,A few questions:Is the issue related to the nosamplecontent runmode or to the CFP3? What happens if you have6.3.3.0 with nosamplecontent6.3.3.3 with sample contentJust to confirm, you are talking about an Authoring instance, correct?What are the "symptoms" exactly? Can you add a screenshot or GIF of an attempt to edit the content? For example:Can you select components or not?If so, what is stopping you from editing, do the editing options not appear in the toolbar?

Views

386

Like

1

Replies

0
Re: AEM Pattern detector issues
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
Hello @sonalid49327489,Both @berliant and @vanegi are correct in a way. This pattern detector issue is not meant to be understood as "Your whole AEM instance will commit suicide if you overlay /libs/cq/gui/components/common/wcm/clientlibs/wcm" but more like "Watch out, things have changed in /libs/cq/gui/components/common/wcm/clientlibs/wcm and your overlay may cause a conflict or some errors" 😉Here is a comparison between /libs/cq/gui/components/common/wcm/clientlibs/wcm in 6.3 vs 6.5: If we l...

Views

427

Likes

2

Replies

0
Re: Want to save datepicker value to specific format (YY-...
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
Hi @khamat_bn,Yes, you can provide a format using the valueFormat property. See the docs here: https://helpx.adobe.com/experience-manager/6-4/sites/developing/using/reference-materials/granite-ui/api/jcr_root/libs/granite/ui/components/coral/foundation/form/datepicker/index.htmlHere is an example where I set the format to YYY-MM-DD. The datepicker node:The resulting value saved in the field:

Views

438

Likes

4

Replies

1
Error building AEM Archetype 23
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
Hello all,I had an issue recently when trying to use the latest AEM Maven Archetype (23) for my personal use.ProblemI used the following command (based on the command provided in the README):mvn -B archetype:generate \ -D archetypeGroupId=com.adobe.granite.archetypes \ -D archetypeArtifactId=aem-project-archetype \ -D archetypeVersion=23 \ -D appTitle="My Site" \ -D appId="mysite" \ -D groupId="com.mysite" \ -D frontendModule=general \ -D includeExamples=nIt resulted in the following error:Faile...

Views

1.7K

Likes

6

Replies

7
AEM: Sling model injection and annotation
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
Hello all,In this short article I go over some of the best practices for annotating Sling models, with a particular focus on dependency injection:https://medium.com/@theopendle/aem-sling-model-injection-and-annotation-d01ea4719589It is also a response to a similar article by Dylan Reniers: https://www.digitalum.eu/2020/06/19/deep-diving-into-sling-models-pt2/ Let me know what you think! 🙂

Views

874

Likes

4

Replies

1
Re: tabs creation problem
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
Hi,The first thing that comes to mind is that you are not loading the CSS required to make the component work properly. Please make sure you are leading the Core Component's clientlib (core.wcm.components.tabs.v1) in your clientlib (using the embed property).It's quite difficult to guess better without more information. Maybe push your demo project to GitHub and give us a link? I also recommend that you post as a question next time rather than a discussion 😉

Views

1.2K

Likes

2

Replies

1
Re: AEM MockitoJUnitRunner how to bind WCMUsePojo to test...
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
Hi @srinivas_chann1,Although @Arun_Patidar's answer is correct for what you want to do, I can't help but feel that by the time you've added the dependencies, familiarized yourself with PowerMockito and written all the tests as per the tutorial he gave you (which are is quite a lot of code), it would have been faster to simply migrate from WCMUsePojo to a Sling Model... and at least then you'd be future-proofing your code 🙂 Also, if you're only just writing the unit tests now, that makes me feel...

Views

471

Likes

2

Replies

0
Re: Unable to move(rename) asset in same folder in AEM
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
Hi @saibul,The answer is to install AEM 6.5 SP 5. You can see this issue has been solved by reading the release notes here: https://docs.adobe.com/content/help/en/experience-manager-65/release-notes/service-pack/sp-release-notes.htmlHere is the relevant section:When you use the Move command to rename an Experience Manager Sites page, the page title is not updated (NPR-33264).Hope that helps 🙂

Views

755

Likes

2

Replies

0
Re: Core Component Breadcrumb Title
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
Oh and I should mention: I am using Lombok annotations to implement the delegation pattern. This all might be a bit advanced if you're a beginner, sorry if everything is not 100% clear but please read the tutorial for more detailed explanations 😉

Views

974

Likes

0

Replies

0
Re: Can aem forms add-on package be used for Production?
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
Hi @khannapiyush36,The answer is yes, the AEM Form add-on is absolutely a production-level add-on 🙂 However if you simply want to create Adaptive Forms, you don't need the add-on to do so. The AEM Forms add-on is mostly useful if you want to do advanced form/document/correspondance manipulation.If you want more detailed information, I suggest you reach out to your Adobe sales contacts and ask them about the licensing details.

Views

394

Likes

2

Replies

0
Re: Core Component Breadcrumb Title
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
Hi @jetate,It depends what you mean by "one title type for one component and another for the other component", because there are many title types. However, let's have a look at why the Navigation Title is used.The breadcrumb model returns a list of NavigationItems (the interface). These are in fact instances of BreadcrumbItemImpl (the class). They in turn fetch the title property (which is used in the rednering HTL script using the following algorithm:@Override public String getTitle() { String ...

Views

979

Likes

2

Replies

4
Re: Extending Embed component!
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
Hi, I'm happy you found the issue 🙂 the scheme is in regex format, not glob. The dot means "any character" and the star means "0 or more times".A great site for testing regex expressions is regex101.com 🙂Also: I from a security perspective I recommend being as restrictive as possible to make sure people can't abuse the URL scheme. I don't recommend using the dot wildcard since that would let people link to http://vimeo.com/whatever-they-want for example 😛 restrict the pattern to allow only vi...

Views

1.2K

Likes

0

Replies

0
Re: Extending Embed component!
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
Hi @jezwn,Could this be the issue? 😅 

Views

1.3K

Like

1

Replies

2
Re: How to Adapt ContentFragment in tests
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
Hello @aliaksandr_hvoz,The issue is likely with your JSON content. In order for the AEMMock resource resolver to correctly identify the your resource as a content fragment, it must satisfy some basic elements of what a content fragment is. This is the same for any JSON-based test resource.One thing that you maybe overlooked is the presence of the metadata child which is necessary to instantiate a ContentFragment. Here is a working example:JSON:{ "dam": { "content-fragment": { "jcr:primaryType": ...

Views

1.5K

Likes

2

Replies

1
Tutorial - AEM: Extend Core Component models using resource type association and delegation
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
Hi everyone,I recently posted this tutorial that will teach you how to re-use and modify the behavior of AEM Core Components by extending their models using the delegation pattern! No need to re-write HTL or write a new model from scratch!https://levelup.gitconnected.com/aem-extend-core-component-models-using-resource-type-association-and-delegation-b8855ed281e2

Views

3.4K

Like

1

Replies

1
Re: Publish environment setup
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
Happy to help 🙂

Views

2.7K

Likes

0

Replies

0
Re: hide insight view in asset console for a particular user
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
Hi @ajinkayk6258253,@raghavc gave you the right answer so you can approve it, but I thought I would a bit more information for context.Here is the ACE (Access Control Entry) that you need to apply:If you are unfamiliar with ACEs, you can find the user interface by going to Tools > Security > Permissions.And here is the before and after:BEFOREAFTER  One more thing: your question is about hiding the insights tab from a particular user but in general its is strongly recommended to use a user to ide...

Views

1.5K

Likes

2

Replies

2
Re: What defines what nodes and properties makeup a compo...
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
Hi @kendalls5216292,You asked about properties of node types and about execution of JSPs. This leaves me a bit confused because the two things are not really related 🤔 I think @Veena_Vikram gave you a good answer about JSPs and sling resolution, here is my answer about node type properties.cq:ComponentDescriptionDefines a CQ component.@prop jcr:title - Title for the component.@prop jcr:description - Description of the component.@node dialog - Primary dialog.@prop dialogPath - Primary dialog pat...

Views

1.6K

Likes

3

Replies

0
Re: Publish environment setup
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
Hi @khamat_bn,@ArpitVarshney's answer covers most of your points, but I'll just add a few of my own:1. Once you've configured your replication agent to replicate to Publisher, you can replicate packages through CRX DE with the following option:2. This depends on your project and your content. If you are joining a project that already has code and content deployed and you're not sure what to replicate, a good place to start is to look in the ui.apps and ui.content module of the maven project. Thi...

Views

2.7K

Likes

3

Replies

2
Re: org.apache.sling.security-1.1.12 dependency for SVG i...
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
Hi @khamat_bn,What version of AEM are you on? Because I just checked the OOTB bundles for 6.5 and 6.3 and in both cases I find this bundle already deployed 🤔

Views

1.8K

Like

1

Replies

1
Re: Can we use the Archetype 22 for AEM version 6.4.2?
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
Hi @ramaem12, The Maven Archetype version has very little to do with the AEM version. The only critical elements are:The uber-jar version: which you can set with the optionAemVersion option (you can see this in the source files here)The repository structure: which changed in version 6.4.0 so you will be fine with a 6.4.2Here are the requirements for the 22 version: RequirementsThe latest version of the archetype has the following requirements:Adobe Experience Manager 6.3.3.0 or higherApache Mave...

Views

2.0K

Likes

3

Replies

0
Re: Foundation component vs Core Component in AEM6.5
Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
- Adobe Experience Manager
Hi @tushaar_srivastava,I'm a bit confused by your question. It sounds like you have some raw HTML you want to include in a page, but this have nothing to do with an iframe 🤔An iframe lets you open a window towards another web page, with HTML, JS, CSS and everything running inside the iframe.A HTML snippet just injects a bit of HTML into your current page's DOM.These are two very different things, so watch out! 😉However, since you mentioned a HTML in your DAM, this is my solution to extend the ...

Views

2.5K

Likes

3

Replies

1