<div dir="ltr">Hi,<div><br></div><div>or you can use this:</div><div><a href="https://wiki.evolveum.com/display/midPoint/Lookup+Tables">https://wiki.evolveum.com/display/midPoint/Lookup+Tables</a><br></div><div><br></div><div>and to hide or show some attributes over <item>:</div><div><a href="https://wiki.evolveum.com/display/midPoint/Authorization+Configuration">https://wiki.evolveum.com/display/midPoint/Authorization+Configuration</a><br></div><div><br></div><div>Best regards,</div><div><br></div><div>Gustav</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-21 21:37 GMT+01:00 Jason Everling <span dir="ltr"><<a href="mailto:jeverling@bshp.edu" target="_blank">jeverling@bshp.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">As for dropdowns, you can create in your custom schema extension enumerations, those are dropwdowns with hard-coded values, I posted an example not too long ago. You can hide or show attributes in the default user template by defining <div><br></div><div>Completely hide it:</div><div><br></div><div><div>   <item></div><div>      <c:ref>c:theAttribute</c:ref></div><div>      <limitations></div><div>         <layer>presentation</layer></div><div>         <ignore>true</ignore></div><div>      </limitations></div><div>   </item></div></div><div><br></div><div>Certain hidden:</div><div><br></div><div><div>   <item></div><div>      <c:ref>c:theAttribute</c:ref></div><div>      <limitations></div><div>         <layer>presentation</layer></div><div><div>         <access></div><div>            <read>true</read></div><div>            <add>false</add> <!-- only hide for adding users but show during modify --></div><div>            <modify>true</modify></div><div>         </access></div></div><div>      </limitations></div><div>   </item></div></div><div><br></div><div>Same goes for filling in attribute automatically based on other attributes such as department, that would be handled via the default template also,</div><div><br></div><div><div>   <mapping></div><div>      <source></div><div>         <c:path>$user/department</c:<wbr>path></div><div>      </source></div><div>      <expression></div><div>         <script></div><div>            <code>'the value you want'</code></div><div>         </script></div><div>      </expression></div><div>      <target></div><div>         <c:path>anotherAttribute</c:<wbr>path></div><div>      </target></div><div>      <condition></div><div>         <script></div><div>            <code>department == 'sales'</code></div><div>         </script></div><div>      </condition></div><div>   </mapping></div></div><span class="HOEnZb"><font color="#888888"><div><br></div><div>JASON</div></font></span><div><div class="h5"><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Tue, Mar 21, 2017 at 2:06 PM, Brad Firestone <span dir="ltr"><<a href="mailto:bhotrock@gmail.com" target="_blank">bhotrock@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
<br>
I am just getting started with midPoint.  This seems like an amazing system, but there is a huge amount of information to learn.<br>
<br>
We are planning to create many of our users in midPoint by bringing them in from various resources (AD and LDAP).  However, we will also need to create midPoint users directly in the admin GUI.  The creation of these users will be done by various different administrators, with each administrator being responsible for a given "department".<br>
<br>
We want to keep things as simple as possible for each administrator, and also want to keep things as consistent as possible. So I have a few questions about how to do this in the "best way".<br>
<br>
1.  Is it possible for attribute values shown in the New User interface to have a drop-down list to select from valid values for certain attributes?<br>
<br>
2.  Is it possible to customize the New User interface so that it only shows certain attributes that need to be filled in by the administrator?  It would be nice if certain attributes were either not shown (and automatically filled with the appropriate department information), or at least had a drop-down that only included the appropriate options for that department.<br>
<br>
I think that maybe these things can be done with custom forms, but looking at the custom form documentation, I didn't see drop-down options.  I also don't know if it's possible to show different "New User" forms to different administrators based on their department (Role?).<br>
<br>
A different way of doing this might be to use Self Registration?  But we would still want the ability to have drop-down lists to select from.  One of the attributes would be the department, and we would want that to be a defined list of valid departments.  Once the user completes the confirmation, then ideally the department admin would receive a notification and approve/assign the roles, which would then create the needed accounts on the various resources.<br>
<br>
Thanks for any suggestions and information!<br>
Brad<br>
______________________________<wbr>_________________<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/mail<wbr>man/listinfo/midpoint</a><br>
</blockquote></div><br></div></div></div></div>
<br>______________________________<wbr>_________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Gustáv Pálos</div><div>Identity Engineer</div><a href="http://evolveum.com/" rel="noreferrer" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">evolveum.com</a><br></div></div>
</div>