Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Making changes to model.json

Avatar

Level 5

If i have a page with only different content fragments included on page and someone is consuming page.model.json.....how can i change model.json ...may be rewrite some links and image paths OR add an additional field?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@asn11,

Instead of using model.json, you can create your own servlet, called mymodel.json. You will be able to define your own JSON schema output from here.

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

@asn11,

Instead of using model.json, you can create your own servlet, called mymodel.json. You will be able to define your own JSON schema output from here.