Controlling the display of custom field types when exporting to a spreadsheet
I created a custom field type based on SPFieldLookup. However, when I use the SharePoint "Export to Spreadsheet" feature, it does not display correctly.
For normal lookup fields, only the Lookup Value is displayed. My custom field is using the string representation of the lookup value (ie "1; #My Lookup Value").
Is there a way to change the custom lookup field to only show the Lookup value when exporting to a spreadsheet?
0
source to share
1 answer
I'm not sure if it is possible to do what you want.
Here's a note from the SPFieldLookup documentation on MSDN:
Maybe you can look into the DisplayPattern element in your fldtypes_XXX.xml file
+1
source to share