<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<pre style="background:white"><span style="font-family:"Arial",sans-serif;color:black">Hi,<br><br>i think i would induce a focus mapping in the archetype of the org.<br><br>Little example:<br><br></span><span style="color:#080808"><</span><span style="color:#0033B3">inducement</span><span style="color:#080808">><br>    <</span><span style="color:#0033B3">order</span><span style="color:#080808">>2</</span><span style="color:#0033B3">order</span><span style="color:#080808">><br>    <</span><span style="color:#0033B3">focusType</span><span style="color:#080808">>UserType</</span><span style="color:#0033B3">focusType</span><span style="color:#080808">><br>    <</span><span style="color:#0033B3">focusMappings</span><span style="color:#080808">><br>        <</span><span style="color:#0033B3">mapping</span><span style="color:#080808">><br>            <</span><span style="color:#0033B3">expression</span><span style="color:#080808">><br>                <</span><span style="color:#0033B3">c:script</span><span style="color:#080808">><br>                    <</span><span style="color:#0033B3">code</span><span style="color:#080808">><![CDATA[<br>                        basic.getPropertyValue(immediateRole, "description")<br>                    ]]></</span><span style="color:#0033B3">code</span><span style="color:#080808">><br>                </</span><span style="color:#0033B3">c:script</span><span style="color:#080808">><br>            </</span><span style="color:#0033B3">expression</span><span style="color:#080808">><br>            <</span><span style="color:#0033B3">target</span><span style="color:#080808">><br>                <</span><span style="color:#0033B3">path</span><span style="color:#080808">>organisation</</span><span style="color:#0033B3">path</span><span style="color:#080808">><br>            </</span><span style="color:#0033B3">target</span><span style="color:#080808">><br>        </</span><span style="color:#0033B3">mapping</span><span style="color:#080808">><o:p></o:p></span></pre>
<p class="MsoNormal" style="text-indent:35.4pt"><span style="color:#080808"></</span><span style="color:#0033B3">focusMappings</span><span style="color:#080808">><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#080808"></</span><span style="color:#0033B3">inducement</span><span style="color:#080808">></span><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal"><br>
That should map the description field of the org into the organisation attribute.<br>
<br>
Documentation: <a href="https://docs.evolveum.com/midpoint/reference/expressions/non-tolerant-induced-focus-mapping/">
https://docs.evolveum.com/midpoint/reference/expressions/non-tolerant-induced-focus-mapping/</a><span style="color:black"><br>
<br>
Kind Regards</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">Emil<o:p></o:p></span></p>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="mso-fareast-language:DE">Von:</span></b><span style="mso-fareast-language:DE"> midPoint <midpoint-bounces@lists.evolveum.com>
<b>Im Auftrag von </b>Dornieden, Sebastian via midPoint<br>
<b>Gesendet:</b> Montag, 21. Februar 2022 10:00<br>
<b>An:</b> midpoint@lists.evolveum.com<br>
<b>Cc:</b> Dornieden, Sebastian <Sebastian.Dornieden@comramo.de><br>
<b>Betreff:</b> [midPoint] Mapping orc structure to midpoint user attribute<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Dear MidPoint Community,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">MidPoint is our authoritive ressource for the organization strucure. For easier usage, i would like to map the org where the user is in (Org Stucture) to the user attribute "organization" e.g. via user-object-template.
<o:p></o:p></p>
<p class="MsoNormal">Unfortunately i can't find a function to solve this problem. Do you have a hint for me?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Kind regards<o:p></o:p></p>
<p>Sebastian Dornieden<span style="font-size:10.0pt"><br>
</span>IT-Administrator <span style="font-size:10.0pt"><br>
</span>Abteilung Informationstechnologie<span style="font-size:10.0pt"><br id="c1-id-11">
<br>
</span>COMRAMO KID GmbH<span style="font-size:10.0pt"><br id="c1-id-14">
</span>Bischofsholer Damm 89<span style="font-size:10.0pt"><br id="c1-id-15">
</span>30173 Hannover<span style="font-size:10.0pt"><br>
<br>
</span>Handelsregister: Hannover HRB 56111<span style="font-size:10.0pt"><br id="c1-id-18">
</span>Geschäftsführer: Herr Peter Nohr<span style="font-size:10.0pt"><br>
<br id="c1-id-21">
</span>Mail:      <a href="mailto:Sebastian.Dornieden@comramo.de">Sebastian.Dornieden@comramo.de</a><span style="font-size:10.0pt"><br>
</span>Web:      <a href="http://www.comramo.de">www.comramo.de</a><span style="font-size:10.0pt"><br>
<br>
</span>Hotline der Abteilung Informationstechnologie:<span style="font-size:10.0pt"><br>
</span>+49 511 12401-767 <span style="font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p><span style="font-size:8.0pt">Diese Information ist ausschließlich für den Adressaten bestimmt und kann vertraulich oder gesetzlich geschützte Informationen enthalten. Wenn Sie nicht der bestimmungsgemäße Adressat sind, unterrichten Sie bitte den Absender
 und vernichten Sie diese Mail. Anderen als dem bestimmungsgemäßen Adressaten ist es untersagt, diese E-Mail zu lesen, zu speichern, weiterzuleiten oder ihren Inhalt auf welche Weise auch immer zu verwenden.</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p><span style="font-size:8.0pt">Diese E-Mail enthält kein Anerkenntnis, dass es sich beim Inhalt dieser E-Mail um eine rechtsverbindliche Erklärung der COMRAMO AG bzw. COMRAMO KID GmbH handelt. Erklärungen, welche die COMRAMO AG bzw. die COMRAMO KID GmbH verpflichten,
 bedürfen jeweils der Unterschrift der zeichnungsberechtigten Person der COMRAMO AG bzw. der COMRAMO KID GmbH. Die Allgemeinen Geschäftsbedingungen der COMRAMO AG finden Sie auf
<a href="http://www.comramo.de">www.comramo.de</a> und können sie dort als PDF-Datei herunterladen. Bitte beachten Sie unsere Datenschutzhinweise:
<a href="https://www.comramo.de/datenschutz/">https://www.comramo.de/datenschutz/</a>
</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
</div>
</body>
</html>