Dialog parents
-
Hallo zusammen,
bei Dialogen gibt es bestimmte Auswahlen die einen Parent haben. Zum Beispiel ist 'C__CATG__MODEL' 'manufacturer' ein Parent für 'C__CATG__MODEL' 'title'. Wenn ich allerdings einen neuen Dialog anlege habe ich keine Möglichkeit den Parent mitzugeben. Auszug aus der Doku zum Anlegen von Dialogen:
{ "version": "2.0", "method": "cmdb.dialog.create", "params": { "category": "C__CATG__CPU", "property": "manufacturer", "value": "IBM", "apikey": "xxx", "language": "en" }, "id": 1 }Wie kann ich hier einen Parent einfügen? Ich habe auch schon versucht einfach einen weiteren 'C__CATG__MODEL' 'title' ohne Parent anzulegen und zuzuweisen. Das funktioniert allerdings nicht.
Könnt ihr mir hier weiterhelfen?
Vielen Dank schon Mal!
-
Hallo zusammen,
für alle die das gleiche Problem haben. Ich konnte mittlerweile über den Support eine Antwort bekommen. Man kann den Parent einfach per Name mitgeben. Bsp. vom Support:
{ "jsonrpc": "2.0", "method": "cmdb.dialog.create", "params": { "objID": 29, "apikey": "xxxx", "language": "en", "category": "C__CATG__MODEL", "property": "manufacturer", "value": "Tester" }, "id": 1 } { "jsonrpc": "2.0", "method": "cmdb.dialog.create", "params": { "objID": 29, "apikey": "xxxx", "language": "en", "category": "C__CATG__MODEL", "property": "title", "value": "Tester", "parent": "Tester" }, "id": 1 }
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