[midPoint] Newbie question about lookup tables

Nicolas Rossi nrossi at identicum.com
Tue Jan 15 15:53:22 CET 2019


Hi Kevin, of course you can. Here you have the information to use the
LookupTable on the mapping rule to translate the codes:

https://wiki.evolveum.com/display/midPoint/Development+with+LookupTable


Ing Nicolás Rossi
Identicum S.A.
Jorge Newbery 3226
Oficina: +54 (11) 4552-3050
Móvil: +54 (911) 6041-3920
www.identicum.com


On Tue, Jan 15, 2019 at 11:42 AM Collins, Kevin J <K.J.Collins at hw.ac.uk>
wrote:

> Hi,
>
>
> I'm trying to throw together a quick PoC, more for my own benefit, using
> Midpoint.
>
> Is it possible to use lookup tables for more than just presenting an
> enumerated list of values in the Midpoint GUI?
>
> In my case, I have data coming in from different systems. The data sources
> use different code values for similar things, for example in resource A the
> building name is the full text name of the building (e.g. "Big Tall
> Building") whereas in resource B the building name is "BTB". I'd like to
> convert the plain text coming in from resource A into the building code
> with a simple lookup table:
>
> =-=-=-=-=-=-=-=
> <row>
> <key>Big Tall Building</key>
> <value>BTB</value>
> </row>
>
> <row>
> <key>Slightly Smaller Building</key>
> <value>SSB</value>
> </row>
>
> <row>
> <key>Small Broom Cupboard</key>
> <value>SBC</value>
> </row<
> =-=-=-=-=-=-=-=
>
> For the life of me, I can't find an example of how to use the look-up
> table in, say, a mapping to convert one value into its equivalent.
>
> Thanks
>
>
> -Kevin_C
>
>
> --
>
> Kevin Collins,
> Heriot-Watt University
> Scotland,
> EDINBURGH, EH14 4AS,
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20190115/57f4b129/attachment.htm>


More information about the midPoint mailing list