Default Values on custom fields #12808
Replies: 2 comments
-
This is a custom field of type "Object", correct?
That means the default value you enter must be the raw object ID, e.g. the number 2.
Do remember though, that the VLAN with ID 2 is not the same as vid 2. vid is the 802.1q tag, from 1-4094. The Netbox ID is the database ID, so specifying Also, you can have multiple VLANs in your database all with the same vid. This is quite common, e.g. where you have different sites with their own distinct and separate VLANs but using the same tag. |
Beta Was this translation helpful? Give feedback.
-
I'm having difficulties with this. I use custom field type "Text" and woud like to display some default text value for the user but when rendered it shows as JSON.
shows this in gui {'BNID': 'Leave empty for now'} |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a custom field linked to VLAN and I want to have a default value of NET1
the field is requiring json but I have no Idea whats it's wanting from me
I have tried
but get
how would I set the this ?
Beta Was this translation helpful? Give feedback.
All reactions