<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>No, it's</p>
    <p>gui\admin-gui\src\main\resources\localization\Midpoint.properties</p>
    <p>Best regards,<br>
    </p>
    <pre class="moz-signature" cols="72">Pavol Mederly
Software developer
evolveum.com
</pre>
    <div class="moz-cite-prefix">On 24.01.2017 14:53, mceylan wrote:<br>
    </div>
    <blockquote
cite="mid:CADu1p_jJodNTYo80PO6ZHqh54z_eU0-bCndGWNiDUb-bspe8_Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div> hi, Where do we add the column name?<br>
        </div>
        <div><br>
        </div>
        <div>schema.properties?   for example </div>
        <div><br>
        </div>
        <div>ObjectType.AccountType=Account</div>
        <div><br>
        </div>
        <div>tckn is add column name = ObjectType.tckn=TCKN ????</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2017-01-24 15:18 GMT+02:00 Pavol
          Mederly <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:mederly@evolveum.com" target="_blank">mederly@evolveum.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <p>Hello.</p>
              <p>I cannot see the screenshot in detail. What's the
                problem, exactly? Maybe you see "pageUsers.tckn" as the
                column name. In that case, be sure to either replace <tt>createStringResource("pageUser<wbr>s.tckn")</tt>
                with the exact string you want to have as a column
                label, or create a "pageUsers.tckn" entry in
                midpoint.properties file.</p>
              <p><span class=""> </span></p>
              <blockquote type="cite"><span style="font-size:12.8px">I
                  don't know manually added</span></blockquote>
              Ah I see. It's OK then. Nothing more should be necessary,
              other than fixing the column name.
              <p>Or is there any other problem?<br>
              </p>
              <span class="">
                <pre class="m_-326157954499737906moz-signature" cols="72">Pavol Mederly
