I create a user field in a list definition thorough VS code (schema.xml).

<Field ID="{0A9DDA0E-1EB8-467B-AFFA-AFB04057FCF7}"  Name="ChannelManager" DisplayName="Channel Manager" StaticName="MyUser" Type="User" UserSelectionMode="PeopleOnly"

When I view the field in list settings, Show field it set to Account rather than name and value is showing as i:0#.w|domain\account

  • Tried to set ShowField=”Name” and Presence=”TRUE” also. Not working. – Sivakumar Piratheeban Jun 17 '14 at 6:43
  • Try with ShowField="Account" – Aanchal Jun 17 '14 at 6:53
  • Aanchal I need ShowField=”Name” not Account – Sivakumar Piratheeban Jun 17 '14 at 7:04
  • You want domain\account or something else? – Aanchal Jun 17 '14 at 7:05
  • 1
    Sivakumar any answer yet find ? – Mathematics Sep 16 '14 at 8:47

ShowField="ImnName" use this one to view user name

| improve this answer | |
  • 2
    Hi Vidhya, welcome to community. While answering to questions in community you need to ensure that you provide details and explanation about your solution or approach. Detailing helps everyone, apart from person who had asked the query. – Ankitkumar Malde Aug 16 '18 at 10:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.