Hi,
Is there any Orion verb to update custom properties for group/container?
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 } });
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
Is there any suggestion?
Your code looks fine. I just tested it myself and it worked for me. Are you on NPM 11.5?
I work on NPM 11.5 version. Is it necessary plus version or the version is OK?
Ok, I transformed the service link from v2 to v3. There is the solution. Sorry it is my fault.