Custom field with type Text/Selection from remote URL #3214

Closed
opened 2025-12-29 18:26:48 +01:00 by adam · 1 comment
Owner

Originally created by @itmicus on GitHub (Jan 24, 2020).

Environment

  • Python version: 3.5
  • NetBox version: 2.7

Proposed Functionality

Custom filed type Text or Selection can also be requested from an external source using a "remote URL". URL to remote JSON Service for example:
https://db.company.local/options?opt1={{obj.name}}
Also may be add feature to sort values, URL contains jinja templating with fields from netbox object.

Use Case

You can assign data to the custom field from the external system for create relations between them.

Database Changes

may be

External Dependencies

no

Originally created by @itmicus on GitHub (Jan 24, 2020). ### Environment * Python version: 3.5 * NetBox version: 2.7 ### Proposed Functionality Custom filed type Text or Selection can also be requested from an external source using a "remote URL". URL to remote JSON Service for example: https://db.company.local/options?opt1={{obj.name}} Also may be add feature to sort values, URL contains jinja templating with fields from netbox object. <!-- Convey an example use case for your proposed feature. Write from the perspective of a NetBox user who would benefit from the proposed functionality and describe how. ---> ### Use Case You can assign data to the custom field from the external system for create relations between them. <!-- Note any changes to the database schema necessary to support the new feature. For example, does the proposal require adding a new model or field? (Not all new features require database changes.) ---> ### Database Changes may be <!-- List any new dependencies on external libraries or services that this new feature would introduce. For example, does the proposal require the installation of a new Python package? (Not all new features introduce new dependencies.) --> ### External Dependencies no
adam closed this issue 2025-12-29 18:26:48 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jan 24, 2020):

Sorry, this would be way out of scope for custom fields and very difficult to implement.

@jeremystretch commented on GitHub (Jan 24, 2020): Sorry, this would be way out of scope for custom fields and very difficult to implement.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3214