Dear all: I follow the guide of freeipa 3.0 abt web plugin web ui. At command base I successfully made a custom attribute called Employee " Commencement Date" . I can add using script / command.
BUT in web UI , it Display "Commencent date" Label only ....and cannot display edit field and allow me edit. After That I changed to Multivalue the field come out but still the save button is grey I cannot save again. Which part I made wrong ? please advise . thx define(['freeipa/phases','freeipa/user'], function(phases, user_mod) { // helper function function get_item(array, attr, value) { for (var i=0,l=array.length; i<l; i++) { if (array[i][attr] === value) return array[i]; } return null; } var cdate_plugin = {}; cdate_plugin.add_c_date = function() { var facet = get_item(user_mod.entity_spec.facets, '$type', 'details'); var section = get_item(facet.sections, 'name', 'identity'); section.fields.push({ $name: 'comDate', type: 'multivalued', label: 'Commencement Date' }); return true; }; phases.on('customization', cdate_plugin.add_c_date); return cdate_plugin; });
_______________________________________________ FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org To unsubscribe send an email to freeipa-users-le...@lists.fedorahosted.org