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

    Cmdb.impact relation_type um alle Gebäude und Räume aufzulisten

    Scheduled Pinned Locked Moved Entwicklung
    2 Posts 1 Posters 1.2k 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.
    • T Offline
      tsd
      last edited by

      Hi,
      ich versuche mir mit cmdb.impact über die RPC-Schnittstelle alle Gebäude und alle darin enthaltenen Gebäude auszugeben.
      Leider funktioniert es mit dem relation_type "is_location_of" nicht, da dort für jedes Element der Elternelement ausgegeben wird.
      Geplant ist ein Menu welches wie folgt aussieht

      • Gebäude 1

        • Raum1

          • Objekt 1

          • Objekt 2

        • Raum2

      • Gebäude 2

      Ich benötige also einmal den Relation Type für das holen aller Gebäude bzw. Räume und dann ein Relation Type um alle Objekte eines Raums zu holen.
      Wäre super, wenn mir da jemand helfen könnte.
      Gruß Tsd

      1 Reply Last reply Reply Quote 0
      • T Offline
        tsd
        last edited by

        Lösung ist noch nicht in der aktuellen RPC-Doku drin.
        Befehl heißt cmdb.location_tree
        Parameter id

        1 Reply Last reply Reply Quote 0
        • First post
          Last post