Skip to content

Field BT-02-notice and BT-03-notice #349

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

You must be logged in to vote

This is because normally a field of type "code" is associated with a combobox to select a code from a codelist:

 "id" : "BT-02-notice",
    "parentNodeId" : "ND-Root",
    "name" : "Notice Type",
    "btId" : "BT-02",
    "xpathAbsolute" : "/*/cbc:NoticeTypeCode",
    "xpathRelative" : "cbc:NoticeTypeCode",
    "type" : "code",
    "legalType" : "CODE",
    "repeatable" : {
      "value" : false,
      "severity" : "ERROR"
    },...

In the notice-types metadata:

 "metadata" : [ {
    "id" : "BT-02-notice",
    "contentType" : "field",
    "displayType" : "COMBOBOX",
    "description" : "Notice Type",
    "_label" : "field|name|BT-02-notice",
    "readOnly" : true <-----------------------…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by YvesJo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
fields Related to field metadata (/fields/fields.json) codelists Related to SDK codelists (/codelists folder)
2 participants