<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=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Ubuntu;
        panose-1:2 11 5 4 3 6 2 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.DefaultFontHxMailStyle
        {mso-style-name:"Default Font HxMail Style";
        font-family:"Ubuntu",sans-serif;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span class=DefaultFontHxMailStyle>This example pulled from ours trimmed down for each type, different value types, and has enumeration drop-down style attributes.<o:p></o:p></span></p><p class=MsoNormal><span class=DefaultFontHxMailStyle><o:p> </o:p></span></p><p class=MsoNormal><span class=DefaultFontHxMailStyle><o:p> </o:p></span></p><p class=MsoNormal><span class=DefaultFontHxMailStyle><o:p> </o:p></span></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='border:none;padding:0in'><b>From: </b><a href="mailto:ivan.noris@evolveum.com">Ivan Noris</a><br><b>Sent: </b>Wednesday, March 4, 2020 10:08 AM<br><b>To: </b><a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a><br><b>Subject: </b>Re: [midPoint] Custom Attributes Schema</p></div><p class=MsoNormal><span class=DefaultFontHxMailStyle><o:p> </o:p></span></p><p>Hi,</p><p>the schema can be indeed extended for Roles using XSD file. Could you please check the following?</p><p>- go to Roles</p><p>- click New role</p><p>- check if you can see your new extended attribute in the list (the first tab)</p><p>If you can see the attribute, then the schema has been extended.</p><p>From the error message I may have another hint, maybe you have configured your resource to synchronize the entitlements with users instead of roles.</p><p>If you post the <synchronization> element with its content, it may be more visible.</p><p>Best regards,</p><p>Ivan</p><div><p class=MsoNormal>On 4. 3. 2020 16:56, Rodriguez Villar, Gregorio wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>Hi everyone!<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>We are currently setting up midpoint, and are trying to add custom attributes to a Role´s schema. In the wiki.evolveum page we found that adding an .xsd file adds those custom attributes, but the problem is that once we add such file, when we try to set up the Schema Handling for a csv connector, the following error appears: <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial",sans-serif;color:red'>Invalid target for inbound mapping number 1 for "null" in schema handling for "kind: ENTITLEMENT, intent: default": No definition for 'idofent' in user</span><o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>We are not really sure where to define the custom attributes, we tried adding them to the .xsd file but it did not work. Could you point us in the right direction?<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Best Regards, <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><span style='font-size:9.0pt;color:black;mso-fareast-language:ES-AR'>--</span><o:p></o:p></p><p class=MsoNormal><b><span style='font-size:9.0pt;color:black'>Gregorio Rodriguez Villar</span></b><o:p></o:p></p><p class=MsoNormal><span style='font-size:9.0pt;color:black;mso-fareast-language:ES-AR'>Consultant | Cyber Risk Services | Risk Advisory</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:9.0pt;color:black;mso-fareast-language:ES-AR'>Deloitte & Co. S.A.</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:9.0pt;color:black;mso-fareast-language:ES-AR'>Av. Caseros 3563, 5° piso, </span><span style='font-size:9.0pt;font-family:"Verdana",sans-serif;color:black;mso-fareast-language:ES-AR'>C1263AAE</span><span style='font-size:9.0pt;color:black;mso-fareast-language:ES-AR'>, Buenos Aires, Argentina</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana",sans-serif;color:black;mso-fareast-language:ES-AR'>Tel.:</span><span style='font-size:9.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:ES-AR'> </span><span style='font-size:9.0pt;font-family:"Verdana",sans-serif;color:#7B7B7B;mso-fareast-language:ES-AR'>+54 (11) 4390 2600</span><span style='font-size:9.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:ES-AR'> ext: </span><span style='font-size:9.0pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:ES-AR'>2907</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:9.0pt;color:#70AD47;mso-fareast-language:ES-AR'><a href="mailto:grodriguezvillar@deloitte.com"><span style='color:#0563C1'>grodriguezvillar@deloitte.com</span></a></span><span style='font-size:9.0pt;mso-fareast-language:ES-AR'> | </span><a href="http://www.deloitte.com/ar"><span style='font-size:9.0pt;color:#75787B;mso-fareast-language:ES-AR'>http://www.deloitte.com/ar</span></a><o:p></o:p></p><p class=MsoNormal><span style='font-size:9.0pt;mso-fareast-language:ES-AR'>--</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:9.0pt;mso-fareast-language:ES-AR'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:9.0pt;mso-fareast-language:ES-AR'><img border=0 width=68 height=13 style='width:.7083in;height:.1354in' id="Picture_x0020_6" src="cid:part2.3F192453.4FD3D95B@evolveum.com"></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:9.0pt;mso-fareast-language:ES-AR'> </span><o:p></o:p></p><p class=MsoNormal><a href="https://www.facebook.com/YourFutureatDeloitteArgentina/"><span style='font-size:9.0pt;color:windowtext;mso-fareast-language:ES-AR;text-decoration:none'><img border=0 width=21 height=21 style='width:.2187in;height:.2187in' id="Picture_x0020_5" src="cid:part3.72D99882.218A7733@evolveum.com"></span></a><a href="https://www.linkedin.com/company/deloitte-argentina"><span style='font-size:9.0pt;color:windowtext;mso-fareast-language:ES-AR;text-decoration:none'><img border=0 width=21 height=21 style='width:.2187in;height:.2187in' id="Picture_x0020_4" src="cid:part5.0FE0B72D.F45DD1DF@evolveum.com"></span></a><a href="https://twitter.com/deloittearg"><span style='font-size:9.0pt;color:windowtext;mso-fareast-language:ES-AR;text-decoration:none'><img border=0 width=20 height=21 style='width:.2083in;height:.2187in' id="Picture_x0020_3" src="cid:part7.888040B3.382A1C96@evolveum.com"></span></a><span style='font-size:9.0pt;mso-fareast-language:ES-AR'> </span><a href="https://www.youtube.com/user/DeloitteArgentina"><span style='font-size:9.0pt;color:windowtext;mso-fareast-language:ES-AR;text-decoration:none'><img border=0 width=20 height=21 style='width:.2083in;height:.2187in' id="Picture_x0020_2" src="cid:part9.B9E49778.92C60282@evolveum.com"></span></a><span style='font-size:9.0pt;mso-fareast-language:ES-AR'> </span><a href="https://www.instagram.com/deloitte_ar/"><span style='font-size:9.0pt;color:windowtext;mso-fareast-language:ES-AR;text-decoration:none'><img border=0 width=20 height=21 style='width:.2083in;height:.2187in' id="Picture_x0020_1" src="cid:part11.A265597F.FA1AAE36@evolveum.com"></span></a><o:p></o:p></p><p class=MsoNormal><span style='font-size:9.0pt;mso-fareast-language:ES-AR'>--</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:9.0pt;color:#70AD47;mso-fareast-language:ES-AR'>Antes de imprimir, piensa en tu responsabilidad con el medio ambiente.</span><o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p>Deloitte refers to a Deloitte member firm, one of its related entities, or Deloitte Touche Tohmatsu Limited (“DTTL”). Each Deloitte member firm is a separate legal entity and a member of DTTL. DTTL does not provide services to clients. Please see <a href="www.deloitte.com/about">www.deloitte.com/about</a> to learn more.</p><p class=MsoNormal><br><br><o:p></o:p></p><pre>_______________________________________________</pre><pre>midPoint mailing list</pre><pre><a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a></pre><pre><a href="https://lists.evolveum.com/mailman/listinfo/midpoint">https://lists.evolveum.com/mailman/listinfo/midpoint</a></pre></blockquote><pre>-- </pre><pre>Ivan Noris</pre><pre>Senior Identity Engineer</pre><pre>evolveum.com</pre><p class=MsoNormal><span class=DefaultFontHxMailStyle><o:p> </o:p></span></p></div></body></html>