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
@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'
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.
@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
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
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
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
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$:/
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
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...
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?
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...
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.
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...
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
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.
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
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.
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?
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
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
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 ?
Above mentioned packages are duplicated
Hi Prince,If I look at the example
, 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...
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