AD0-E116 Adobe Experience Manager Developer Expert

Loading demo links...

Showing 7–9 of 10 questions

Question 7

A developer wants to consume AEM Page Data in Single Page Application. The Single Page Application is coded to understand JSON format. Only page content should be exposed through JSON. All the existing components are based on foundation components.

Which change should the developer make in the existing components to support this requirement?

Select an option, then click Submit answer.

  • Add JSON as the default extension in Apache Sling Servlet?Script Resolver and Error handler Configuration

  • Implement a Sling Model Exporter for the components

  • Create a custom sling event handler to handle JSON requests

  • Invoke the page URL with the extension .json to get the values to construct the required output


Question 8

The developer is presented with acomponent "Component A" which inherits from a component "Component B".

The dialog of Component A on path ../cq:dialog/../../items looks like:

+ align

- jcr:primaryType="nt:unstructured"

- sling:resourceType="granite/ui/components/coral/foundation/form/select"

- fieldLabel="Align Text"

- name="./align"

The dialog of Component B on path ../cq:dialog/../../items looks like:

+ title

- jcr:primaryType="nt:unstructured"

- sling:resourceType="granite/ui/components/coral/foundation/form/textarea"

- fieldLabel="Title"

- name="./title"

+ description

- jcr:primaryType="nt:unstructured"

- sling:resourceType="granite/ui/components/coral/foundation/form/textarea"

- fieldLabel="Description"

- name="./description"

Therequirement for the dialog is that the *Align Text* field is shown after the *Title* field.

What should the developer do without changing Component B?

Select an option, then click Submit answer.

  • Move the align node from Component A to Component B and order them according the requirements.

  • Move allthe nodes under the item node from Component B to Component A and order them according the requirements.

  • Extend Component B with the functionality of Component A

  • Add the property sling:orderBefore="description" to the align node.


Question 9

A developer has a component named foobar with the following file:

foobar.html:

What is the output when the component is rendered?

Select an option, then click Submit answer.

  • "

  • "

  • "

  • "