How to access Custom Status Choices in Custom Scripts? #11521
-
How do I access FIELD_CHOICES in custom script? configuration.py This code works in nbshell() but does not work in a custom script. Script Log Exception
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Does someone know how to access Custom Status Choices in Custom Scripts? |
Beta Was this translation helpful? Give feedback.
-
Nervermind. This |
Beta Was this translation helpful? Give feedback.
Nervermind. This
ip.status = 'offline'
works now. Must have forgotten to restart netbox...