I'm trying to write unit tests for an AEM Sling Model, but my test is failing. Here's the test I tried:@RunWith(MockitoJUnitRunner.class)public class ArticleContentModelTest {@Rulepublic AemContext context = new AemContext();private ArticleContentModel articleContentModel;@Beforepublic void setUp() ...
Hello Adobe Community,We are trying to implement a servlet which needs to read csv file. To read csv file we have added dependency in core pom.xml <dependency> <groupId>com.opencsv</groupId> <artifactId>opencsv</artifactId> <version>5.7.1</version> <scope...
Hello, I would like to understand the query/search configuration using AEM Bulk Editor to pull a list of keywords e.g. 'Pensions basics' that is ONLY link text.Is this possible? Your feedback would be greatly appreciated.Thank you.
Hi All, To automate CDN cache purge on publish, we implemented a EventHandler which listens to replication request and initiate HTTP Purge request from Author to Publish to clear out CDN cache for published page. However, this Purge request is failing and we are getting 403 response - Complete Error...
We have a scenario, when a user searches with a term and AEM pulls in the pages that that term lives on, the term itself would appear in the page of search results with highlighted design.For example, if I search for “randomtext”, these are the results that I get. Entry points into “randomtext” is o...
Hi,I need to query for all occurrences of <br />, <br/>, or <br /> in my text components, but my search is not returning any results.Here is the query I am using:SELECT * FROM [nt:base] AS n WHERE n.[sling:resourceType]='xxx/components/content/text' AND CONTAINS(n.text, '<br') AND ISDESCENDANTNOD...
we have a multifield and we are iterating them in html using list.in between iteration im using <div data-sly-resource="${'xyz' @ resourceType='prj/components/content/xyz'}"></div> but while authoring ill be getting resource xyz to author at one place not in all places.and same authorable fields are...
Hi Team, We received a customer request for redirecting a non-www to www abc.com (any page) should redirect (301) to www.abc.com Can I have some suggestion for implementing this redirection rule. Thanks in advance!
Hi Dev team, i was trying to author the text component (sling:resourceSuperType core/wcm/components/text/v2/text), in authoring mode we were able to author bullet List as shown in screen below.but when we mark it as done,the bullet list were not showning (Please reffer below screenshot), sam...