All right stop! Collaborate and listen (Sharing Points)

April 24, 2008

FlexListViewer Cast error

Filed under: MOSS — Tags: , , — stephenmuller @ 2:54 am

I recently looked ate the FlexListViewer which is a great little app which you can get here. 

When I tried it I got

Error occurred: Unable to cast object of type ‘Microsoft.SharePoint.SPFieldLookupValueCollection’ to type ‘System.String’.

I noticed a few other people got the error. Looking into it a bit the error is due to a field in the referenced view that cant be displayed (I had it on a multi-select lookup, im sure there are other types).

There are a few ways to fix this one is to delete the offending field (clearly the not the most rational idea), create a view that does not display the field and reference that in your FlexListViewer settings (which I did) or I imagine you could do some work with the xslt (Im not to crash hot on that, but if you get it working let me know).

Any issues email me…

 

 

Create a free website or blog at WordPress.com.