[midPoint] Options / Dropdown for New User Properties

pdbogen at cernu.us pdbogen at cernu.us
Mon Sep 12 21:51:02 CEST 2016


Hi!

To simplify the UI somewhat for the expected end users of midpoint, I'd like 
to restrict a couple properties to a predefined set of options.

I've already figured out how to suppress/require options (by changing the 
global user template and adding either minOccurs=1 or ignore=true, but it 
wasn't clear to me how to extend this to change an option from a freeform 
field into a selection.

I _suppose_ I could do this with roles and then induce the value of the 
property, but that seems a little less intuitive than what I would like.

I also suppose I could create an overlay that changes the actual UI, but that 
seems somewhat complex, and I was hoping to avoid it for what seems to be to 
be a straightforward requirement. (But I'm already using an overlay to 
prepopulate a whole bunch of different artifacts, so maybe it's not that much 
extra work.)

The fields I'd like to restrict are 'Organization' and 'Locality.'

Any help is appreciated!
Thanks,
-- 
             .
Patrick Bogen .
            ...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20160912/da58f9de/attachment.sig>


More information about the midPoint mailing list