<div dir="ltr"><div dir="ltr">Snapped a few from our erp, see attached<div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 20, 2019 at 1:24 AM Vladislavs Filipciks <<a href="mailto:vladislavs.filipciks@csolutions.lv">vladislavs.filipciks@csolutions.lv</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><div style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)"><div>Hi Jason,<br></div><div><br></div><div>Can You share with me Your resrouce config, object synchronization part?<br></div><div>Because I've tried almost all compinations of there to insert objectTemplateRef and non worked:)<br></div><div>Thanks.<br></div><div><br></div><hr id="gmail-m_598735328983163758zwchr"><div><b>From: </b>"Jason Everling" <<a href="mailto:jeverling@bshp.edu" target="_blank">jeverling@bshp.edu</a>><br><b>To: </b>"midpoint" <<a href="mailto:midpoint@lists.evolveum.com" target="_blank">midpoint@lists.evolveum.com</a>><br><b>Sent: </b>Saturday, 18 May, 2019 22:08:57<br><b>Subject: </b>Re: [midPoint] Two (or more) objectTemplate in resource sync<br></div><br><div><div dir="auto">we do, add the object template to each reaction as needed and not there where you have it. Move it for all intents</div>
<div class="gmail_quote">On May 18, 2019, at 13:43, Vladislavs Filipciks <<a href="mailto:vladislavs.filipciks@csolutions.lv" target="_blank">vladislavs.filipciks@csolutions.lv</a>> wrote:<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)"><div>Hello everyone.<br></div><br><div>Does any tried to use two or more objectTemplate in one resource synchronization? Is it even possible in MidPoint?<br></div><br><div>Resource look like:<br></div><br><div> <objectType><br> <kind>account</kind><br> <strong><intent>default</intent></strong><br> <displayName>CS Group User Account</displayName><br> <br> <objectClass>ri:user</objectClass><br></div><div>...<br></div><div> </objectType> </div><br><div><objectType><br> <kind>account</kind><br> <strong> <intent>external</intent></strong><br> <displayName>CS AD External Account</displayName><br> <br> <objectClass>ri:user</objectClass><br></div><div>....<br></div><div></objectType><br></div><br><div><objectSynchronization><br> <name>Account sync</name><br> <objectClass>ri:user</objectClass><br> <kind>account</kind><br> <strong> <intent>default</intent></strong><br> <focusType>UserType</focusType><br> <enabled>true</enabled><br> <correlation><br> <q:equal><br> <q:path>c:name</q:path><br> <expression><br> <path>$shadow/attributes/sAMAccountName</path><br> </expression><br> </q:equal><br> </correlation><br> <strong><objectTemplateRef oid="666-666-111"/></strong><br></div><div>...<br></div><div></objectSynchronization><br></div><div><strong><br></strong></div><div><objectSynchronization><br> <name>External Account sync</name><br> <objectClass>ri:user</objectClass><br> <kind>account</kind><br> <strong><intent>external</intent></strong><br> <focusType>UserType</focusType><br> <enabled>true</enabled><br> <correlation><br> <q:equal><br> <q:path>c:name</q:path><br> <expression><br> <path>$shadow/attributes/sAMAccountName</path><br> </expression><br> </q:equal><br> </correlation></div><div><br> <strong> <objectTemplateRef oid="666-666-222"/></strong><br></div><div>...<br></div><div> </objectSynchronization> </div><br><div>When I import account with intent <strong>default</strong> correct objectTemplate is used ( <strong>666-666-111</strong> ).<br></div><div>But when I try to import account with intent <strong>external </strong>then the same objectTemplate from objectSynchronization of <strong>account/default</strong> is used - <strong>666-666-111</strong>, but I would like to use <strong>666-666-222</strong> for <strong>account/external</strong>.<br></div><br><div>Thanks in advance.<br></div><div><strong><br></strong></div></div><pre class="gmail-m_598735328983163758blue"><hr><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" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><br></pre></blockquote></div><br>_______________________________________________<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" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><br></div></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>