You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have added a custom field to Virtual Machines targeting Contacts. With the option flatten_custom_fields: True in my inventory definition, the relation is resolved as expected.
However, the related Contacts do only resolve the fields display, id, name and url. I do understand that the URL does point to the resource with all fields. However, I need to have access to all fields of the assigned Contacts available in my inventory, including Custom fields.
Am I missing an option to fetch all related fields, or is this not possible with the netbox inventory?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have added a custom field to
Virtual Machines
targetingContacts
. With the optionflatten_custom_fields: True
in my inventory definition, the relation is resolved as expected.However, the related
Contacts
do only resolve the fieldsdisplay
,id
,name
andurl
. I do understand that the URL does point to the resource with all fields. However, I need to have access to all fields of the assignedContacts
available in my inventory, includingCustom fields
.Am I missing an option to fetch all related fields, or is this not possible with the netbox inventory?
Beta Was this translation helpful? Give feedback.
All reactions