<div dir="ltr">change them to below and it works<div><br></div><div><br></div><div><p style="font-family:sans-serif;font-size:12.8px">    <item><u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">        <ref>c:costCenter</ref><u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">        <limitations><u></u><u></u></p>         <layer>presentation</layer><br>         <access><br>            <read>false</read><br>            <add>false</add><br>            <modify>false</modify><br>         </access><br><p style="font-family:sans-serif;font-size:12.8px">        </limitations><u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">    </item><u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">    <item><u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">        <ref>c:additionalName</ref><u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">        <limitations><u></u><u></u></p>         <layer>presentation</layer><br>         <access><br>            <read>false</read><br>            <add>false</add></div><div>            <modify>false</modify></div><div>         </access><br><p style="font-family:sans-serif;font-size:12.8px">        </limitations><u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">    </item></p><p style="font-family:sans-serif;font-size:12.8px"><br></p><p style="font-family:sans-serif;font-size:12.8px"><br></p><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">JASON</div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 10, 2019 at 10:35 AM Frédéric Lohier <<a href="mailto:frederic@lohier.org">frederic@lohier.org</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 dir="auto"><p style="font-family:sans-serif;font-size:12.8px">Hello,<u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px"><u></u> <u></u></p><p style="font-family:sans-serif;font-size:12.8px">I am trying to hide some items in the standard Users schema as indicated in the wiki : <a href="https://wiki.evolveum.com/display/midPoint/User+Interface+Form+Fields#UserInterfaceFormFields-ObjectTemplate" style="text-decoration-line:none;color:rgb(66,133,244)" target="_blank">https://wiki.evolveum.com/display/midPoint/User+Interface+Form+Fields#UserInterfaceFormFields-ObjectTemplate</a><u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px"><u></u> <u></u></p><p style="font-family:sans-serif;font-size:12.8px">I tried to include the item limitations directly in the defaultUserTemplateRef file referenced in the system configuration, or in a separate template file using the includeRef. Even after restarting Midpoint, I can still see the fields I am trying to hide. What am I missing?<u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px"><u></u> <u></u></p><p style="font-family:sans-serif;font-size:12.8px">I already have a few mappings in the defaultUserTemplateRef file that are working fine, so the template file is processed by Midpoint.<u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px"><u></u> <u></u></p><p style="font-family:sans-serif;font-size:12.8px">I am using Midpoint 3.9, below is the template file :<u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px"><u></u> <u></u></p><p style="font-family:sans-serif;font-size:12.8px"><objectTemplate oid="5c32c917-013a-476e-8f41-50c1ec5eecbc"<u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">   xmlns:xsi='<a href="http://www.w3.org/2001/XMLSchema-instance" style="text-decoration-line:none;color:rgb(66,133,244)" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>'<u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">   xmlns='<a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3" style="text-decoration-line:none;color:rgb(66,133,244)" target="_blank">http://midpoint.evolveum.com/xml/ns/public/common/common-3</a>'<u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">   xmlns:c='<a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3" style="text-decoration-line:none;color:rgb(66,133,244)" target="_blank">http://midpoint.evolveum.com/xml/ns/public/common/common-3</a>'<u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">   xmlns:t='<a href="http://prism.evolveum.com/xml/ns/public/types-3" style="text-decoration-line:none;color:rgb(66,133,244)" target="_blank">http://prism.evolveum.com/xml/ns/public/types-3</a>'<u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">   xmlns:q="<a href="http://prism.evolveum.com/xml/ns/public/query-3" style="text-decoration-line:none;color:rgb(66,133,244)" target="_blank">http://prism.evolveum.com/xml/ns/public/query-3</a>"<u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">   xmlns:ext="<a href="http://midpoint.evolveum.com/xml/ns/story/orgsync/ext" style="text-decoration-line:none;color:rgb(66,133,244)" target="_blank">http://midpoint.evolveum.com/xml/ns/story/orgsync/ext</a>"><u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px"><u></u> <u></u></p><p style="font-family:sans-serif;font-size:12.8px">    <name>Hide some fields from the standard User schema</name><u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">    <item><u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">        <ref>c:costCenter</ref><u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">        <limitations><u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">            <ignore>true</ignore><u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">        </limitations><u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">    </item><u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">    <item><u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">        <ref>c:additionalName</ref><u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">        <limitations><u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">            <ignore>true</ignore><u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">        </limitations><u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">    </item><u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px">   <u></u><u></u></p><p style="font-family:sans-serif;font-size:12.8px"></objectTemplate></p></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>