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.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.
    • 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

        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