since ‎16-07-2018
‎04-08-2020
Theo_Pendle
MVP
Re: Editable template Theo_Pendle - Adobe Experience Manager
Hi @ajinkayk6258253,There are 2 likely reasons why this might be:The responsivegrid is locked.You can unlock it using the lock/unlock button like so:There are no allowed component. Make sure that the responsivegrid has a policy which allows a set of components to be placed inside. The responsivegrid should look like this in Structure mode: Not like this:
116
Views
1
Like
0
Answers
Re: Touch UI component placeholders are not coming after 6.4.8.1 upgrade Theo_Pendle - Adobe Experience Manager
Sorry I don't have a 6.4.8.1 instance ready-to-go. In order to help, I will need the entire HTL file for your component, not just this one line (unless this one line IS the whole HTL?)
287
Views
0
Likes
0
Comments
Re: how to set a Default value inside an Reference compon... Theo_Pendle - Adobe Experience Manager
Hi @samikshaa223429,@Arun_Patidar beat me to the punch 😉 But his answer is correct! One thing to know is that the value is cq:template are set when a component is created. That means if you placed your component on the page, then modified the cq:template values, you would have to remove and add the component again to see the changes, maybe that is your problem? 🙂Other things to look out for:The cq:template child must have the same name as the name of the resource in your data-sly-resource attr...
161
Views
2
Likes
4
Answers
Re: Touch UI component placeholders are not coming after 6.4.8.1 upgrade Theo_Pendle - Adobe Experience Manager
I had a very similar issue recently, can you post your entire component HTL please?
309
Views
0
Likes
0
Comments
Re: Binary to Text Encoding format used in Assets HTTP API ? Theo_Pendle - Adobe Experience Manager
Hi @bsr78033597,I'm not sure what your refereing to. What HTTP request are you using which features binary-to-text encoding?As a general rule, the payload of a response for a GET on an asset is Gzipped.
120
Views
2
Likes
0
Answers
Re: Archetype 22 mvn clean install failing test cases. su... Theo_Pendle - Adobe Experience Manager
Hi @ramaem12,Which tests failed exactly? 
188
Views
0
Likes
0
Answers
Re: Can I publish only certain component edit on a page w... Theo_Pendle - Adobe Experience Manager
HI @cnur24357457,There is no OOTB method of publishing only certain parts of a page. However, your use case seems to fit well with Fragments (either Content Fragments or Experience Fragments).A fragment is a piece of content which can be re-used in any number of pages. It can also be edited and publish independently from a page so it could be used to satisfy your use-case.There are excellent documentations for Content Fragments here: https://docs.adobe.com/content/help/en/experience-manager-64/a...
178
Views
2
Likes
0
Answers
Re: Aem 6.4 how to retrict some page access using sling s... 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 🙂
868
Views
2
Likes
1
Replies
Re: archetype 23 build new aem project failing 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...
231
Views
2
Likes
0
Answers
Re: I have a issue but seems to be due to in a virtual box, c... Theo_Pendle - Adobe Experience Manager
No sorry, still no luck. I even tried on a different device and account... 😕
556
Views
0
Likes
0
Replies
Re: Junit test case - Creating packages 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?
137
Views
0
Likes
0
Comments
Re: Issue with unzip AEM backup 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 ...
192
Views
2
Likes
0
Answers
Re: Package Manager issue with content not getting update... Theo_Pendle - Adobe Experience Manager
Hi @binoyp,As @albinissac and @vaibhavi_235640 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 ...
220
Views
3
Likes
1
Answers
Re: I have a issue but seems to be due to in a virtual box, c... Theo_Pendle - Adobe Experience Manager
I'm getting this on both your link and @sreedobe's:  
720
Views
0
Likes
2
Replies
Re: I have a issue but seems to be due to in a virtual box, c... Theo_Pendle - Adobe Experience Manager
Link is broken 😕 
729
Views
0
Likes
4
Replies
Re: nosampecontent runmode | AEM 6.3.3.3 | admin user not... 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?
241
Views
1
Like
0
Answers
Re: AEM Pattern detector issues 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...
191
Views
2
Likes
0
Answers
Re: Want to save datepicker value to specific format (YY-... 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:
281
Views
4
Likes
1
Answers
Error building AEM Archetype 23 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...
951
Views
5
Likes
7
Replies
AEM: Sling model injection and annotation 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! 🙂
509
Views
4
Likes
1
Replies
Re: tabs creation problem 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 😉
867
Views
2
Likes
1
Replies
Re: AEM MockitoJUnitRunner how to bind WCMUsePojo to test... 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...
268
Views
2
Likes
0
Answers
Re: Unable to move(rename) asset in same folder in AEM 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 🙂
382
Views
2
Likes
0
Answers
Re: Core Component Breadcrumb Title 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 😉
512
Views
0
Likes
0
Comments
Re: Can aem forms add-on package be used for Production? 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.
278
Views
2
Likes
0
Answers
Re: Core Component Breadcrumb Title 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 ...
515
Views
2
Likes
2
Answers
Re: Extending Embed component! 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...
1029
Views
0
Likes
0
Comments
Re: Extending Embed component! Theo_Pendle - Adobe Experience Manager
Hi @jezwn,Could this be the issue? 😅 
1110
Views
1
Like
2
Answers
Re: How to Adapt ContentFragment in tests 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": ...
795
Views
2
Likes
1
Answers
Tutorial - AEM: Extend Core Component models using resource type association and delegation 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
3113
Views
1
Like
1
Replies