Skip to main content

References (Custom)

You want a specific configuration for the reference

Let's stay with our above example of cmdb_ci_server and manufacturer.

The default behavior is to render manufacturer as core_company. This contains most relevant information, but that might be more than you want and need. Maybe you only need the information contained in core_company_minimal.

Create an entry in ``

You want to cache referenced entities

You only want to render Inline SysId

{
...,
"property_name": {
"sys_id": "90194fbb8737f9503efcec230cbb35d6",
"sys_class_name": "reference_class"
},
...
}

If the requested config defines a Reference Group Name (default, inline, etc.) that has a specific configuration for the given property, in this example location (See TODO for details on how to configure references.) the property will be rendered accordingly, in this example as

{
...,
"location": {
"city": "Bern",
"cmn_location_type": "room",
"country": "Switzerland",
"full_name": "CH/Bern/Strasse 12/Strasse 12 - C/5.OG/B / 504",
"name": "B / 504",
"street": "Strasse 12 - C",
"sys_id": "483aad38872482903efcec230cbb357f",
"sys_updated_on": "2024-02-21T16:38:28Z",
"zip": "3000"
},
...
}
info

How the reference is rendered is defined by the Target Configuration.

Where the reference is rendered is defined by the Render Type. (See TODO for details on Render Type.)

Reference Groups