-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom field values should be accessible in export templates #561
Comments
Of course, immediately after releasing v1.6.1, I realize that I never finished renaming the |
Fixed in 325d96d |
Hi I know this is closed but what if the custome fieled has space in name? "CDE Scoped" {{ device.name }} ,{{ device.serial }},{{ device.primary_ip }},{{ device.cf }} gives a rendering error? |
Didn't think spaces were valid in the name but it appears they are. They shouldn't be. Just use an underscore or hyphen in the field name instead of a space. You can set a separate human-friendly label to be displayed on the UI. |
Currently, there is no way to access an object's custom fields from within an export template. Ideally, these fields should be accessible similar to any real attribute. For example, an object with a custom field named
color
should be accessible as such:We want to use a designated attribute (
cf
) to avoid collisions with existing attributes.The text was updated successfully, but these errors were encountered: