Hi everyone,I’m trying to write unit tests for a custom Sling Model for my PresentLine component, but I’m running into issues where the model always adapts to null during the test — even though the component works completely fine in AEM.Here’s my component’s Sling Model:PresentLineModel.javapackage ...
When applying an IP Allow List in Adobe Cloud Manager, the doc says ‘If no IP Allow List is applied, by default all IP addresses are allowed. When an IP Allow List is applied, no IP addresses are allowed except for addresses on the IP Allow List.’ (see article) - Has anyone experienced a scenario wh...
Hi Everyone, I have a question regarding Sling Models and reusability in AEM.In my project, we often create multiple components that need very similar backend logic. This sometimes leads to writing multiple Sling Models that look almost the same, with only small variations.What is the best practice ...
I am trying to run my cypress ui tests in a development full stack pipeline on a develop environment.But I always get the error message:Custom UI Testing: The UI tests have been skipped because no tests have been foundIn addition, there are no logs to investigate because the execution is skipped com...
Hi everybody, We have a AEM program that has Advanced Network configuration set to use the Dedicated Egress IP address, but we would like to change it and set the VPN configuration insteady. This is with an existing program that is currently in production, which means that any downtime is critical ...
Hello, in one of my project it contains a searchbar with search suggestions. The underlying query isselect [rep:suggest()] from [nt:unstructured] as a where suggest('dual') AND ( ISDESCENDANTNODE('/content/sites/myPages/pageA') or ISDESCENDANTNODE('/content/dam/myPages/pageA'))There also exis...
I just want to validate what I am seeing. When cache is invalidated, all child pages under the lowest statfileslevel *and* parent pages are flushed. So it's really just sibling folders and parent sibling folders that are untouched. I found this article very helpful to understand statfileslevel. ht...
Hi TechsI am trying to add a multi-field single line text property in a content fragment model like this:And I want to add the required="on" property to the child level like this:So user won't see the "Must fill" info unless user click add button.But here comes an issue, the "Must fill" will not pop...
hey gurus,I have an issue, where I have to select only current and future date.Lets say I have an input Date/Time field. date pattern is date{DD.MM.YYYY}. This is an input field. I want to make sure this Date Picker on the form should be for Today's and Future date. Not for past date. For past dates...
I would like to refresh the page whenever any component drag and dropped into the layout container. I have tried through cq:listener and which custom JavaScript also but both are not working. Could you please let me know if any other ways to achieve this? Thanks //Sample JS logic tried(function ($, ...