Skip to main content
1-Visitor
May 31, 2017
Question

On detail page user cn is displayed insted of its name, i have added picker for user selection

  • May 31, 2017
  • 2 replies
  • 1460 views

Hi all,

For Soft type attribute i have added a User Picker. it Works fine, it opens the Picker pop up, enlist all user . when i select any one from the list and it will correctly displayed on creation Wizard.

but when i finished the WTPart and go to detail page of it, where ideally i am expecting username to display. but i found DN is displaying there.

Please see below screen print and code used for user picker, and here is the code

DN.jpg

Please let me know where i should change ?

Regards,

Vivek

2 replies

1-Visitor
May 31, 2017

I think the issue is with the call back JS function - "PickerInputComponentCallback"

12-Amethyst
June 2, 2017

Hi Vivek,

By default the OOTB picker always persist OID.

Create your custom picker callback and instead of OID persist the username.

That will solve your problem.

Regards,

Kaushik Das