Hi @aravindS Sure, here's an example JUnit test for your getCustomData method in your Sling model. @RunWith(MockitoJUnitRunner.class)
public class CustomModelTest {
@Mock
private Resource resource;
@Mock
private ResourceResolver resourceResolver;
@InjectMocks
private CustomModel custo...
Hi @neohavix Yes, you can use a script to reset only the fields on page 13 of your AEM Forms Designer form. Here's an example of how you can do this:Create a button on page 13 and name it "Reset This Page Only" or something similar.var resetFields = xfa.layout.pageContent(page13).descendants;
for (...
Hi @Gordoc2020 Yes, you can generate a sitemap for your AEM website by following these steps:Log in to your AEM instance and navigate to the Site Administration console.Select the site you want to generate a sitemap for.Click on the Sitemap tab and then click on Create Sitemap.Choose the options for...
Hi @Nandheswara To insert a component through a dialog of another component in AEM, you can follow these general steps:Define the dialog for the component that will contain the other component(s). This can be done in the component's cq:dialog node in the component's content path.Within the dialog, ...
Hi @gab_221, To extend the tabs component in AEM, you can follow these steps:Create a new component that extends the tabs component by setting the sling:resourceSuperType property to "core/wcm/components/tabs/v1/tabs".Create a new dialog for the component by copying the dialog structure from the ta...
Hi Guys,
I am working on the setup of AEM on my local,
The author's instance is working perfectly fine
But I am getting this error on publish instance, can anyone help me to resolve the issue?
UI is appearing white screen here is the screenshot::https://prnt.sc/RpSSh2W4n-BN
13.02.2023 1...
Hi Team,
I am new to the Aem developer community and to Aem as well,
I want to learn the complete Login Signup feature of any AEM Site and its redirections if a user is not signed up!
So I am looking for the best approach to achieve a login signup feature for an AEM Site and seeking guidance f...
Hi,
Yes, While you are implementing it with the query builder API,
To build a search component extending the core search component, I suggest adding the path only where you want to make the search happen, not the entire content.
I hope this works
Hi, can you suggest to me the best way to add this,
Like I want to know, whether this dependency will goes under my project POM or my CORE pom, and where it should get added in the code.