Hi All,


In General View in CMDB i am looking for a way to display the SSHAddress that i had created in General Overview of CMDB. Is it possible? And how may i order the list by CI Name?

Regards,
Rangel

This is my class definition:

    { 
        Key => 'Contract Type', 
        Name => 'Tipo de Contrato', 
        Searchable => 1, 
        Input => { 
            Type => 'GeneralCatalog', 
            Required => 1, 
            Class => 'ITSM::ConfigItem::Computer::ContractType', 
            Translation => 1, 
        }, 
    }, 
    { 
        Key => 'SSHAddress', 
        Name => 'IP SSH', 
        Input => { 
            Type => 'Text', 
            Size => 50, 
            MaxLength => 100, 
        }, 
        Sub => [ 
            { 
                Key => 'SSHPort', 
                Name => 'Porta SSH', 
                Input => { 
                    Type => 'Text', 
                    Size => 6, 
                    MaxLength => 5, 
                }, 
            }, 
        ], 
    }, 
    { 
        Key => 'HTTPAddress', 
        Name => 'IP HTTP', 
        Input => { 
            Type => 'Text', 
            Size => 50, 
            MaxLength => 100, 
        }, 
        Sub => [ 
            { 
                Key => 'HTTPPort', 
                Name => 'Porta HTTP', 
                Input => { 
                    Type => 'Text', 
                    Size => 6, 
                    MaxLength => 5, 
                }, 
            }, 
        ], 
    }, 
    { 
        Key => 'Support Plan', 
        Name => 'Plano de Suporte', 
        Searchable => 1, 
        Input => { 
            Type => 'GeneralCatalog', 
            Required => 1, 
            Class => 'ITSM::ConfigItem::Computer::SupportPlan', 
            Translation => 1, 
        }, 
    }, 
    { 
        Key => 'Model', 
        Name => 'Model', 
        Searchable => 1, 
        Input => { 
            Type => 'GeneralCatalog', 
            Required => 1, 
            Class => 'ITSM::ConfigItem::Computer::Model', 
            Translation => 1, 
        }, 
    }, 
    { 
        Key => 'Software', 
        Name => 'Software', 
        Searchable => 1, 
        Input => { 
            Type => 'GeneralCatalog', 
            Required => 1, 
            Class => 'ITSM::ConfigItem::Computer::Software', 
            Translation => 1, 
        }, 
    }, 
    { 
        Key => 'Description', 
        Name => 'Description', 
        Searchable => 1, 
        Input => { 
            Type => 'TextArea', 
        }, 
    }, 
    { 
        Key => 'Type', 
        Name => 'Type', 
        Searchable => 1, 
        Input => { 
            Type => 'GeneralCatalog', 
            Class => 'ITSM::ConfigItem::Computer::Type', 
            Translation => 1, 
        }, 
    }, 
    { 
        Key => 'Owner', 
        Name => 'Owner', 
        Searchable => 1, 
        Input => { 
            Type => 'Customer', 
        }, 
    }, 
    { 
        Key => 'Contact', 
        Name => 'Outro Contato', 
        Searchable => 1, 
        Input => { 
            Type => 'Customer', 
        }, 
    }, 
    { 
        Key => 'OperatingSystem', 
        Name => 'Operating System', 
        Input => { 
            Type => 'Text', 
            Size => 50, 
            MaxLength => 100, 
        }, 
    }, 
    { 
        Key => 'CPU', 
        Name => 'CPU', 
        Input => { 
            Type => 'Text', 
            Size => 50, 
            MaxLength => 100, 
        }, 
        CountMax => 16, 
    }, 
    { 
        Key => 'Ram', 
        Name => 'Ram', 
        Input => { 
            Type => 'Text', 
            Size => 50, 
            MaxLength => 100, 
        }, 
        CountMax => 10, 
    }, 
    { 
        Key => 'HardDisk', 
        Name => 'Hard Disk', 
        Input => { 
            Type => 'Text', 
            Size => 50, 
            MaxLength => 100, 
        }, 
        CountMax => 10, 
        Sub => [ 
            { 
                Key => 'Capacity', 
                Name => 'Capacity', 
                Input => { 
                    Type => 'Text', 
                    Size => 20, 
                    MaxLength => 10, 
                }, 
            }, 
        ], 
    }, 
    { 
        Key => 'NIC', 
        Name => 'Network Adapter', 
        Input => { 
            Type => 'Text', 
            Size => 50, 
            MaxLength => 100, 
            Required => 1, 
        }, 
        CountMin => 0, 
        CountMax => 10, 
        CountDefault => 1, 
        Sub => [ 
            { 
                Key => 'IPoverDHCP', 
                Name => 'IP over DHCP', 
                Input => { 
                    Type => 'GeneralCatalog', 
                    Class => 'ITSM::ConfigItem::YesNo', 
                    Translation => 1, 
                    Required => 1, 
                }, 
            }, 
            { 
                Key => 'IPAddress', 
                Name => 'IP Address', 
                Searchable => 1, 
                Input => { 
                    Type => 'Text', 
                    Size => 40, 
                    MaxLength => 100, 
                    Required => 1, 
                }, 
                CountMin => 0, 
                CountMax => 20, 
                CountDefault => 0, 
            }, 
        ], 
    }, 
    { 
        Key => 'Interfaces Configuration', 
        Name => '/etc/network/interfaces', 
        Searchable => 1, 
        Input => { 
            Type => 'TextArea', 
            Required => 1, 
        }, 
        CountMin => 0, 
        CountDefault => 0, 
    }, 
    { 
        Key => 'Telephony Cards', 
        Name => 'Placas de Telefonia', 
        Searchable => 1, 
        Input => { 
            Type => 'TextArea', 
            Required => 0, 
        }, 
        CountMin => 0, 
        CountDefault => 0, 
    }, 
    { 
        Key => 'DAHDI System Conf', 
        Name => '/etc/dahdi/system.conf', 
        Searchable => 1, 
        Input => { 
            Type => 'TextArea', 
            Required => 0, 
        }, 
        CountMin => 0, 
        CountDefault => 0, 
    }, 
    { 
        Key => 'Chan Dahdi', 
        Name => '/etc/asterisk/chan_dahdi.conf', 
        Searchable => 1, 
        Input => { 
            Type => 'TextArea', 
            Required => 0, 
        }, 
        CountMin => 0, 
        CountDefault => 0, 
    }, 
    { 
        Key => 'Wanpipe', 
        Name => '/etc/wanpipe/wanpipe*.conf', 
        Searchable => 1, 
        Input => { 
            Type => 'TextArea', 
            Required => 0, 
        }, 
        CountMin => 0, 
        CountDefault => 0, 
    }, 
    { 
        Key => 'IAX Conf', 
        Name => '/etc/asterisk/iax.conf', 
        Searchable => 1, 
        Input => { 
            Type => 'TextArea', 
            Required => 0, 
        }, 
        CountMin => 0, 
        CountDefault => 0, 
    }, 
    { 
        Key => 'SIP Conf', 
        Name => '/etc/asterisk/sip.conf', 
        Searchable => 1, 
        Input => { 
            Type => 'TextArea', 
            Required => 0, 
        }, 
        CountMin => 0, 
        CountDefault => 0, 
    }, 
    { 
        Key => 'OtherEquipment', 
        Name => 'Other Equipment', 
        Input => { 
            Type => 'TextArea', 
            Required => 1, 
        }, 
        CountMin => 0, 
        CountDefault => 0, 
    }, 
    { 
        Key => 'WarrantyExpirationDate', 
        Name => 'Warranty Expiration Date', 
        Searchable => 1, 
        Input => { 
            Type => 'Date', 
        }, 
    }, 
    { 
        Key => 'InstallDate', 
        Name => 'Install Date', 
        Searchable => 1, 
        Input => { 
            Type => 'Date', 
            Required => 1, 
        }, 
        CountMin => 0, 
        CountDefault => 0, 
    }, 
   { 
       Key => 'SitePicture', 
       Name => 'Foto da instalação', 
       Searchable => 1, 
       Input => { 
           Size => 50, 
           MaxLength => 100, 
           Type  => 'CIAttachment', 
       }, 
       CountMin => 0, 
       CountMax => 1, 
   }, 
   { 
       Key => 'OtherFiles', 
       Name => 'Outros Arquivos', 
       Searchable => 1, 
       Input => { 
           Size => 50, 
           MaxLength => 100, 
           Type  => 'CIAttachment', 
       }, 
       CountMin => 0, 
       CountMax => 10, 
   }, 
    { 
        Key => 'Note', 
        Name => 'Note', 
        Searchable => 1, 
        Input => { 
            Type => 'TextArea', 
            Required => 1, 
        }, 
        CountMin => 0, 
        CountDefault => 0, 
    }, 
    { 
        Key => 'Address', 
        Name => 'Endereço de Instalação', 
        Input => { 
            Type => 'Text', 
            Size => 50, 
            MaxLength => 500, 
        }, 
    }, 
    { 
        Key => 'Telephone', 
        Name => 'Telefone', 
        Input => { 
            Type => 'Text', 
            Size => 50, 
            MaxLength => 50, 
        }, 
    }, 
    { 
        Key => 'ZipCode', 
        Name => 'CEP', 
        Input => { 
            Type => 'Text', 
            Size => 50, 
            MaxLength => 100, 
        }, 
    }, 
    { 
        Key => 'City', 
        Name => 'Cidade', 
        Input => { 
            Type => 'Text', 
            Size => 50, 
            MaxLength => 100, 
        }, 
    }, 
    { 
        Key => 'UF', 
        Name => 'UF', 
            Input => { 
            Type => 'GeneralCatalog', 
            Class => 'ITSM::ConfigItem:UF', 
        }, 
    }, 
    { 
        Key => 'Country', 
        Name => 'País', 
        Input => { 
            Type => 'Text', 
            Size => 50, 
            MaxLength => 100, 
        }, 
    }, 
];