KIX - Forum

Community => Fragen | Konfiguration | Hilfe => Thema gestartet von: bt1002 am 18.02.2022 08:07:03

Titel: Problem mit Asset-Verknüpfungen
Beitrag von: bt1002 am 18.02.2022 08:07:03
Hallo zusammen,


ich bin ganz neu bei KIX und habe etwas Probleme mit den Assets, bzw. mit den Verknüpfungen von verschiedenen Asset-Klassen. Ich habe als erstes einen Standort angelegt. Dies ging ohne Probleme. Als nächstes habe ich dann ein Gebäude angelegt und wollte hier einfach den bereits angelegt Standort als "Übergeordneten Standort" auswählen. Egal was ich hier in der Suche dann eintrage (min. 3 Zeichen), es kommt nichts.
Als nächstes habe ich einen Raum angelegt, dem ich ein Gebäude zuordnen wollte. Auch hier das gleiche Problem, dass in der Suche das Gebäude nicht gefunden wird. Langsam zweifle ich schon an mir selbst.
Auch nach Eingabe einer Kontaktrolle kann auch kein Kontakt ausgewählt werden.


Ich hoffe ihr könnt mir verraten, was ich hier falsch mache.


Vielen Dank schon mal.


Viele Grüße


Andreas


Asset-Klasse Standort:


[
    {
        Key              => 'SectionGeneral',
        Name             => 'General Information',
        CustomerVisible  => 0,
        Input            => {
            Type => 'Dummy',
        },
        Sub => [
            {
                Key              => 'GLN',
                Name             => 'Global Location Number',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Type      => 'Text',
                    MaxLength => 13,
                },
            },
            {
                Key              => 'Note',
                Name             => 'Note',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Type     => 'TextArea',
                    Required => 1,
                },
                CountMin     => 0,
                CountMax     => 1,
                CountDefault => 0,
            },
            {
                Key              => 'Attachment',
                Name             => 'Attachment',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Type => 'Attachment',
                },
                CountMin => 0,
                CountMax => 5,
            },
        ],
    },
    {
        Key              => 'SectionAddress',
        Name             => 'Address Information',
        CustomerVisible  => 0,
        Input            => {
            Type => 'Dummy',
        },
        Sub => [
            {
                Key              => 'Street',
                Name             => 'Street',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Type => 'Text',
                },
            },
            {
                Key              => 'Street2',
                Name             => 'Street 2',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Type     => 'Text',
                    Required => 0,
                },
                CountMin     => 0,
                CountMax     => 1,
                CountDefault => 0,
            },
            {
                Key              => 'City',
                Name             => 'City',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Type => 'Text',
                },
            },
            {
                Key              => 'ZIP',
                Name             => 'ZIP',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Type => 'Text',
                },
            },
            {
                Key              => 'Region',
                Name             => 'Region',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Type     => 'Text',
                    Required => 0,
                },
                CountMin     => 0,
                CountMax     => 1,
                CountDefault => 0,
            },
            {
                Key              => 'Country',
                Name             => 'Country',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Type     => 'Text',
                    Required => 1,
                },
                CountMin     => 0,
                CountMax     => 1,
                CountDefault => 0,
            },
        ],
    },


    {
        Key              => 'SectionContacts',
        Name             => 'Contact Information',
        CustomerVisible  => 0,
        Input            => {
            Type => 'Dummy',
        },
        Sub => [
            {
                Key              => 'ContactRole',
                Name             => 'Contact Role',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Type     => 'Text',
                    Required => 1,
                },
                Sub => [
                    {
                        Key              => 'Contact',
                        Name             => 'Contact',
                        Searchable       => 1,
                        CustomerVisible  => 0,
                        Input            => {
                            Type => 'Contact',
                        },
                    },
                ],
                CountMin     => 0,
                CountMax     => 25,
                CountDefault => 1,
            },
        ],
    },
];



Asset-Klasse Gebäude:


