@chibujax2, the layout formats for names and addresses are configured as part of the implementation process. Specifically the address one is stored as a Global Property (aka Advanced Setting) named layout.address.format, and you can fetch this (in an awkward way) by doing
I think you should introduce a new (read-only) REST endpoint that returns the layout in an easily consumable json format. Maybe something like:
(@burke, I’m proposing a new convention here. thoughts welcome!)
Thank you @dkayiwa I am happy I read the wiki, I now understand much about the address template. The little confusion is on how to fetch GET .../systemsetting/layout.address.format
mentioned by @darius I will really appreciate if I could get more explanation on how to fetch the configured template in order to render the address properly.