6

I have created custom field type with SPFieldLookup as a parent class. Using my custom field type, I can able to create custom lookup type columns where source columns are of types: Choice and User field types.

The values for these types of columns are appearing in OOTB New, Edit and Display forms of the list perfectly. After saving these items, these values are not appearing in list views. The column appears totally blank.

Here, "Choice_AL" column is my custom field type. Values appearing in OOTB New item form of list:

enter image description here

Values also saved and shown in OOTB Display form of list:

enter image description here

But values are not appearing in List view:

enter image description here

I have added same XML and XSL for custom field type as OOTB SharePoint is providing for lookup.

It is working perfectly for the columns which are supported by lookup field but for "choice" and "user" types it creates problems.

How can I show these item values in SharePoint list views?

Any help would be appreciated!

1
  • 1
    I am facing same issue. Is there any solutions for the same? Or if anyone have workaround for same it would be appreciate. Jul 28, 2017 at 5:56

1 Answer 1

-2

Did you created the custom column by code? I tried to create the custom column by using the SharePoint user interface, the selected value(s) will be shown at the list view.

1
  • I have created a "custom column type" to create new columns using that column type in SharePoint lists and libraries. Jul 24, 2017 at 7:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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