<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(7,55,99)">Hi Kevin, of course you can. Here you have the information to use the LookupTable on the mapping rule to translate the codes:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(7,55,99)"><br></div><div class="gmail_default"><font color="#073763" face="arial, helvetica, sans-serif"><a href="https://wiki.evolveum.com/display/midPoint/Development+with+LookupTable">https://wiki.evolveum.com/display/midPoint/Development+with+LookupTable</a></font><br></div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font face="arial, helvetica, sans-serif"><br><br><font color="#444444">Ing Nicolás Rossi</font><br><font color="#999999">Identicum S.A.</font><br><font color="#999999">Jorge Newbery 3226</font><br><font color="#999999">Oficina: +54 (11) 4552-3050</font></font></div><div dir="ltr"><font face="arial, helvetica, sans-serif"><font color="#999999">Móvil: +54 (911) 6041-3920<br><a href="http://www.identicum.com" target="_blank">www.identicum.com</a></font></font><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jan 15, 2019 at 11:42 AM Collins, Kevin J <<a href="mailto:K.J.Collins@hw.ac.uk">K.J.Collins@hw.ac.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="text-align:left;direction:ltr"><div>Hi,</div><div><br></div><div><br></div><div>I'm trying to throw together a quick PoC, more for my own benefit, using Midpoint.</div><div><br></div><div>Is it possible to use lookup tables for more than just presenting an enumerated list of values in the Midpoint GUI?  </div><div><br></div><div>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:</div><div><br></div><div>=-=-=-=-=-=-=-=</div><div><row></div><div> <key>Big Tall Building</key></div><div> <value>BTB</value></div><div></row></div><div><br></div><div><row></div><div>     <key>Slightly Smaller Building</key></div><div> <value>SSB</value></div><div></row></div><div><br></div><div><row></div><div>     <key>Small Broom Cupboard</key></div><div>      <value>SBC</value></div><div></row<</div><div>=-=-=-=-=-=-=-=</div><div><br></div><div>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. </div><div><br></div><div>Thanks</div><div><br></div><div><br></div><div>-Kevin_C</div><div><br></div><div><br></div><div><span><pre>-- <br></pre><font color="808080">Kevin Collins,<br>Heriot-Watt University<br>
Scotland<font color="808080"><font color="808080">,</font></font><br>EDINBURGH, EH14 4AS,</font><div><font color="808080"><br></font></div></span></div></div>
_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
</blockquote></div>