[midPoint] midPoint Digest, Vol 41, Issue 7

Pálos Gustáv gustav.palos at evolveum.com
Wed Sep 30 12:41:04 CEST 2015


Hi MiSo,

please read this HOWTO:
https://wiki.evolveum.com/pages/viewpage.action?pageId=17760526

To send all values of one multivalue attribute (not only changes),
set readReplaceMode=true on concrete attribute, for example

<attribute>
    <ref>ri:groups</ref>
    <readReplaceMode>true</readReplaceMode>

...

</attribute>


Gusto

2015-09-09 12:00 GMT+02:00 <midpoint-request at lists.evolveum.com>:

> Send midPoint mailing list submissions to
>         midpoint at lists.evolveum.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.evolveum.com/mailman/listinfo/midpoint
> or, via email, send a message with subject or body 'help' to
>         midpoint-request at lists.evolveum.com
>
> You can reach the person managing the list at
>         midpoint-owner at lists.evolveum.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of midPoint digest..."
>
>
> Today's Topics:
>
>    1. scriptedSQL connector get values in update opperation
>       (Steklac Michal)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 9 Sep 2015 07:38:04 +0000
> From: Steklac Michal <Michal_Steklac at datalan.sk>
> To: "midpoint at lists.evolveum.com" <midpoint at lists.evolveum.com>
> Subject: [midPoint] scriptedSQL connector get values in update
>         opperation
> Message-ID: <1441784284.2818.5.camel at steky>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
>
> I use scriptedSQL connector and i have multivalued attribute (groups for
> user in midPoint). How I can get all values for this attributes in update
> operation? Or how I get all add and remove values? I need this values for
> update data in DB.
>
> this code return me add values:
> case "ADD_ATTRIBUTE_VALUES":
> def groups = attributes?.get("GROUPS");
> groups.eachWithIndex { it, i -> println "ADD $i: $it"}
> break
>
> thanks & regards
> MiSo
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.evolveum.com/pipermail/midpoint/attachments/20150909/3a7899b2/attachment-0001.html
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
>
>
> ------------------------------
>
> End of midPoint Digest, Vol 41, Issue 7
> ***************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20150930/95e69f7f/attachment.htm>


More information about the midPoint mailing list