Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login

    Vermeidung von doppelten Objektnamen

    Scheduled Pinned Locked Moved Entwicklung
    4 Posts 2 Posters 1.3k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      alex123
      last edited by

      In einigen Fällen möchte man für bestimmte Objekttypen die Erstellung von Objekten mit bereits vorhandenen Namen vermeiden. Hierfür wäre eine entsprechende Option in der Objekttyp-Konfiguration wünschenswert.

      Wird dann ein neues Objekt mit bereits verwendeten Namen erstellt, dann sollte eine Fehlermeldung angezeigt werden. Auch in der JSON-RPC Schnittstelle.

      1 Reply Last reply Reply Quote 0
      • creissC Offline
        creiss i-doit Kenner
        last edited by

        Hi,

        das lässt sich in der Config.inc.php einstellen. Dort kann man Informationen Systemweit als "Unique" setzen.

        Lieben Gruß

        NEU - i-doit und IT-Dokumentation bei YouTube: https://www.youtube.com/@donamic_de
        Komplett-Strategie: https://i-doit-trainings.de/it-dokumentation-komplett-strategie/
        i-doit Mastery – https://i-doit-trainings.de/i-doit-mastery

        1 Reply Last reply Reply Quote 0
        • A Offline
          alex123
          last edited by

          @creiss:

          Hi,

          das lässt sich in der Config.inc.php einstellen. Dort kann man Informationen Systemweit als "Unique" setzen.

          Lieben Gruß

          Danke für den Hinweis. Das würde dann aber alle Objekte betreffen? Ich habe z.B. beim Objekttyp "Raum" oft den selben Namen, weil ich als Name die Raumnummer verwendet habe. Hier wäre es OK doppelte Namen zu haben. Bei einem anderen Objektypen - z.B. bei "VoIP Telefon" - möchte ich keine doppelten Namen haben, da ich als Objektnamen die MAC Adresse verwende.

          1 Reply Last reply Reply Quote 0
          • creissC Offline
            creiss i-doit Kenner
            last edited by

            Hi,

            das gilt dann global.

            Lieben Gruß

            NEU - i-doit und IT-Dokumentation bei YouTube: https://www.youtube.com/@donamic_de
            Komplett-Strategie: https://i-doit-trainings.de/it-dokumentation-komplett-strategie/
            i-doit Mastery – https://i-doit-trainings.de/i-doit-mastery

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post