Hi A12 team,
This document is so helpful for the UAA authorization definition: Redirecting…
I wonder if we have similar data and form models. As a developer, I usually need to modify the JSON instead of opening the SME tool. Sometimes, I want to automate data extraction from those models, such as all fields and their descriptions/labels. I am researching overriding the model due to changes in master data from another system.
Thank you very much, and I am looking forward to being able to speed up my work.
Thuan
Hi @thuan-rocky-core,
I have consulted the Kernel and Form Engine teams and have the following information for you:
There currently is no JSON definition schema available for data or form models unfortunately. If you are interested in this please create a requirement ticket for it (And if you do, please share the ticket number here.).
Regarding your use case of automating the data extraction for those models, there are the following API’s available that you might be able to use:
- The Kernel interface IDocumentModel offers access to all information in the Document Model. To use this, you just need to deserialize the Document Model first (for more information on this see here).
- For the Form Model, there is the formengine-model API available but only in Java
I hope this helps you a bit.
Best regards,
Denise from the Discourse team