«

»

May 08

Field Type errors in webparts.

I’ve been making some changes to the Summaries webPart this week following the successful beta with the users. The key problem I hit was an unexpected error when changing one of the selected views in the web part. I received a very helpful

“One or more field types are not installed properly. Go to the list settings page to delete these fields.”

Well this is a very useful error, Resolve the problem by deleting the fields causing the issue? in this instance however, there isn’t actually a problem, The issue is caused by the CAML used to return the data for the webpart. In Dev, it was looking for “Projects_x0020_Task_x0020_Complete” and in Live it should have been “Projects_x0020_Involvement_x0020_Complete”. Simple schoolboy error and easily solved, but not helped by the error message, so one to watch out for in future.

Update: This came about because the column had been renamed long ago, therefore the program I used to extract the column name showed the internal name of Project Tasks Complete, whereas I had renamed it to Projects Involvement Complete before porting the whole lot to live!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.