<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<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.<br>
</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<br>
</p>
<div class="moz-cite-prefix">On 4. 3. 2020 16:56, Rodriguez Villar,
Gregorio wrote:<br>
</div>
<blockquote type="cite"
cite="mid:DM5PR85MB0300B08EF5724BFACD799D45BFE50@DM5PR85MB0300.NAMPRD85.PROD.OUTLOOK.COM">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
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;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
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]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi everyone!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">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></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:red"
lang="EN-US">Invalid target for inbound mapping number 1 for
"null" in schema handling for "kind: ENTITLEMENT, intent:
default": No definition for 'idofent' in user</span><span
style="color:red" lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">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></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Best Regards, <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;color:black;mso-fareast-language:ES-AR"
lang="EN-US">--<o:p></o:p></span></p>
<p class="MsoNormal"><b><span
style="font-size:9.0pt;color:black" lang="EN-US">Gregorio
Rodriguez Villar<o:p></o:p></span></b></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;color:black;mso-fareast-language:ES-AR"
lang="EN-US">Consultant | Cyber Risk Services | Risk
Advisory<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;color:black;mso-fareast-language:ES-AR">Deloitte
& Co. S.A.<o:p></o:p></span></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<o:p></o:p></span></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><span
style="font-size:9.0pt;mso-fareast-language:ES-AR"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;color:#70AD47;mso-fareast-language:ES-AR"><a class="moz-txt-link-abbreviated" href="mailto:grodriguezvillar@deloitte.com">grodriguezvillar@deloitte.com</a></span><span
style="font-size:9.0pt;mso-fareast-language:ES-AR"> |
</span><a href="http://www.deloitte.com/ar"
moz-do-not-send="true"><span
style="font-size:9.0pt;color:#75787B;mso-fareast-language:ES-AR">http://www.deloitte.com/ar</span></a><span
style="font-size:9.0pt;color:#70AD47;mso-fareast-language:ES-AR"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;mso-fareast-language:ES-AR">--<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;mso-fareast-language:ES-AR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;mso-fareast-language:ES-AR"><img
style="width:.7083in;height:.1354in" id="Picture_x0020_6"
src="cid:part2.3F192453.4FD3D95B@evolveum.com" class=""
width="68" height="13" border="0"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;mso-fareast-language:ES-AR"><o:p> </o:p></span></p>
<p class="MsoNormal"><a
href="https://www.facebook.com/YourFutureatDeloitteArgentina/"
moz-do-not-send="true"><span
style="font-size:9.0pt;color:windowtext;mso-fareast-language:ES-AR;text-decoration:none"><img
style="width:.2187in;height:.2187in"
id="Picture_x0020_5"
src="cid:part3.72D99882.218A7733@evolveum.com" class=""
width="21" height="21" border="0"></span></a><a
href="https://www.linkedin.com/company/deloitte-argentina"
moz-do-not-send="true"><span
style="font-size:9.0pt;color:windowtext;mso-fareast-language:ES-AR;text-decoration:none"><img
style="width:.2187in;height:.2187in"
id="Picture_x0020_4"
src="cid:part5.0FE0B72D.F45DD1DF@evolveum.com" class=""
width="21" height="21" border="0"></span></a><span
style="font-size:9.0pt;mso-fareast-language:ES-AR">
</span><a href="https://twitter.com/deloittearg"
moz-do-not-send="true"><span
style="font-size:9.0pt;color:windowtext;mso-fareast-language:ES-AR;text-decoration:none"><img
style="width:.2083in;height:.2187in"
id="Picture_x0020_3"
src="cid:part7.888040B3.382A1C96@evolveum.com" class=""
width="20" height="21" border="0"></span></a><span
style="font-size:9.0pt;mso-fareast-language:ES-AR"> </span><a
href="https://www.youtube.com/user/DeloitteArgentina"
moz-do-not-send="true"><span
style="font-size:9.0pt;color:windowtext;mso-fareast-language:ES-AR;text-decoration:none"><img
style="width:.2083in;height:.2187in"
id="Picture_x0020_2"
src="cid:part9.B9E49778.92C60282@evolveum.com" class=""
width="20" height="21" border="0"></span></a><span
style="font-size:9.0pt;mso-fareast-language:ES-AR"> </span><a
href="https://www.instagram.com/deloitte_ar/"
moz-do-not-send="true"><span
style="font-size:9.0pt;color:windowtext;mso-fareast-language:ES-AR;text-decoration:none"><img
style="width:.2083in;height:.2187in"
id="Picture_x0020_1"
src="cid:part11.A265597F.FA1AAE36@evolveum.com" class=""
width="20" height="21" border="0"></span></a><span
style="font-size:9.0pt;mso-fareast-language:ES-AR"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;mso-fareast-language:ES-AR">--<o:p></o:p></span></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.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<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" moz-do-not-send="true">www.deloitte.com/about</a>
to learn more.<br>
</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="https://lists.evolveum.com/mailman/listinfo/midpoint">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Ivan Noris
Senior Identity Engineer
evolveum.com
</pre>
</body>
</html>