[
    {
        Key              => 'SectionGeneral',
        Name             => 'General Information',
        CustomerVisible  => 0,
        Input            => {
            Type => 'Dummy',
        },
        Sub => [
            {
                Key              => 'ParentLocation',
                Name             => 'Parent Location',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Required                       => 1,
                    Type                           => 'CIClassReference',
                    ReferencedCIClassName          => 'Location',
                    ReferencedCIClassLinkType      => 'Includes',
                    ReferencedCIClassLinkDirection => 'Reverse',


                    # defines reference attribute key from Ref.-CI-Class which should be used as identifier during the import, if not name or CI-number
                    #ReferencedCIClassReferenceAttributeKey => 'SerialNumber',
                },
                CountMin     => 0,
                CountMax     => 1,
                CountDefault => 0,
            },
            {
                Key              => 'GLN',
                Name             => 'Global Location Number',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Type      => 'Text',
                    MaxLength => 13,
                },
            },
            {
                Key              => 'Note',
                Name             => 'Note',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Type     => 'TextArea',
                    Required => 1,
                },
                CountMin     => 0,
                CountMax     => 1,
                CountDefault => 0,
            },
            {
                Key              => 'Attachment',
                Name             => 'Attachment',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Type => 'Attachment',
                },
                CountMin => 0,
                CountMax => 5,
            },
        ],
    },
    {
        Key              => 'SectionAddress',
        Name             => 'Address Information',
        CustomerVisible  => 0,
        Input            => {
            Type => 'Dummy',
        },
        CountMin     => 0,
        CountMax     => 1,
        CountDefault => 0,
        Sub          => [
            {
                Key              => 'Street',
                Name             => 'Street',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Type => 'Text',
                },
            },
            {
                Key              => 'Street2',
                Name             => 'Street 2',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Type     => 'Text',
                    Required => 1,
                },
                CountMin     => 0,
                CountMax     => 0,
                CountDefault => 0,
            },
            {
                Key              => 'City',
                Name             => 'City',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Type => 'Text',
                },
            },
            {
                Key              => 'ZIP',
                Name             => 'ZIP',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Type => 'Text',
                },
            },
            {
                Key              => 'Region',
                Name             => 'Region',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Type     => 'Text',
                    Required => 0,
                },
                CountMin     => 0,
                CountMax     => 1,
                CountDefault => 0,
            },
            {
                Key              => 'Country',
                Name             => 'Country',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Type     => 'Text',
                    Required => 0,
                },
                CountMin     => 0,
                CountMax     => 1,
                CountDefault => 0,
            },
        ],
    },


    {
        Key              => 'SectionContacts',
        Name             => 'Contact Information',
        CustomerVisible  => 0,
        Input            => {
            Type => 'Dummy',
        },
        Sub => [
            {
                Key              => 'ContactRole',
                Name             => 'Contact Role',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Type     => 'Text',
                    Required => 1,
                },
                Sub => [
                    {
                        Key              => 'Contact',
                        Name             => 'Contact',
                        Searchable       => 1,
                        CustomerVisible  => 0,
                        Input            => {
                            Type => 'Contact',
                        },
                    },
                ],
                CountMin     => 0,
                CountMax     => 25,
                CountDefault => 1,
            },
        ],
    },
];



Asset-Klasse Raum:


