since ‎18-07-2013
‎05-07-2020
karanmahi
Level 3
After code deployment to AEM, jcr:primaryType gets converted to nt:folder from sling:folder karanmahi - Adobe Experience Manager
We have this structure, /conf//settings/wcm. In source code we have jcr:primaryType: slingFolder for and for settings folder. But when this code gets deployed to AEM, jcr:primaryType is getting converted to nt:folder instead of sling:folder. Any pointers will be highly appreciated.
456
Views
0
Likes
3
Answers and Comments
Re: AEM 6.5: experience fragments linking Issue karanmahi - Adobe Experience Manager
@jbrar@Rajy- I am seeing the same issue in AEM 6.5. Did you get the solution to your issue as mentioned below- 1. If I have an 'en_US' page, with the Experience Fragment component, where I have reference to en_US fragment.2. If I create a livecopy (es_ES) then the live copy experience fragment component should have reference to 'es_ES' fragment but it is not the case I'm still seeing 'en_US fragment'
792
Views
0
Likes
0
Comments
Re: Live copies of experience fragment - AEM 6.5 karanmahi - Adobe Experience Manager
Hi Arun, Thanks for the inputs.Another thing is when we use the XF component on the en content page, MSM creates the live copy in es language, But experience fragment path is not translated to match relative to es language. Basically, the inclusion of the experience fragment on the page does not update to match the language of the page.
1285
Views
0
Likes
0
Comments
Re: Live copies of experience fragment - AEM 6.5 karanmahi - Adobe Experience Manager
@surabhikatiyar In your #6, you are using "Create Language Copy" option, but that creates the new language copy in fr, but the problem is this is not the live copy relationship. This is just a one-time language copy. When we make any changes to en XF, it will not be translated to fr. I want a live copy relationship i.e so that if I change en XF, fr XF should also be updated. Another thing is when we use the XF component on the en content page, MSM creates the live copy in es language, But experi...
916
Views
0
Likes
0
Comments
Live copies of experience fragment - AEM 6.5 karanmahi - Adobe Experience Manager
We are on AEM 6.5.3. I have an experience fragment in the "en" language. And I want to create a live copy of this XF in the es languages. When I select experience fragment and click on create, I see an option to create variation-as live copy, but that creates the live copy in the same hierarchy. But my requirement is to create the live copy under “es” language. I don’t want to use the language copy option because there will not be any relationship b/w en XF and es XF. I want the live copy relati...
2004
Views
0
Likes
7
Answers and Comments
Delete multiple pages in AEM 6.3 following a naming pattern karanmahi - Adobe Experience Manager
In AEM content hierarchy, I have a folder in which I have 4000 pages. And out of these pages, 3700 pages are following the naming convention of xyz-1, xyz-2, xyz-3..uptill xyz-3700 like this. I have a requirement to delete these pages starting with "xyz" but not the other 300 pages which have different names. I have tried below command with *, but this doesn’t work. Can anybody help me here to get this resolved? curl -F":operation=delete" -F":applyTo=/content/foo/bar/xyz*" http://localhost:4502 ...
2778
Views
2
Likes
3
Answers and Comments
Re: AEM - Auto update Year in Copyright in the Footer karanmahi - Adobe Experience Manager
I thought the same, but I am seeing two issues -1. Currently, We are authoring the "Copyright © 2017 ARCT Corporation" in Rich Text editor, which I am displaying in HTML. Now, how to break this string and append year(from java class) as you mentioned because "year" is in-between the String, after "Copyright © "? 2. And how do we ensure that that author can author rest of the part in Rich text editor except year?
3869
Views
0
Likes
1
Replies
AEM - Auto update Year in Copyright in the Footer karanmahi - Adobe Experience Manager
In AEM content page, there is a footer which shows the copyright with “year”. We want to auto-update copyright “Year”. Currently, we are authoring footer year in the authoring dialog. I know we can achieve on the client side, is there any way to achieve the same on the AEM server side?
3973
Views
0
Likes
3
Replies
Re: AEM Url shortening functionality karanmahi - Adobe Experience Manager
thanks Joerg.Does sling mapping and Sling Resource Resolver Factory both support url shortening both ways (inbound and outbound). I mean in the browser and in tag?What is the format to provide two-way mapping in Sling Resource Resolver Factory? I tried with colon ":", but it didn't work with /content/site/en/rps.html$:/
1875
Views
0
Likes
0
Answers
Re: AEM Url shortening functionality karanmahi - Adobe Experience Manager
Thanks, @vijkumar. I am more interested in knowing in which scenarios, I should use other options as mentioned in the original ticket. I mean what is the pros and cons of using each option.
1960
Views
0
Likes
0
Answers
AEM Url shortening functionality karanmahi - Adobe Experience Manager
I need to implement url shortening functionality in two ways. First, I don’t want to show site structure (/content/site/en/..) in browser url. Secondly, url on component should show only short url instead of complete page hierarchy (not starting with /content). I have seen multiple forums, but got confused between which one to use when? Can somebody please explain the use of these? Sling Mappings – under etc/mapApache Sling Resource Resolver Factory – I do see (Url Mapping and Mapping location properties there) - why are both configured?Apache 2 mod rewrite Virtual Host Re-direction
3270
Views
0
Likes
5
Answers and Comments
Change runmode of existing AEM instance karanmahi - Adobe Experience Manager
My AEM instance which was running on 4502 port with this file name (cq-quickstart-author-p4502.jar). So, it had the "author" run mode which is expected. But, for testing, now I want to change the run mode to [publish, foo]. So, I am using the below command. java -Xmx512m -jar cq-quickstart-p4502.jar -Dsling.run.modes=publish,fooWhen I access http://localhost:4502/system/console/status-slingsettings​, I am seeing run mode as [author, foo], but not [publish, foo]. Can anybody please let me know ho...
1708
Views
0
Likes
2
Answers and Comments
Re: AEM 6.3 - Live-copy page deleted accidentally - how to get back? karanmahi - Adobe Experience Manager
Actually, my question is, if I deleted that page accidentally or detached the page accidentally, then how to get that live copy page?I know detach option permanently removes the live relationship between a live copy and its source/blueprint page, and therefore I deleted the page. So, now how to get that live copy page back?
7125
Views
0
Likes
1
Replies
Re: AEM 6.3 - Live-copy page deleted accidentally - how to get back? karanmahi - Adobe Experience Manager
Hi Ravi - I was aware of this option, but I am more curious to know if there is any other way like the roll out the same page again OR synchronize OR create live copy again. Something similar to this. I don't want to fetch the page from the re-Store option.Consider the scenario - Let's say, I had a live copy page, I detached the relationship and then deleted the page. Now, if I restore the page as mentioned by you, I would get the page back, but I won't get the live relationship between the blue...
7125
Views
0
Likes
3
Replies
AEM 6.3 - Live-copy page deleted accidentally - how to get back? karanmahi - Adobe Experience Manager
In AEM 6.3, I had a live-copy page which was in sync with the blueprint. Somehow I accidentally deleted that live-copy page. How can I get the same live copy page back?
7325
Views
1
Like
6
Replies
Re: AEM touch ui dialog 6.3 - Validation Error Icon is overlapping Description icon karanmahi - Adobe Experience Manager
Hi Arun - Can we do little change in above css such that error icon comes on left side of description icon. The reason I am saying is when we open the dialog, description icon is aligned on the little left which doesn't make the dialog look good. So, what I would want is if we can display the error message icon to the left of the descrption icon. That way description icon will look the same as OOTB and if any error happens, then that would be shown on left side. I mean swapping of icon. But abov...
7787
Views
0
Likes
1
Replies
Re: AEM touch ui dialog 6.3 - Validation Error Icon is overlapping Description icon karanmahi - Adobe Experience Manager
Hi Arun - It's not working. Actually, error message is getting hidden. For example, if the field is mandatory, and if there is no fieldDescription, then an error message will be shown. Look at the "Title" field where we see the error. But if we put the above css, then error message is not shown. Look at the "Title1" field. This is a big issue.Also, description icon seems to be aligned on the little left which doesn't make the dialog look good. Is there anything we can do? This is not much import...
7787
Views
0
Likes
4
Replies
Re: In AEM 6.3, how to re-use component content on multiple pages karanmahi - Adobe Experience Manager
I understand Content Fragments and Experience Fragments and custom implementation too. Can you please put some more context on below too. If possible please share some examples.By ReferenceBy inheritance
1446
Views
0
Likes
0
Answers
Re: In AEM 6.3, how to re-use component content on multiple pages karanmahi - Adobe Experience Manager
Hi Arun - I don't want to use the experience fragment. Is there any other way?
1453
Views
0
Likes
0
Answers
In AEM 6.3, how to re-use component content on multiple pages karanmahi - Adobe Experience Manager
In AEM 6.3, I have "List component" which has already been authored on the page. Is there any way we can use the same component content on some other page without dragging-and-dropping the List component again. Basically, we would like to re-use the same component data on other pages without re-authoring just to save time and effort. Any pointers will be highly appreciated.
2597
Views
0
Likes
6
Answers and Comments
Re: AEM touch ui dialog 6.3 - Validation Error Icon is overlapping Description icon karanmahi - Adobe Experience Manager
Thanks, Arun. It works. Basically, it is shifting the description icon to the left side which should not cause any issue.
7787
Views
0
Likes
5
Replies
Re: AEM touch ui dialog 6.3 - Validation Error Icon is overlapping Description icon karanmahi - Adobe Experience Manager
Hi Ravi - This issue in generic in nature for all the different types of dialog fields like text, path browser etc. We are looking for a generic solution. Maybe adding some properties at the cq: dialog level, or something else.
7787
Views
0
Likes
8
Replies
AEM touch ui dialog 6.3 - Validation Error Icon is overlapping Description icon karanmahi - Adobe Experience Manager
I have a title component(touch-ui) in my project and made the title field mandatory by setting required(boolean) – true at the title property level. Now, when we save the dialog with an empty title field, validation fires up, but the triangular icon overlaps the description icon in the component. See screenshots below. Is there any way to resolve this?Seeing the same behavior in We.retail title component.
8712
Views
0
Likes
10
Replies
Re: AEM Run modes – which OSGI config gets picked-up? karanmahi - Adobe Experience Manager
Hi Ravi,I got the final run-mode mode from this url - http://localhost:4502/system/console/status-slingsettings which is [dev-est, dev, crx3, author]. Still, I don't understand why config.author OSGI is getting picked up before config.dev. I thought config.dev should take precedence over config.author but that’s not the case. My simple question is if I have only two run modes config.author and config.dev, which one should be picked up first and why?
1312
Views
0
Likes
0
Answers
AEM Run modes – which OSGI config gets picked-up? karanmahi - Adobe Experience Manager
I have an osgi config which exists both in config.author and config.dev. And here is the run mode of my AEM server Run Modes = [dev-est, dev, crx3, author]. I am noticing that config.author OSGI is getting picked up before config.dev. I thought config.dev should take precedence over config.author but that’s not the case. When I delete config.author config, then only config.dev gets picked up. Can somebody explain this, please?Run Modes = [dev-est, dev, crx3, author].config.authorconfig.dev
2505
Views
0
Likes
5
Answers and Comments
Re: In Maven, including dependency via <dependency> OR importing the package inside <Import-Package>. Which one of the two should be used? karanmahi - Adobe Experience Manager
my only point is whatever we include in tag, Can't we just include a dependency for that tag like below. What is the harm? what is the benefit of tag providing over a dependency tag? javax.inject javax.inject 1 org.xbc.web fullton-project.core provided
1982
Views
0
Likes
0
Answers
Re: In Maven, including dependency via <dependency> OR importing the package inside <Import-Package>. Which one of the two should be used? karanmahi - Adobe Experience Manager
Hi Hemant - I have gone through the link. But don't understand why javax.inject, is defined under the import-package tag and in dependency-tag both.
1983
Views
0
Likes
0
Answers
In Maven, including dependency via <dependency> OR importing the package inside <Import-Package>. Which one of the two should be used? karanmahi - Adobe Experience Manager
In Maven, including dependency via OR importing the package inside . Which one of the two should be used? 1. In my project core pom.xml, there is javax.inject;version=0.0.0 and also following dependency. I am not clear why both are being used? I mean, if we are already including the dependency via below-mentioned method, then why do we need to use the same inside ? javax.inject;version=0.0.0, org.xbc.web.core.service;version=0.0.0, * org.xbc.core Above mentioned packages are duplicated i...
6734
Views
0
Likes
6
Answers and Comments
Re: Dependency Management in AEM project POMs karanmahi - Adobe Experience Manager
Hi Prince,If I look at the example https://howtodoinjava.com/maven/maven-parent-child-pom-example/#parent-child , parent pom has two dependencies (junit and spring-core). And child pom has spring-security (assuming that it will inherit other two from parent). This makes sense to me because child pom is not defining the dependencies again.But my question still remains - In AEM core/pom.xml, I still see the same dependency defined without version no. I mean, parent pom has same dependencies with v...
1456
Views
1
Like
0
Answers
Dependency Management in AEM project POMs karanmahi - Adobe Experience Manager
In AEM poms I have noticed that dependency name and versions are defined in the parent pom and child poms only have dependencies defined and it is not necessary to specify a version in child poms, as the version is managed at the Parent pom. So, I am not clear on following. 1. If we already have dependencies defined in the parent pom with version no, then why do we need to define the same dependency back in child pom.xml (core/pom.xml in case of AEM). Why can't maven look for dependencies in par...
3262
Views
2
Likes
4
Answers and Comments
Likes given to