CFO allows to display an entity or record clicking in the cell of the list.
inside "views"
we have to use "display_cfo" or "update**_cfo**" as attribute of a field and together with that:
/cfo/{ds or db cfo}
which cfo is going to be used."views": {
"default": {
..
"fields": [
{"field": "license_id", "display_cfo": true, "api":"/cfo/Contracts","id_field": "KeyId", "name": "License ID"},
]
}
}
}
},
"display_fields":[
{"field": "KeyId","read_only": true},
{"field": "license_id","disabled": true},
{"field": "date_activation","disabled": true}
...
],
"update_fields":[
{"field": "KeyId","read_only": true},
{"field": "license_id","disabled": true},
{"field": "date_activation","disabled": true}
...
]
The ds or db CFO has to have "display_fields" and/or "update_fields" node to allow display itself.