[Freeipa-users] Re: Make custom attribute fail in UI and SAVE Button

2017-11-15 Thread Alexander Bokovoy via FreeIPA-users
On ke, 15 marras 2017, barrykfl--- via FreeIPA-users wrote: anywhere can explain the following RFC of ldap ? I have confuse how come and must use this ...can I random gen some number .. 2.25.28639311321113238241701611583088740684.14.2.1 < it used custom person class so if relate to it I should u

[Freeipa-users] Re: Make custom attribute fail in UI and SAVE Button

2017-11-15 Thread barrykfl--- via FreeIPA-users
anywhere can explain the following RFC of ldap ? I have confuse how come and must use this ...can I random gen some number .. 2.25.28639311321113238241701611583088740684.14.2.1 < it used custom person class so if relate to it I should use .2 .3 .4 .5 etc ??? 2863931132111323824170161158308874

[Freeipa-users] Re: Make custom attribute fail in UI and SAVE Button

2017-11-15 Thread Alexander Bokovoy via FreeIPA-users
On ke, 15 marras 2017, barry...@gmail.com wrote: So I have one more question is that: If have several custom attributes should open servral new folders in different /usr/share/ipa/ui/js/plugins/ ? can it write in single file? thx It is up to you. I'd do it in a single one and would try to make

[Freeipa-users] Re: Make custom attribute fail in UI and SAVE Button

2017-11-15 Thread barrykfl--- via FreeIPA-users
So I have one more question is that: If have several custom attributes should open servral new folders in different /usr/share/ipa/ui/js/plugins/ ? can it write in single file? thx Regards 2017-11-13 18:48 GMT+08:00 Alexander Bokovoy : > On ma, 13 marras 2017, barry...@gmail.com wrote: > >> F

[Freeipa-users] Re: Make custom attribute fail in UI and SAVE Button

2017-11-13 Thread Alexander Bokovoy via FreeIPA-users
On ma, 13 marras 2017, barry...@gmail.com wrote: Finally I found which location is wrong , IT is in the JS "comDate"If I rename it to "comdate" small letter it can saved and display, I claim on ldap customPerson is using this "comDate" so I mislead that I should use same in JS and Plugin...

[Freeipa-users] Re: Make custom attribute fail in UI and SAVE Button

2017-11-13 Thread barrykfl--- via FreeIPA-users
Finally I found which location is wrong , IT is in the JS "comDate"If I rename it to "comdate" small letter it can saved and display, I claim on ldap customPerson is using this "comDate" so I mislead that I should use same in JS and Plugin... ANYONE can explain ?...as I still have some confus

[Freeipa-users] Re: Make custom attribute fail in UI and SAVE Button

2017-11-09 Thread Alexander Bokovoy via FreeIPA-users
On to, 09 marras 2017, barrykfl--- via FreeIPA-users wrote: Hi: May be I missed write something on JSON.. But I can use in command shell successfully. ipa user-mod apigee --setattr comDate= then ldap will appear user-show all will see. Any reference link if I missed ? See https://git

[Freeipa-users] Re: Make custom attribute fail in UI and SAVE Button

2017-11-09 Thread barrykfl--- via FreeIPA-users
Hi: May be I missed write something on JSON.. But I can use in command shell successfully. ipa user-mod apigee --setattr comDate= then ldap will appear user-show all will see. Any reference link if I missed ? 2017-11-09 17:43 GMT+08:00 Pavel Vomacka : > > > On 11/09/2017 10:34 AM, bar

[Freeipa-users] Re: Make custom attribute fail in UI and SAVE Button

2017-11-09 Thread Pavel Vomacka via FreeIPA-users
On 11/09/2017 10:34 AM, barry...@gmail.com wrote: The will disappear after saved pressed . it will chnage to in ldap but the UI field blank not store. Now I understand, thank you. Could you please show me how you specified this new option in python code? Or you can check API Browse

[Freeipa-users] Re: Make custom attribute fail in UI and SAVE Button

2017-11-09 Thread barrykfl--- via FreeIPA-users
The will disappear after saved pressed . it will chnage to in ldap but the UI field blank not store. 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: > >

[Freeipa-users] Re: Make custom attribute fail in UI and SAVE Button

2017-11-09 Thread Pavel Vomacka via FreeIPA-users
On 11/09/2017 09:18 AM, barry...@gmail.com wrote: Now work at certain area limitation: It can update successfully  BUT no view on UI  , then I tried replace "textarea" as before it come a big field but also no view my result. ( but it really updated) Could you please reformulate it? I'm not

[Freeipa-users] Re: Make custom attribute fail in UI and SAVE Button

2017-11-09 Thread barrykfl--- via FreeIPA-users
Now work at certain area limitation: It can update successfully BUT no view on UI , then I tried replace "textarea" as before it come a big field but also no view my result. ( but it really updated) section.fields.push({ flags: ['w_if_no_aci'], $type: 'multivalued', name: 'comDate'

[Freeipa-users] Re: Make custom attribute fail in UI and SAVE Button

2017-11-09 Thread Pavel Vomacka via FreeIPA-users
On 11/09/2017 09:00 AM, barry...@gmail.com wrote: Add like this ...now the label gone nothing shown.  section.fields.push({   flags: ['w_if_no_aci']    $type: 'multivalued',    name: 'comDate',   label: 'Commencement Date'     }); Yes, that's because of missing colon at the end of 'fl

[Freeipa-users] Re: Make custom attribute fail in UI and SAVE Button

2017-11-09 Thread barrykfl--- via FreeIPA-users
Add like this ...now the label gone nothing shown. section.fields.push({ flags: ['w_if_no_aci'] $type: 'multivalued', name: 'comDate', label: 'Commencement Date' }); 2017-11-09 15:50 GMT+08:00 Pavel Vomacka : > > > On 11/09/2017 08:36 AM, barry...@gmail.com wrote: > > Sa

[Freeipa-users] Re: Make custom attribute fail in UI and SAVE Button

2017-11-08 Thread Pavel Vomacka via FreeIPA-users
On 11/09/2017 08:36 AM, barry...@gmail.com wrote: Same Like this Lable no field no edit no save but fine in command base ...any different freeipa4.0 vs 3.0 procedure? Do you have IPA 4.x ? Or which version? Try to add following line into the specification of your new field: flags: ['w_if_no_

[Freeipa-users] Re: Make custom attribute fail in UI and SAVE Button

2017-11-08 Thread barrykfl--- via FreeIPA-users
Same Like this Lable no field no edit no save but fine in command base ...any different freeipa4.0 vs 3.0 procedure? [image: 內置圖片 2] 2017-11-09 14:44 GMT+08:00 Pavel Vomacka : > > On 11/08/2017 07:29 AM, barrykfl--- via FreeIPA-users wrote: > > Hi, > > Dear all: > > I follow the guide of freeipa

[Freeipa-users] Re: Make custom attribute fail in UI and SAVE Button

2017-11-08 Thread Pavel Vomacka via FreeIPA-users
On 11/08/2017 07:29 AM, barrykfl--- via FreeIPA-users wrote: Hi, 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 "C