A developer created a component with the following fields:
What is the correct HTL code and resultant valid URL path generated?
A developer decides to use a text pre-extraction for re/indexing Lucene indexes.
When is this recommended?
The customer noticed their search query was not giving the expected results. The following query is being used:
select * from [dam:Asset]
where isdescendantnode('/content/dam/customerFolder')
AND [jcr:content/dateModified] >= CAST("2024-01-01T00:00:00.000Z")
A developer is creating a new component to be included in an SPA. They created a Sling Model and React component but are experiencing issues getting them to work together.
Which change is needed to make sure these two components work together?
A developer is debugging an issue where a Sling Model is not properly adapting to the resource. Upon investigation, the developer notices the following Sling Model code:
@Model(adaptables = Resource.class)
public class MyCustomModel {
}
What is causing the issue?
A developer is using the Oak query engine.
Which query language is recommended?
A client has a requirement to get the location of stores based on the zip code authored in the component dialog. Location needs to be pulled from an external API using OSGi services.
Which OSGi Service code snippet should be used to represent the requirement?
A developer is creating a dialog for a component, which has a checkbox field. After saving the component configuration, the developer noticed that the checkbox value is stored as a String type in JCR.
What should be done to store the checkbox value as a Boolean type in JCR?
What is the correct way to implement the OSGi service class for this interface?
public interface SimpleService {
String getMessage();
}
Options:
A developer is working on an Adobe Experience Manager project that uses a multi-module Maven build. A new module was just added to the project. When the following build command is executed, the new module is not installed:
mvn clean install -PautoInstallSinglePackage
What should the developer verify to ensure the package is being included as part of the installation process?