I'm looking into into leveraging Experience Fragments in AEM 6.4 for a
multisite. However, the OOTB search uses a PATH to search for keywords,
since the actual /content/site/.. tree will not contain the actual
content BUT the references to the Experience Fragments, the search no
longer returns results for content. If we include
/content/experience-fragment as the search path then it returns the
actual XF path itself which is not desired. What would be the
recommendation for an OOTB Search implem...
You will have to parse the User-Agent Header to identify the browser
name. You can chose to use a java java library instead of writing this
block of logic yourself since you need to actively maintain it.
We are maintaining site related json files in repo and deploying this to
AEM as maven package. This uploads json files as nt:files to DAM. We
don't want to maintain these files as assets in repo and want to keep
them as simple json files. So, is there a way to automatically convert
these nt:files to dam:assets OOTB ?
Even though the Multi Resource Support is activated for the workflow,
once I select multiple assets from the dam and trigger the workflow it
launches n instances OR it throws an alert if selected assets exceed 15.
How to enable multi resource support for DAM asset or entire asset
folder ? Or is there any other workaround to trigger a single workflow
instance for multiple resources.
I tried using the OOTB AEM 6.4 Navigation component (v1) , but i
observed a confusing behavior of this component :I added this component
on page : /content/we-retail/us/en/men.html and authored the navigation
root path as : /content/we-retail/ca/en. But the resultant navigation
pages are taken from /content/we-retail/us/en/ instead of
/content/we-retail/ca/en.Any reason for this behavior?Thanks
Thanks Jörg !I tried implementing a Custom Filter to achieve this
functionality , but I am facing an issue : Request and Response objects
are of type
they can not be cast to SlingHttpServletRequest and this request type is
not an instance of SlingHttpServletRequest.I tried ranking this custom
filter higher than the CQ i18n filter but that is not
helping.@Service(Servlet.class)@SlingFilter( label = "Custom Redirect
We have locale specific pages and we are using sling:alias property to
have language specific page name . But the problem is both the urls are
publicly accessible : 1) with sling:alias name 2) with original page
name.Example : page is /content/brand/de/home.html -> This home page
node has been set a sling:alias property of "zuhause"Ideally end user
should be seeing the page URL : /content/brand/de/zuhause.htmlBut
currently both the urls are serving the content :
/content/brand/de/home.html and /...
Yes both the components are on same page and hence same template.But ,
on floating-brochure component , currentStyle.image is giving the path
of the image stored. But if we try to use currentStyle.image in footer
component it is giving null.This is primarily because , on
floating-brochure component value of currentStyle is
/etc/design/default/jcr:content/page/floating-brochure , but on footer
component value of currentStyle is
/etc/design/default/jcr:content/page/footer (but footer node is not
For example , I have a floating-brochure component with a design dialog
and i want to use properties stored under this component(for example
image path ) in another component say Footer (Both in same
style).Hierarchy of /etc/design/default is as below :currentStyle.image
works only in the floating-brochure component not in Footer component.
How to access this value in Footer component ?
I am using the dynamic media to render images in AEM 6.2. However when I
try to render a transparent image using Dynamic Media , the resulting
image is turned to a normal image with white background.For Example ,
content path in DAM : /content/dam/silversea-com/19.pngRendering using
dynamic media with this path :
/is/image/content/dam/silversea-com/19.png for that matter )Any idea why
this is occurring ?ThanksSachin