Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

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 and Adobe Champion

@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 and Adobe Champion

@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.