<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Mike,</p>
    <p>you can use object template for your focus objects (either via
      archetype or globally defined in System configuration for e.g.
      UserType):<br>
    </p>
    <p><objectTemplate ...><br>
        <name>User Template</name><br>
        <item><br>
          <ref>additionalName</ref><br>
      <b>    <displayOrder>115</displayOrder></b><br>
          <displayName>Middle Name</displayName><br>
        </item><br>
      </objectTemplate></p>
    <p>You can find the default orders in schema doc, e.g. for 4.9:
<a class="moz-txt-link-freetext" href="https://download.evolveum.com/midpoint/4.9-support/midpoint-4.9-support-schemadoc/http---midpoint-evolveum-com-xml-ns-public-common-common-3/index.html">https://download.evolveum.com/midpoint/4.9-support/midpoint-4.9-support-schemadoc/http---midpoint-evolveum-com-xml-ns-public-common-common-3/index.html</a></p>
    <p>(all schemas here:
<a class="moz-txt-link-freetext" href="https://download.evolveum.com/midpoint/4.9-support/midpoint-4.9-support-schemadoc/">https://download.evolveum.com/midpoint/4.9-support/midpoint-4.9-support-schemadoc/</a>)</p>
    <p>Best regards,</p>
    <p>Ivan<br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 12. 3. 2025 10:44,
      mikhail.nikolaenko via midPoint wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:DKcCsU-cNEnp0o0ggYpiJpfow3l5EdlxPfqS0gxt2c5unjUfgYvsZ2-TqgQyBe-1bh42adiW51Xc4BbyZy-XpxMUJvyemVpvUve5i52WOIA=@proton.me">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div style="font-family: Arial, sans-serif; font-size: 14px;">Hello,</div>
      <div style="font-family: Arial, sans-serif; font-size: 14px;"><br>
      </div>
      <div style="font-family: Arial, sans-serif; font-size: 14px;">Can
        some one give me a hint how I can define items order in the
        panel. For example I have the following panel for UserType
        object details:<br>
        <span>                <panel></span>
        <div><span>                   
            <identifier>basic</identifier></span></div>
        <span></span>...</div>
      <div style="font-family: Arial, sans-serif; font-size: 14px;"><span> 
                            <container></span>
        <div><span>                       
            <identifier>organization-details</identifier></span></div>
        <div><span>                        <display></span></div>
        <div><span>                            <label>Organization
            Details</label></span></div>
        <div><span>                        </display></span></div>
        <div><span>                        <item></span></div>
        <div><span>                           
            <path>extension/company</path></span></div>
        <div><span>                        </item></span></div>
        <div><span>                        <item></span></div>
        <div><span>                           
            <path>costCenter</path></span></div>
        <div><span>                        </item></span></div>
        <div><span>                        <item></span></div>
        <div><span>                           
            <path>title</path></span></div>
        <div><span>                        </item></span></div>
        <span>                    </container></span><br>
      </div>
      <div style="font-family: Arial, sans-serif; font-size: 14px;"><span><br>
        </span></div>
      <div style="font-family: Arial, sans-serif; font-size: 14px;"><span>And
          I want to have company as first attribute in the form and
          costCenter as second. Currently midPoint shows it in the
          different order. How I can specify this?</span></div>
      <div style="font-family: Arial, sans-serif; font-size: 14px;"><span><br>
        </span></div>
      <div style="font-family: Arial, sans-serif; font-size: 14px;">With
        best regards,</div>
      <div style="font-family: Arial, sans-serif; font-size: 14px;">Mike</div>
      <div class="protonmail_signature_block"
        style="font-family: Arial, sans-serif; font-size: 14px;">
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre wrap="" class="moz-quote-pre">_______________________________________________
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
Expert Identity Engineer
evolveum.com
</pre>
  </body>
</html>