Hi,
Is there any Orion verb to update custom properties for group/container?
If you're already on NPM 11.5+, there's possible to use classic update operation the same way as you use that for nodes Custom properties. For example in powershell:
$swis = Connect-Swis "qa-brn-jpel-01" -UserName "admin" -Password ""
$uri= Get-SwisData $swis "select top 1 uri from orion.groups"
$CPuri= $uri + '/CustomProperties'
Set-SwisObject $swis $CPuri @{Comments = 'Custom Comment 1'}
Honza
Hi Diner,
I try to update custom properties for group bu I got error "Navigation property 'CustomProperties' does not exist"
And there is my update code block.
swis.Update(uri + "/CustomProperties", new PropertyBag { { _Pair.Key, _Pair.Value } });
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 195,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.