Export Template

Name
Cable labels (CSV)
Description
—
MIME type
text/csv
File name
—
File extension
csv
Attachment

Data File

Data Source —
Data File —
Data Synced —

Assigned Models

DCIM | cable

Environment Parameters

{}

Template

cable,label,a_end,b_end,type,color
{% for c in queryset %}{{ c.pk }},{{ c.label }},{{ c.a_terminations[0].device.name if c.a_terminations else "" }} {{ c.a_terminations[0] if c.a_terminations else "" }},{{ c.b_terminations[0].device.name if c.b_terminations else "" }} {{ c.b_terminations[0] if c.b_terminations else "" }},{{ c.type }},{{ c.color }}
{% endfor %}