Sign in to Community
Sign in to view all badges
Expand my Community achievements bar.
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?