[midPoint] Issue with inbound mapping from singled-valued to multi-valued attribute

Ivan Noris ivan.noris at evolveum.com
Fri Jun 19 12:19:07 CEST 2020


Hi Javier,

yes, you can use ranges to fix that:

                <attribute>
                    <ref>ri:department</ref>
                    <displayName>Department name</displayName>
                    <limitations>
                        <access>
                            <read>true</read>
                            <add>false</add>
                            <modify>false</modify>
                        </access>
                    </limitations>
                    <inbound>
                      <target>
                        <path>organizationalUnit</path>
*                        <!-- Range used to REPLACE instead of ADD the
value**
**                        (organizationalUnit is multi-value) -->**
**                        <set>**
**                            <predefined>all</predefined>**
**                        </set>*
                      </target>
                    </inbound>

                </attribute>

See also:
https://wiki.evolveum.com/display/midPoint/Inbound+Mapping#InboundMapping-RangeOfInboundMappings

See also:
https://wiki.evolveum.com/display/midPoint/Mapping#Mapping-MappingRange

I think the default was changed between 3.9 and 4.0.

Best regards,

Ivan

On 17. 6. 2020 16:23, Javier Martinez wrote:
> Hi,
> We are having an issue when having an inbound mapping from a
> single-valued attribute to a multi-valued attribute. When modifying
> the value from the resource, instead of replacing the value, it is
> adding new values to the attribute in midPoint. Tested with attributes
> "organization" and "subtype".
> Working OK in midpoint 3.9, but failing with midpoint 4.0.1 and above.
> Is there any way to keep this issue from happening?
> Regards
> -- 
> Javier Martínez
> Identicum S.A.
> Jorge Newbery 3226
> Tel: +54 (11) 4552-3050
> www.identicum.com <http://www.identicum.com/>
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> https://lists.evolveum.com/mailman/listinfo/midpoint

-- 
Ivan Noris
Senior Identity Engineer
evolveum.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20200619/e4c53edf/attachment.htm>


More information about the midPoint mailing list