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…

 

 

Advertisements

2 Comments »

  1. Hi,
    I am trying to get this web part to display a list in calendar view..Any idea on how to accomplish this. Not experienced in editing xslt docs. TIA

    Comment by DoubleStack — June 9, 2009 @ 1:12 pm

    • Only can do it if your list has dates associated with it then use the calendar base for the creating the view. And use the selections for the dates. It is not very intuitive Im afraid.

      Comment by stephenmuller — June 16, 2009 @ 6:12 am


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: