grouper-users - RE: [grouper-users] WsAssignAttributesLiteResults, question about parameters
Subject: Grouper Users - Open Discussion List
List archive
- From: "Hyzer, Chris" <>
- To: Steven Carmody <>, Grouper-Users <>
- Subject: RE: [grouper-users] WsAssignAttributesLiteResults, question about parameters
- Date: Mon, 22 Aug 2016 16:56:14 +0000
- Accept-language: en-US
- Authentication-results: spf=none (sender IP is ) ;
- Ironport-phdr: 9a23:kTJTgRZjVIjx+C1IvWjxPdD/LSx+4OfEezUN459isYplN5qZpcm5bnLW6fgltlLVR4KTs6sC0LWG9f27EjVdqb+681k8M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aMlzFOAF0PuX4HJLJx4Tyjrjqus6bXwIdvyawf750ZD6/twDWuthe1ZB+J7g8zCzCq2FNfOhH7WlyIk2V2Rvw+5H0tLF59DlItuhkytVNS76yK6siSqFAAS5jLns4/tbDtB/fQBGJ62dGFGgaj0wbLRLC6USwfobjvzG+/sF9wiiBd4WiSLs0SCav9Y9qUxSulT8KMTh//W3K3J8jxJlHqQ6s8kQsi7XfZ5uYYb8nJvvQ
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
You have a comma after assign_attr... remove it and try :)
Thanks
Chris
-----Original Message-----
From:
[mailto:]
On Behalf Of Steven Carmody
Sent: Monday, August 22, 2016 12:47 PM
To: Grouper-Users
<>
Subject: [grouper-users] WsAssignAttributesLiteResults, question about
parameters
Hi,
We have a number of AttributeDefName definitions that allow only a
single value. We have a Grouper GUI that updates these values. Currently
the GUI code does NOT check to see if its changing the value of one of
these attributes -- it just tries to save an attribute value.
I'm trying to figure out what values to use for
attributeAssignOperation and attributeAssignValueOperation
in this situation. I'm currently using:
'attributeAssignOperation' => 'assign_attr,',
'attributeAssignValueOperation' => 'replace_values',
but I just got this error message, which I find a bit confusing:
[resultMessage] => java.lang.RuntimeException: Cant find
AttributeAssignOperation from string: 'assign_attr,', expecting one of:
assign_attr, add_attr, replace_attrs, remove_attr,
The documentation says that these parameters can have these values:
attributeAssignOperation - operation to perform for attribute on owners,
from enum AttributeAssignOperation assign_attr, add_attr, remove_attr
attributeAssignValueOperation - operation to perform for attribute value
on attribute assignments: assign_value, add_value, remove_value,
replace_values
do I have to know whether I'm assigning or replacing ? How do I say
"just set the value to [this value] whether or not there was a value
there previously?"
thanks !
- [grouper-users] WsAssignAttributesLiteResults, question about parameters, Steven Carmody, 08/22/2016
- RE: [grouper-users] WsAssignAttributesLiteResults, question about parameters, Hyzer, Chris, 08/22/2016
- Re: [grouper-users] WsAssignAttributesLiteResults, question about parameters, Steven Carmody, 08/22/2016
- RE: [grouper-users] WsAssignAttributesLiteResults, question about parameters, Hyzer, Chris, 08/22/2016
Archive powered by MHonArc 2.6.19.