Skip to content

Complete conceptual model without using the visual model #306

Answered by rouschr
AlexAS81 asked this question in Q&A
Discussion options

You must be logged in to vote

Good question, yes you can get to the conceptual model but not directly.

The visual model and the conceptual model are linked by the fields.json node and field ids
By node I mean the items in the xmlStructure part of the fields.json file (those having ND-... as an id).

form (hierarchical) -> fields.json info + form data enriched with node and field ids -> conceptual model

Fields.json:
https://github.com/OP-TED/eForms-SDK/blob/1.5.0/fields/fields.json

Notice type definitions (one per notice sub type), which shows how to build a form for each notice:
https://github.com/OP-TED/eForms-SDK/tree/1.5.0/notice-types

If you cannot modify the form data you receive or treat, you could transform it i…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@AlexAS81
Comment options

@AlexAS81
Comment options

@rouschr
Comment options

Answer selected by rouschr
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed fields Related to field metadata (/fields/fields.json)
2 participants