custom-links - more information needed about available object fields #5936

Closed
opened 2025-12-29 19:34:30 +01:00 by adam · 1 comment
Owner

Originally created by @ITJamie on GitHub (Jan 12, 2022).

Originally assigned to: @jeremystretch on GitHub.

Change Type

Addition

Area

Administration/development

Proposed Changes

re: https://demo.netbox.dev/static/docs/customization/custom-links/

from slack thread: https://netdev-community.slack.com/archives/C01P0FRSXRV/p1641996289144200

I couldnt find a documentation page that showed what values are available for the obj pointer.
I found out thanks to the slack thread that what i needed to access custom fields on the object was obj.cf.field_name

It might be good to have more details on the object values available?
depending on the datatype, these will be different i guess, vms vs devices vs racks etc

Originally created by @ITJamie on GitHub (Jan 12, 2022). Originally assigned to: @jeremystretch on GitHub. ### Change Type Addition ### Area Administration/development ### Proposed Changes re: https://demo.netbox.dev/static/docs/customization/custom-links/ from slack thread: https://netdev-community.slack.com/archives/C01P0FRSXRV/p1641996289144200 I couldnt find a documentation page that showed what values are available for the `obj` pointer. I found out thanks to the slack thread that what i needed to access custom fields on the object was `obj.cf.field_name` It might be good to have more details on the object values available? depending on the datatype, these will be different i guess, vms vs devices vs racks etc
adam added the status: acceptedtype: documentation labels 2025-12-29 19:34:30 +01:00
adam closed this issue 2025-12-29 19:34:30 +01:00
Author
Owner

@github-actions[bot] commented on GitHub (Mar 14, 2022):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Mar 14, 2022): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5936