Software developer
<a moz-do-not-send="true" href="http://evolveum.com" target="_blank">evolveum.com</a>
</pre>
              </span>
              <div>
                <div class="h5">
                  <div class="m_-326157954499737906moz-cite-prefix">On
                    24.01.2017 13:10, mceylan wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">Thanks for you answer.  I used the
                      way you write. <span style="font-size:12.8px">And
                        then it looks like this</span>
                      <div><span style="font-size:12.8px"><br>
                        </span></div>
                      <div><span style="font-size:12.8px"><img
                            src="cid:part3.2F2382B7.2ACCE086@evolveum.com"
                            alt="Satır içi resim 2" height="313"
                            width="562"><br>
                        </span></div>
                      <div><span style="font-size:12.8px"><br>
                        </span></div>
                      <div><span style="font-size:12.8px"><br>
                        </span></div>
                      <div><span style="font-size:12.8px">and create
                          tckn.xsd schema file. Ant hen it looks like
                          this </span></div>
                      <div><span style="font-size:12.8px"><br>
                        </span></div>
                      <div><span style="font-size:12.8px"><br>
                        </span></div>
                      <div>
                        <div><span style="font-size:12.8px"><?xml
                            version="1.0" encoding="UTF-8"
                            standalone="yes"?></span></div>
                        <div><span style="font-size:12.8px"><!--</span></div>
                        <div><span style="font-size:12.8px">  ~
                            Copyright (c) 2010-2013 Evolveum</span></div>
                        <div><span style="font-size:12.8px">  ~</span></div>
                        <div><span style="font-size:12.8px">  ~ Licensed
                            under the Apache License, Version 2.0 (the
                            "License");</span></div>
                        <div><span style="font-size:12.8px">  ~ you may
                            not use this file except in compliance with
                            the License.</span></div>
                        <div><span style="font-size:12.8px">  ~ You may
                            obtain a copy of the License at</span></div>
                        <div><span style="font-size:12.8px">  ~</span></div>
                        <div><span style="font-size:12.8px">  ~     <a
                              moz-do-not-send="true"
                              href="http://www.apache.org/licenses/LICENSE-2.0"
                              target="_blank">http://www.apache.org/<wbr>licenses/LICENSE-2.0</a></span></div>
                        <div><span style="font-size:12.8px">  ~</span></div>
                        <div><span style="font-size:12.8px">  ~ Unless
                            required by applicable law or agreed to in
                            writing, software</span></div>
                        <div><span style="font-size:12.8px">  ~
                            distributed under the License is distributed
                            on an "AS IS" BASIS,</span></div>
                        <div><span style="font-size:12.8px">  ~ WITHOUT
                            WARRANTIES OR CONDITIONS OF ANY KIND, either
                            express or implied.</span></div>
                        <div><span style="font-size:12.8px">  ~ See the
                            License for the specific language governing
                            permissions and</span></div>
                        <div><span style="font-size:12.8px">  ~
                            limitations under the License.</span></div>
                        <div><span style="font-size:12.8px">  --></span></div>
                        <div><span style="font-size:12.8px"><br>
                          </span></div>
                        <div><span style="font-size:12.8px"><!-- This
                            is a runtime schema that defines data types
                            used in the</span></div>
                        <div><span style="font-size:12.8px"><extension>
                            part of the objects. --></span></div>
                        <div><span style="font-size:12.8px"><br>
                          </span></div>
                        <div><span style="font-size:12.8px"><xsd:schema
                            elementFormDefault="qualified"</span></div>
                        <div><span style="font-size:12.8px">           
                            targetNamespace="<a moz-do-not-send="true"
                              href="http://prism.evolveum.com/xml/ns/demo/extension-electra"
                              target="_blank">http://prism.<wbr>evolveum.com/xml/ns/demo/<wbr>extension-electra</a>"</span></div>
                        <div><span style="font-size:12.8px">           
                            xmlns:tns="<a moz-do-not-send="true"
                              href="http://prism.evolveum.com/xml/ns/demo/tckn"
                              target="_blank">http://prism.<wbr>evolveum.com/xml/ns/demo/tckn</a>"</span></div>
                        <div><span style="font-size:12.8px">           
                            xmlns:a="<a moz-do-not-send="true"
                              href="http://prism.evolveum.com/xml/ns/public/annotation-3"
                              target="_blank">http://prism.<wbr>evolveum.com/xml/ns/public/<wbr>annotation-3</a>"</span></div>
                        <div><span style="font-size:12.8px">           
                            xmlns:c="<a moz-do-not-send="true"
                              href="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
                              target="_blank">http://midpoint.<wbr>evolveum.com/xml/ns/public/<wbr>common/common-3</a>"</span></div>
                        <div><span style="font-size:12.8px">           
                            xmlns:xsd="<a moz-do-not-send="true"
                              href="http://www.w3.org/2001/XMLSchema"
                              target="_blank">http://www.w3.org/<wbr>2001/XMLSchema</a>"></span></div>
                        <div><span style="font-size:12.8px"><br>
                          </span></div>
                        <div><span style="font-size:12.8px">   
                            <xsd:complexType
                            name="UserExtensionType"></span></div>
                        <div><span style="font-size:12.8px">       
                            <xsd:annotation></span></div>
                        <div><span style="font-size:12.8px">           
                            <xsd:appinfo></span></div>
                        <div><span style="font-size:12.8px">           
                                <a:extension ref="c:UserType"/></span></div>
                        <div><span style="font-size:12.8px">           
                            </xsd:appinfo></span></div>
                        <div><span style="font-size:12.8px">       
                            </xsd:annotation></span></div>
                        <div><span style="font-size:12.8px">       
                            <xsd:sequence></span></div>
                        <div><span style="font-size:12.8px">           
                            <xsd:element name="tckn"
                            type="xsd:string" minOccurs="0"
                            maxOccurs="1"></span></div>
                        <div><span style="font-size:12.8px">           
                                        <xsd:annotation></span></div>
                        <div><span style="font-size:12.8px">           
                                                <xsd:appinfo></span></div>
                        <div><span style="font-size:12.8px">           
                                                       
                            <a:indexed>true</a:indexed></span></div>
                        <div><span style="font-size:12.8px">           
                                                       
                            <a:displayName>TCKN</a:<wbr>displayName></span></div>
                        <div><span style="font-size:12.8px">           
                                                       
                            <a:displayOrder>120</a:<wbr>displayOrder></span></div>
                        <div><span style="font-size:12.8px"><br>
                          </span></div>
                        <div><span style="font-size:12.8px"><br>
                          </span></div>
                        <div><span style="font-size:12.8px">           
                                                </xsd:appinfo></span></div>
                        <div><span style="font-size:12.8px"><br>
                          </span></div>
                        <div><span style="font-size:12.8px">           
                                        </xsd:annotation></span></div>
                        <div><span style="font-size:12.8px">           
                            </xsd:element></span></div>
                        <div><span style="font-size:12.8px"><br>
                          </span></div>
                        <div><span style="font-size:12.8px">       
                            </xsd:sequence></span></div>
                        <div><span style="font-size:12.8px">   
                            </xsd:complexType></span></div>
                        <div><span style="font-size:12.8px"><br>
                          </span></div>
                        <div><span style="font-size:12.8px"></xsd:schema></span></div>
                        <div style="font-size:12.8px"><br>
                        </div>
                      </div>
                      <div style="font-size:12.8px"><br>
                      </div>
                      <div style="font-size:12.8px"><br>
                      </div>
                      <div style="font-size:12.8px"><br>
                      </div>
                      <div><span style="font-size:12.8px">You: I assume
                          you manually added this constant</span><span
                          style="font-size:12.8px"><br>
                        </span></div>
                      <div><span style="font-size:12.8px"><br>
                        </span></div>
                      <div><span style="font-size:12.8px"><br>
                        </span></div>
                      <div><span style="font-size:12.8px">I don't know
                          manually added</span></div>
                      <div><span style="font-size:12.8px"><br>
                        </span></div>
                      <div><span style="font-size:12.8px"><br>
                        </span></div>
                      <div><span style="font-size:12.8px">Thanks,</span></div>
                      <div><span style="font-size:12.8px"><br>
                        </span></div>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">2017-01-24 11:14
                        GMT+02:00 Pavol Mederly <span dir="ltr"><<a
                            moz-do-not-send="true"
                            href="mailto:mederly@evolveum.com"
                            target="_blank">mederly@evolveum.com</a>></span>:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          <div bgcolor="#FFFFFF" text="#000000">
                            <p>Hello Merve,</p>
                            <p>sorry for the late answer.</p>
                            <p>It can be done in this way:</p>
                            <p><tt>        column = new
                                AbstractColumn<SelectableBean<<wbr>UserType>,
                                String>(</tt><tt>createStringResource("<wbr>pageUsers.tckn"))
                                {</tt><tt><br>
                              </tt></p>
                            <p><tt>            @Override</tt><tt><br>
                              </tt><tt>            public void
                                populateItem(Item<ICellPopulat<wbr>or<SelectableBean<UserType>>>
                                cellItem,</tt><tt><br>
                              </tt><tt>                    String
                                componentId,
                                IModel<SelectableBean<UserType<wbr>>>
                                model) {</tt><tt><br>
                              </tt><tt>                String tckn =
                                null;</tt><tt><br>
                              </tt><tt>                UserType user =
                                model.getObject().getValue();</tt><tt><br>
                              </tt><tt>                if (user != null
                                && user.getExtension() != null)
                                {</tt><tt><br>
                              </tt><tt>                   
                                PrismProperty<String> tcknProperty
                                = <br>
                                                       
                                user.getExtension().asPrismCon<wbr>tainerValue().findProperty(new
                                QName("tckn"));</tt><tt><br>
                              </tt><tt>                    if
                                (tcknProperty != null) {</tt><tt><br>
                              </tt><tt>                        tckn =
                                tcknProperty.getRealValue();</tt><tt><br>
                              </tt><tt>                    }</tt><tt><br>
                              </tt><tt>                }</tt><tt><br>
                              </tt><tt>                cellItem.add(new
                                Label(componentId, tckn));</tt><tt><br>
                              </tt><tt>            }</tt><tt><br>
                              </tt><tt>        };</tt><tt><br>
                              </tt><br>
                            </p>
                            <p> </p>
                            <p>And then it looks like this (place the
                              column appropriately for your situation):<br>
                            </p>
                            <p><img
                                src="cid:part11.3CD6763C.056BBF09@evolveum.com"
                                alt=""></p>
                            <p>You could probably replace <tt>new
                                QName("tckn") </tt>with <tt>UserType.EXTENSION_TCKN</tt>
                              - I assume you manually added this
                              constant. (Although beware that UserType
                              is a generated class, so this constant
                              probably gets overwritten at "mvn clean
                              install".)</p>
                            <p>Hope this helps,<br>
                            </p>
                            <pre class="m_-326157954499737906m_1345948681106112499moz-signature" cols="72">Pavol Mederly
Software developer
<a moz-do-not-send="true" href="http://evolveum.com" target="_blank">evolveum.com</a>
</pre>
                            <div>
                              <div class="m_-326157954499737906h5">
                                <div
                                  class="m_-326157954499737906m_1345948681106112499moz-cite-prefix">On
                                  24.01.2017 7:13, mceylan wrote:<br>
                                </div>
                              </div>
                            </div>
                            <blockquote type="cite">
                              <div>
                                <div class="m_-326157954499737906h5">
                                  <div dir="ltr"><span
                                      style="font-size:12.8px">hi,</span>
                                    <div style="font-size:12.8px"><br>
                                    </div>
                                    <div style="font-size:12.8px">create
                                      custom extension schema "tckn"</div>
                                    <div style="font-size:12.8px"><br>
                                    </div>
                                    <div style="font-size:12.8px">I want
                                      Tckn is add admin page users list
                                      column. For Example </div>
                                    <div style="font-size:12.8px"><br>
                                    </div>
                                    <div style="font-size:12.8px"><br>
                                    </div>
                                    <div style="font-size:12.8px">name  
                                      name givenName  familyName  tckn
                                       emailAddress</div>
                                    <div style="font-size:12.8px"><br>
                                    </div>
                                    <div style="font-size:12.8px"> </div>
                                    <div style="font-size:12.8px">
                                      <div><br>
                                      </div>
                                      <div>PageUsers.java </div>
                                      <div><br>
                                      </div>
                                      <div>
                                        <div>column = new
                                          PropertyColumn(createStringRes<wbr>ource("Usertype.tckn"),UserTyp<wbr>e.EXTENSION_TCKN.getLocalPart(<wbr>),SelectableBean.F_VALUE
                                          + ".tckn");</div>
                                        <div><span class="m_-326157954499737906m_1345948681106112499gmail-m_5833605331154335239gmail-Apple-tab-span" style="white-space:pre-wrap">              </span>columns.add(column);</div>
                                        <div><span class="m_-326157954499737906m_1345948681106112499gmail-m_5833605331154335239gmail-Apple-tab-span" style="white-space:pre-wrap">              </span></div>
                                      </div>
                                    </div>
                                    <div><br>
                                    </div>
                                    <div><br>
                                    </div>
                                    <div><br>
                                    </div>
                                    -- <br>
                                    <div
                                      class="m_-326157954499737906m_1345948681106112499gmail_signature">
                                      <div dir="ltr">Merve CEYLAN</div>
                                    </div>
                                  </div>
                                  <br>
                                  <fieldset
                                    class="m_-326157954499737906m_1345948681106112499mimeAttachmentHeader"></fieldset>
                                  <br>
                                </div>
                              </div>
                              <pre>______________________________<wbr>_________________
midPoint mailing list
<a moz-do-not-send="true" class="m_-326157954499737906m_1345948681106112499moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a>
<a moz-do-not-send="true" class="m_-326157954499737906m_1345948681106112499moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/mail<wbr>man/listinfo/midpoint</a>
</pre>
    </blockquote>
    

  </div>


______________________________<wbr>_________________

midPoint mailing list

<a moz-do-not-send="true" href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a>

<a moz-do-not-send="true" href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/mail<wbr>man/listinfo/midpoint</a>


</blockquote></div>

<div>
</div>-- 
<div class="m_-326157954499737906gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Merve CEYLAN</div></div>
</div>


<fieldset class="m_-326157954499737906mimeAttachmentHeader"></fieldset>
<pre>______________________________<wbr>_________________
midPoint mailing list
<a moz-do-not-send="true" class="m_-326157954499737906moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a>
<a moz-do-not-send="true" class="m_-326157954499737906moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a>
</pre>

</blockquote>
</div></div></div>
______________________________<wbr>_________________

midPoint mailing list

<a moz-do-not-send="true" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>

<a moz-do-not-send="true" href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a>


</blockquote></div>

<div>
</div>-- 
<div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Merve CEYLAN</div></div>
</div>


<fieldset class="mimeAttachmentHeader"></fieldset>
<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="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>

</blockquote>
</body></html>