Cmdb.impact relation_type um alle Gebäude und Räume aufzulisten
-
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 -
-
Lösung ist noch nicht in der aktuellen RPC-Doku drin.
Befehl heißt cmdb.location_tree
Parameter id
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