Making changes to model.json | Community
Skip to main content
Level 4
February 16, 2022
Solved

Making changes to model.json

  • February 16, 2022
  • 1 reply
  • 895 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by BrianKasingli

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

1 reply

BrianKasingli
Community Advisor and Adobe Champion
BrianKasingliCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
February 16, 2022

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