Asset Tag link to exiternal system #1543

Closed
opened 2025-12-29 16:32:50 +01:00 by adam · 4 comments
Owner

Originally created by @girlpunk on GitHub (Feb 8, 2018).

Issue type

[X] Feature request
[ ] Bug report
[ ] Documentation

Environment

  • Python version: 3.5.3
  • NetBox version: 2.2.9

Description

Ability to create a link from the asset tag field of a device (or anything with an asset tag) to an external system (e.g. inventory tracking). This could be customised by having a configuration setting with a prefix and suffix that are prepended and appended to the asset tag as relevant.

For example, if ASSET_LINK_PREFIX was set to http://example.com/inventory/ and ASSET_LINK_SUFFIX was set to /view/, the asset tag 123 would generate the URL http://example.com/inventory/123/view/

Originally created by @girlpunk on GitHub (Feb 8, 2018). <!-- Before opening a new issue, please search through the existing issues to see if your topic has already been addressed. Note that you may need to remove the "is:open" filter from the search bar to include closed issues. Check the appropriate type for your issue below by placing an x between the brackets. For assistance with installation issues, or for any other issues other than those listed below, please raise your topic for discussion on our mailing list: https://groups.google.com/forum/#!forum/netbox-discuss Please note that issues which do not fall under any of the below categories will be closed. Due to an excessive backlog of feature requests, we are not currently accepting any proposals which extend NetBox's feature scope. Do not prepend any sort of tag to your issue's title. An administrator will review your issue and assign labels as appropriate. ---> ### Issue type [X] Feature request <!-- An enhancement of existing functionality --> [ ] Bug report <!-- Unexpected or erroneous behavior --> [ ] Documentation <!-- A modification to the documentation --> <!-- Please describe the environment in which you are running NetBox. (Be sure to verify that you are running the latest stable release of NetBox before submitting a bug report.) If you are submitting a bug report and have made any changes to the code base, please first validate that your bug can be recreated while running an official release. --> ### Environment * Python version: 3.5.3 * NetBox version: 2.2.9 <!-- BUG REPORTS must include: * A list of the steps needed for someone else to reproduce the bug * A description of the expected and observed behavior * Any relevant error messages (screenshots may also help) FEATURE REQUESTS must include: * A detailed description of the proposed functionality * A use case for the new feature * A rough description of any necessary changes to the database schema * Any relevant third-party libraries which would be needed --> ### Description Ability to create a link from the asset tag field of a device (or anything with an asset tag) to an external system (e.g. inventory tracking). This could be customised by having a configuration setting with a prefix and suffix that are prepended and appended to the asset tag as relevant. For example, if `ASSET_LINK_PREFIX` was set to `http://example.com/inventory/` and `ASSET_LINK_SUFFIX` was set to `/view/`, the asset tag `123` would generate the URL `http://example.com/inventory/123/view/`
adam closed this issue 2025-12-29 16:32:50 +01:00
Author
Owner

@girlpunk commented on GitHub (Feb 8, 2018):

I understand Netbox isn't trying to be a universal inventory tracking system, hence why having the link is probably more flexible.

On a similar note, this could also be used for a ticketing system or similar. As such, would it be more flexible to have an "external links" section with multiple links?

@girlpunk commented on GitHub (Feb 8, 2018): I understand Netbox isn't trying to be a universal inventory tracking system, hence why having the link is probably more flexible. On a similar note, this could also be used for a ticketing system or similar. As such, would it be more flexible to have an "external links" section with multiple links?
Author
Owner

@girlpunk commented on GitHub (Feb 8, 2018):

Example UI:

image

@girlpunk commented on GitHub (Feb 8, 2018): Example UI: ![image](https://user-images.githubusercontent.com/161093/35978354-62ee81ae-0cdd-11e8-8ffc-c6b827670ac6.png)
Author
Owner

@cimnine commented on GitHub (Feb 8, 2018):

Sounds like https://github.com/digitalocean/netbox/issues/969 would solve this.

@cimnine commented on GitHub (Feb 8, 2018): Sounds like https://github.com/digitalocean/netbox/issues/969 would solve this.
Author
Owner

@girlpunk commented on GitHub (Feb 8, 2018):

Yup, must have missed that one.

@girlpunk commented on GitHub (Feb 8, 2018): Yup, must have missed that one.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1543