grouper-users - Re: [grouper-users] WsAssignAttributesLiteResults, question about parameters
Subject: Grouper Users - Open Discussion List
List archive
- From: Steven Carmody <>
- To: "Hyzer, Chris" <>, Grouper-Users <>
- Subject: Re: [grouper-users] WsAssignAttributesLiteResults, question about parameters
- Date: Mon, 22 Aug 2016 13:02:57 -0400
- Ironport-phdr: 9a23:LVTfzRGAmmxbytbQi1HFp51GYnF86YWxBRYc798ds5kLTJ75pM2wAkXT6L1XgUPTWs2DsrQf1LqQ7vurADFIyK3CmU5BWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnZBUin4YEBVN/b4AMqapMSt1vv4s8nWaAVZljenSbJpJ1OrtQjXsI8bjZY0bu4e0BzUunZSPtlNyHlzbQachRHh/sqquYN4/j5Lk/Mn68NaV6jmJeI1QaEOXxo8NGVg39HmqxTFBSCG/H4bXnRexgFUDhbI6ibxV430tSfrnuBn3zace8D6UOZnCnyZ8653RUqw2288PDkj/TSPhw==
DUH.....
thanks for your patience !
On 8/22/16 12:56 PM, Hyzer, Chris wrote:
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.