Subject: |
RE: ZenPackLib - compopnent guid display - remove defaulted Name column |
Author: |
Patrick McMahon |
Posted: |
2019-06-18 08:39 |
First an alternative
Drop using the vlanName property
and just set the "Name" column to the VLan Name value (which in the modeler is done by setting the "title" property)
If you really want to hide the "Name" column, I think you can get away with the following in the yaml but dont know if there will be unforeseen consequences
properties:
title:
type: string
grid_display: false
------------------------------
Patrick McMahon
Sr. Security and Compliance Specialist
Zenoss
------------------------------
Subject: |
RE: ZenPackLib - compopnent guid display - remove defaulted Name column |
Author: |
Jay Stanley |
Posted: |
2019-06-18 09:25 |
I agree with Patrick. I would drop the extra property and set title to vLan Name. I would never hide the default title field. Since the search box uses that to search and the events will be linked to it (Event component will show the value under Name, instead of what I would assume you would want vLan Name)
------------------------------
jstanley
------------------------------
Subject: |
RE: ZenPackLib - compopnent guid display - remove defaulted Name column |
Author: |
Pheripheral Pheripheral |
Posted: |
2019-06-18 09:40 |
Thanks for the replies.
I've now changed it to set the title field in the modeler as suggested and ditched the seperate vlanName property.
I did have a play with the yaml hiding the title field, but the yaml suggested above seems to have no effect, the Name column still appearing.
If i add
title:
type: string
label: Vlan Name
I get another column alongside the defaulted Name column, also showing the title.
can't find any way at all to hide the Name column even if i wanted to! (although now i don't need to)
Thanks
------------------------------
Pheripheral Pheripheral
------------------------------