[midPoint] Questions about midPoint GUI

Jason Everling jeverling at bshp.edu
Thu Oct 1 15:40:22 CEST 2015


Currently I am using a combo select box for a few extensions which I
defined in my schema, here is the example below, I cut it down to a few
because their is a lot of values to choose from, and for your other
questions I cannot answer. I am using 3.2 currently but was on 3.1.1 and it
also worked without issue.

<xsd:simpleType name="eduAffiliation">
<xsd:annotation>
<xsd:documentation>Choices for Affiliation</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
            <xsd:enumeration value="FACULTY">
                <xsd:annotation>
                    <xsd:appinfo>
                        <a:label>FACULTY</a:label>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:enumeration>
            <xsd:enumeration value="STAFF">
                <xsd:annotation>
                    <xsd:appinfo>
                        <a:label>STAFF</a:label>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:enumeration>
            <xsd:enumeration value="STUDENT">
                <xsd:annotation>
                    <xsd:appinfo>
                        <a:label>STUDENT</a:label>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:enumeration>
            <xsd:enumeration value="ALUMNI">
                <xsd:annotation>
                    <xsd:appinfo>
                        <a:label>ALUMNI</a:label>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:enumeration>
            <xsd:enumeration value="GUEST">
                <xsd:annotation>
                    <xsd:appinfo>
                        <a:label>GUEST</a:label>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:enumeration>
        </xsd:restriction>
    </xsd:simpleType>

And then you would define it like so,

<xsd:element name="eduPersonAffiliation" type="tns:eduAffiliation"
minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:appinfo>
<a:indexed>true</a:indexed>
<a:displayName>Affiliation</a:displayName>
<a:displayOrder>170</a:displayOrder>
<a:help>student, faculty, staff, alumni, or external for no
affiliation</a:help>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>



JASON


On Thu, Oct 1, 2015 at 6:03 AM, Pavol Mederly <mederly at evolveum.com> wrote:

> Hello Fabio,
>
> sorry for the late answer.
>
> - there is the possibility to use classic combo box (html selectlist) in
> spite of javascript list;
>
> As far as I know, you would have to declare the extension property as ENUM
> in order to see a combo box. (Not tried that yet.)
>
> - there is the possibility to pick possible values for the fields by
> querying a database table or an ldap server (picking the connection from a
> resource for doing that...);
>
> - there is the possibility to update a field value picking the value from
> another field in real time (without saving and edit again the user).
>
>
> No, this is currently not possible without customising midPoint GUI code.
> As for the second question, it might be possible to synchronize LookupTable
> with the database table / LDAP server by some other means, to achieve the
> necessary effect. But that's probably quite complicated.
>
> Best regards,
> Pavol
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
>
>


-- 
JASON

-- 


CONFIDENTIALITY NOTICE:
This e-mail together with any attachments is proprietary and confidential; 
intended for only the recipient(s) named above and may contain information 
that is privileged. You should not retain, copy or use this e-mail or any 
attachments for any purpose, or disclose all or any part of the contents to 
any person. Any views or opinions expressed in this e-mail are those of the 
author and do not represent those of the Baptist School of Health 
Professions. If you have received this e-mail in error, or are not the 
named recipient(s), you are hereby notified that any review, dissemination, 
distribution or copying of this communication is prohibited by the sender 
and to do so might constitute a violation of the Electronic Communications 
Privacy Act, 18 U.S.C. section 2510-2521. Please immediately notify the 
sender and delete this e-mail and any attachments from your computer. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20151001/a6e743b7/attachment.htm>


More information about the midPoint mailing list