Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adding To Core Component For Angular SPA


Level 1


I am new to AEM and trying to develop a simple site showing pure custom component, pure core component, and extending core component.

I am trying to extend Title Core Component and add two more fields to it (viewtext and viewURL).

I am able to set up the JCR correctly which the cq dialog has the fields.

The issue I feel is how I written the Sling model. Since I am trying to make a Angular SPA site I need the JSON to pass those fields I added. I do not see these.

Here is my Java Sling Model.


Here is my JCR cq dialog.


Here is my JSON.


As you can see from my JSON, the viewtext and viewURL is missing.

What do I need to fix to make it work?

Thank you.

0 Replies