Unable to use this field type

Jun 5, 2012 at 10:06 AM
Edited Jun 5, 2012 at 10:51 AM

I'm unable to use this field type. Exception thrown while adding the field type in SharePoint 2010 custom list. Upon debugging, I found that an exception occurs after the following line in XComplica.SharePoint.MetaFilteredField.cs file:

this.SetFieldAttribute("Type", "MetaFilteredLookup");
Jun 5, 2012 at 11:06 AM
Edited Jun 5, 2012 at 11:08 AM

After some debugging, I found the reason behind the exception that was being thrown. Value for the field attribute 'Type' doesn't match with the field class name. It should be 'MetaFilteredField', instead of 'MetaFilteredLookup'.

I guess this method call is not really required if your server OS version is anything later than Windows Server 2003. I've deployed this solution in Windows Server 2008 R2 and this solution works fine without the above method call.

Coordinator
Jul 7, 2012 at 1:08 PM

I will have a look at this, thanks!