aem

How to do case insensitive search using querybuilder rest api in cq

廉价感情. 提交于 2020-07-11 04:49:06
问题 How to use case insensitive search in Querybuilder REST API in CQ5. This is my query localhost path query . Here i want to add fn:lower-case to my property. But it is not working. property=fn:lower-case(@jcr:content) This code is not working in querybuilder REST API. The same logic i can able to do using Xpath like [(fn:lower-case(@jcr:content), 'test'] and it's working fine, when i used in Querybuilder Java API. The same logic need to implement querybuilder REST API as well. Where i need to

How to do case insensitive search using querybuilder rest api in cq

て烟熏妆下的殇ゞ 提交于 2020-07-11 04:49:06
问题 How to use case insensitive search in Querybuilder REST API in CQ5. This is my query localhost path query . Here i want to add fn:lower-case to my property. But it is not working. property=fn:lower-case(@jcr:content) This code is not working in querybuilder REST API. The same logic i can able to do using Xpath like [(fn:lower-case(@jcr:content), 'test'] and it's working fine, when i used in Querybuilder Java API. The same logic need to implement querybuilder REST API as well. Where i need to

AEM query builder: search multiple properties

こ雲淡風輕ζ 提交于 2020-07-10 08:53:26
问题 How can I list all the properties and respective values for more than one property under a give node. For example, the below code, I could search for one property only. But I need to search for 10 different property(alttext, img, promos.. etc) and get respective values(if exist) for it. Map<String, String> map = new HashMap<String, String>(); map.put(TYPE_PREDICATE, "nt:base"); map.put(PATH_PREDICATE, printAttachmentJsonNodePath); map.put("property", "fileReference"); map.put("p.excerpt",

AEM 6.2 support for SSR & SPA

自闭症网瘾萝莉.ら 提交于 2020-06-29 05:16:16
问题 And I want to build an application that needs to render in the server-side in AEM. Then I have followed the tutorial which gives from AEM [https://helpx.adobe.com/experience-manager/kt/sites/using/getting-started-spa-wknd-tutorial-develop/react/chapter-0.html#prerequisites] . I have installed AEM 6.2 .I have two questions, I want to know AEM 6.2 support SSR ? and if yes what might be the issue for the below error. 来源: https://stackoverflow.com/questions/62169720/aem-6-2-support-for-ssr-spa

How to redirect the pages to their alias URLs in AEM?

喜夏-厌秋 提交于 2020-06-01 05:07:27
问题 We are planning to use sling:alias property for the translated pages through language copy so that the translated pages could be accessible through the translated URLs. For e.g. English page- /content/site/en/test-page Language copy- /content/site/es/test-page - It has the property sling:alias (página de prueba) Alias URL- /content/site/es/página de prueba Now we are able to access it using the alias URL but we still have links in different places that use " /content/site/es/test-page " URL.

How to call Sling Model Method with input parameter AEM

半城伤御伤魂 提交于 2020-04-07 09:16:43
问题 I am having a scenario in which i want to call a sling model with input parameter. For this i have a code like this <div data-sly-use.model3="${'com.bhf.aem.sling.models.Test' @ colour='red'}"> </div> But I want to call a method in sling model twice with two different parameters .Is it possible with sling models? Any Help!!! 回答1: From AEM 6.3 there is a new HTL feature that allows to do this. In the data-sly-include and data-sly-resource you can now pass requestAttributes in order to use them