Hello
I have a script (script as in netbox script that works directly with the netbox objects, not as in script that uses the REST api) that has to set a custom field of a device.
Setting regular values like name, device_type, ... is not a prolem. but the custom fields appear to be some kind of special solution. I have not found an example on how to do that properly. I tried to take a look at the netbox code, because somewhere netbox has to set the custom fields but I have not found it, which is probably because I am not deep enough into django.
Has someone found a nice example or has some code to share?
Greetings
Jo