[
    {
        Key              => 'SectionGeneral',
        Name             => 'General Information',
        CustomerVisible  => 0,
        Input            => {
            Type => 'Dummy',
        },
        Sub => [
            {
                Key              => 'ParentLocation',
                Name             => 'Building',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Required                       => 1,
                    Type                           => 'CIClassReference',
                    ReferencedCIClassName          => 'Building',
                    ReferencedCIClassLinkType      => 'Includes',
                    ReferencedCIClassLinkDirection => 'Reverse',


                    # defines reference attribute key from Ref.-CI-Class which should be used as identifier during the import, if not name or CI-number
                    #ReferencedCIClassReferenceAttributeKey => 'SerialNumber',
                },
                CountMin     => 0,
                CountMax     => 1,
                CountDefault => 0,
            },
            {
                Key              => 'RoomType',
                Name             => 'Room Type',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Type      => 'Text',
                    MaxLength => 50,
                },
            },
            {
                Key              => 'Floor',
                Name             => 'Floor',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Type              => 'Text',
                    MaxLength         => 50,
                    RegEx             => '\d',
                    RegExErrorMessage => 'Please enter decimal numbers only.',
                },
            },
            {
                Key              => 'RoomLabel',
                Name             => 'Room Label',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Type      => 'Text',
                    MaxLength => 50,
                },
            },
            {
                Key              => 'Note',
                Name             => 'Note',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Type     => 'TextArea',
                    Required => 1,
                },
                CountMin     => 0,
                CountMax     => 1,
                CountDefault => 0,
            },
            {
                Key              => 'Attachment',
                Name             => 'Attachment',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Type => 'Attachment',
                },
                CountMin => 0,
                CountMax => 5,
            },
        ],
    },


    {
        Key              => 'SectionContacts',
        Name             => 'Contact Information',
        CustomerVisible  => 0,
        Input            => {
            Type => 'Dummy',
        },
        CountMin     => 0,
        CountMax     => 1,
        CountDefault => 0,
        Sub          => [
            {
                Key              => 'ContactRole',
                Name             => 'Contact Role',
                Searchable       => 1,
                CustomerVisible  => 0,
                Input            => {
                    Type     => 'Text',
                    Required => 1,
                },
                Sub => [
                    {
                        Key              => 'Contact',
                        Name             => 'Contact',
                        Searchable       => 1,
                        CustomerVisible  => 0,
                        Input            => {
                            Type => 'Contact',
                        },
                    },
                ],
                CountMin     => 0,
                CountMax     => 25,
                CountDefault => 1,
            },
        ],
    },
];
Titel: Re: Problem mit Asset-Verknüpfungen
Beitrag von: Torsten Thau am 18.02.2022 08:43:02
Hallo Andreas,


ich habe eben versucht das auf einer neuen KIX Start Installation (v21/Build: 3851.1535; Firefox) nachzustellen. Anbei das Ergebnis. Da es eine nagelneue Installation war, ist nur der Superuser nach dem Setup-Assi als Kontakt vorhanden. Aus Deiner Beschriebung kann ich nicht entnehmen ob und was Du falsch machst. Kannst du bitte weitere Angaben machen - z.B. Version KIX, Start/Pro, Browser?


CU, Torsten
Titel: Re: Problem mit Asset-Verknüpfungen
Beitrag von: bt1002 am 18.02.2022 09:05:18
Hallo Thorsten,

es handelt sich um folgende KIX Start Version:
KIX 18 (Build: 3794.1490)


Der verwendete Browser ist:
Microsoft Edge Version 98.0.1108.55 (Offizielles Build) (64-Bit)

Die Installation läuft im Docker Container!
Den Verknüpfungsgraphen und die Druckfunktion für Assets habe ich auch nicht.


Viele Grüße
Andreas

Titel: Re: Problem mit Asset-Verknüpfungen
Beitrag von: Torsten Thau am 18.02.2022 09:56:24
Hallo Andreas,


das ist schon eine etwas ältere Ausgabe von KIX18. Wäre es Dir möglich ein Update vorzunehmen?


CU, Torsten
Titel: Re: Problem mit Asset-Verknüpfungen
Beitrag von: bt1002 am 30.03.2022 11:06:04
Update ist gelaufen. Ich habe den Fehler gefunden. Es hat jemand bei uns im Haus die Asset-Klassen händisch ins Deutsche übersetzt und somit die ganze Vererbung ausgeschalten. Jetzt geht es wieder. Vielen Dank.