<div dir="ltr">You can create a JIRA for it.</div><div class="gmail_extra"><br><div class="gmail_quote">On 24 February 2016 at 06:08, Jason Axley <span dir="ltr">&lt;<a href="mailto:jaxley@expedia.com" target="_blank">jaxley@expedia.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>
<div>
<div>2 seconds after I found that there were custom attribute template examples in examples/themes that gave me the nuance that is missing or lost on me in the documentation.</div>
<div><br>
</div>
<div>You need to use the format “user.attributes.mobile” everywhere <span style="font-weight:bold">
except</span> when rendering the value from the model.  There you use ${account.attributes.mobile} for the interpolation.  Any chance those could match and both be account.attributes.&lt;blah&gt; rather than be different?</div>
<div><br>
</div>
<div>
<p style="margin:0px;font-size:12px;font-family:Courier;color:rgb(255,240,165);background-color:rgb(19,119,62)">
        &lt;div class=&quot;form-group ${messagesPerField.printIfExists(&#39;user.attributes.mobile&#39;,&#39;has-error&#39;)}&quot;&gt;</p>
<p style="margin:0px;font-size:12px;font-family:Courier;color:rgb(255,240,165);background-color:rgb(19,119,62)">
            &lt;div class=&quot;col-sm-2 col-md-2&quot;&gt;</p>
<p style="margin:0px;font-size:12px;font-family:Courier;color:rgb(255,240,165);background-color:rgb(19,119,62)">
                &lt;label for=&quot;user.attributes.mobile&quot; class=&quot;control-label&quot;&gt;${msg(&quot;mobile&quot;)}&lt;/label&gt; &lt;span class=&quot;required&quot;&gt;*&lt;/span&gt;</p><span class="">
<p style="margin:0px;font-size:12px;font-family:Courier;color:rgb(255,240,165);background-color:rgb(19,119,62)">
            &lt;/div&gt;</p>
<p style="margin:0px;font-size:12px;font-family:Courier;color:rgb(255,240,165);background-color:rgb(19,119,62);min-height:14px">
<br>
</p>
<p style="margin:0px;font-size:12px;font-family:Courier;color:rgb(255,240,165);background-color:rgb(19,119,62)">
            &lt;div class=&quot;col-sm-10 col-md-10&quot;&gt;</p>
</span><p style="margin:0px;font-size:12px;font-family:Courier;color:rgb(255,240,165);background-color:rgb(19,119,62)">
                &lt;input type=&quot;text&quot; class=&quot;form-control&quot; id=&quot;user.attributes.mobile&quot; name=&quot;user.attributes.mobile&quot; value=&quot;${(account.attributes.mobile!&#39;&#39;)?html}&quot;/&gt;</p>
<p style="margin:0px;font-size:12px;font-family:Courier;color:rgb(255,240,165);background-color:rgb(19,119,62)">
            &lt;/div&gt;</p>
<p style="margin:0px;font-size:12px;font-family:Courier;color:rgb(255,240,165);background-color:rgb(19,119,62)">
        &lt;/div&gt;</p>
</div>
<div><br>
</div>
<div>-Jason</div>
<div>
<div></div>
</div>
</div>
</div>
<div><br>
</div>
<span>
<div style="font-family:Calibri;font-size:12pt;text-align:left;color:black;BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0in;PADDING-LEFT:0in;PADDING-RIGHT:0in;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;PADDING-TOP:3pt">
<span style="font-weight:bold">From: </span>&lt;<a href="mailto:keycloak-user-bounces@lists.jboss.org" target="_blank">keycloak-user-bounces@lists.jboss.org</a>&gt; on behalf of Jason Axley &lt;<a href="mailto:jaxley@expedia.com" target="_blank">jaxley@expedia.com</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Tuesday, February 23, 2016 at 9:02 PM<br>
<span style="font-weight:bold">To: </span>&quot;<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a>&quot; &lt;<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>[keycloak-user] Custom user attribute documentation correct?<br>
</div><div><div class="h5">
<div><br>
</div>
<div>
<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>
<div>
<div>Is the documentation here accurate for v1.9.0-Final? <a href="http://keycloak.github.io/docs/userguide/keycloak-server/html/custom-user-attributes.html#d4e3678" target="_blank">http://keycloak.github.io/docs/userguide/keycloak-server/html/custom-user-attributes.html#d4e3678</a> 
 It says (for the user account profile pages, for example) that attributes must be of the form like “user.attributes.mobile” but if you do this, Freemarker can’t render the template.  I can render it if I use “account.mobile”, however it’s not displaying the
 data that is definitely there on the user profile (I can see it as an administrator on the Attributes tab).  </div>
<div><br>
</div>
<div>
<p style="margin:0px;font-size:12px;font-family:Courier;color:rgb(255,240,165);background-color:rgb(19,119,62)">
        &lt;div class=&quot;form-group ${messagesPerField.printIfExists(&#39;account.mobile&#39;,&#39;has-error&#39;)}&quot;&gt;</p>
<p style="margin:0px;font-size:12px;font-family:Courier;color:rgb(255,240,165);background-color:rgb(19,119,62)">
            &lt;div class=&quot;col-sm-2 col-md-2&quot;&gt;</p>
<p style="margin:0px;font-size:12px;font-family:Courier;color:rgb(255,240,165);background-color:rgb(19,119,62)">
                &lt;label for=&quot;account.mobile&quot; class=&quot;control-label&quot;&gt;${msg(&quot;mobile&quot;)}&lt;/label&gt; &lt;span class=&quot;required&quot;&gt;*&lt;/span&gt;</p>
<p style="margin:0px;font-size:12px;font-family:Courier;color:rgb(255,240,165);background-color:rgb(19,119,62)">
            &lt;/div&gt;</p>
<p style="margin:0px;font-size:12px;font-family:Courier;color:rgb(255,240,165);background-color:rgb(19,119,62);min-height:14px">
<br>
</p>
<p style="margin:0px;font-size:12px;font-family:Courier;color:rgb(255,240,165);background-color:rgb(19,119,62)">
            &lt;div class=&quot;col-sm-10 col-md-10&quot;&gt;</p>
<p style="margin:0px;font-size:12px;font-family:Courier;color:rgb(255,240,165);background-color:rgb(19,119,62)">
                &lt;input type=&quot;text&quot; class=&quot;form-control&quot; id=&quot;account.mobile&quot; name=&quot;account.mobile&quot; value=&quot;${(account.mobile!&#39;&#39;)?html}&quot;/&gt;</p>
<p style="margin:0px;font-size:12px;font-family:Courier;color:rgb(255,240,165);background-color:rgb(19,119,62)">
            &lt;/div&gt;</p>
<p style="margin:0px;font-size:12px;font-family:Courier;color:rgb(255,240,165);background-color:rgb(19,119,62)">
        &lt;/div&gt;</p>
</div>
<div><br>
</div>
<div>
<div>
<div style="font-size:14px">
<div>-Jason</div>
</div>
<div style="font-size:14px"><br>
</div>
<div>
<p class="MsoNormal" style="font-size:11pt;margin:0in 0in 0.0001pt;background-color:white">
<b><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(23,54,93)">Jason Axley</span></b></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;background-color:white"><span style="font-family:Arial,sans-serif;color:rgb(227,108,10)"><font size="2">Sr. Security Engineer, Expedia Worldwide Engineering Team<u></u><u></u></font></span></p>
<p class="MsoNormal" style="font-size:11pt;margin:0in 0in 0.0001pt"><span style="font-size:8pt;color:rgb(31,73,125)"><a href="tel:425-679-4157" value="+14256794157" target="_blank">425-679-4157</a> (o) | <a href="tel:206-484-2778" value="+12064842778" target="_blank">206-484-2778</a> (m) | 206-55-AXLEY (gv)<u></u><u></u></span></p>
<p class="MsoNormal" style="font-size:11pt;margin:0in 0in 0.0001pt"><span style="font-size:8pt;color:rgb(31,73,125)">333 108th Ave NE, 9S-282, Bellevue, WA 98004</span></p>
<p class="MsoNormal" style="font-size:11pt;margin:0in 0in 0.0001pt"><span style="font-size:8pt;color:rgb(31,73,125)"><a href="https://confluence/display/POS/EWE+Security" target="_blank">EWE Security Wiki</a></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></span>
</div>

<br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>