Export Template isn't showing custom fields #14347
Unanswered
sh83le
asked this question in
Help Wanted!
Replies: 1 comment
-
Try these. I think they should all work - not entirely sure about the first one but I think jinja2 allows it.
A good way to explore the attributes available on an object is to use nbshell:
(Jinja2 isn't exactly like Python but is very close). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear all,
I created a simple Export Template, for exporting some prefixes.
I am not able to get the custom_fields value there.
I created some vars: mc_network_dhcpserver, mc_network_dnsserver1, mc_network_dnsserver2
After this I created a template, but only the default vars will be shown in the export.
I tried:
mc_network_dnsserver1, cf_mc_network_dnsserver1, prefix.mc_network_dnsserver1 etc.
I got no value and there are values behind each field.
What is wrong in my export template ?
prefix,status,tenant,site,vlan,description,cf_mc_network_ipv4gateway,cf_mc_network_dhcpserver,cf_mc_network_dnsserver1,cf_mc_network_dnsserver2,cf_mc_network_dnsserver3,cf_mcstandort
Beta Was this translation helpful? Give feedback.
All reactions