Filtered Lookup Field "List" attribute and custom content type using vs2010

Dec 7, 2011 at 7:04 AM

I have added "Filteredlookup" column by using the below field defination. If I assign the GUID to "List" attribute in field defintion; it works but if I change it with value "Lists/ProductDetails"; It does not assosiacate the Lookup list with field.
How I can get rid of GUID ? However it works perfect for field of type "Lookup". Following is the field dfintion;

<Field Type="FilteredLookupField" Name="lookupTemp123" StaticName ="lookupTemp123" ID="{E7EE707C-FF3A-4B24-9C62-2BD7CE1E9CAC}"
List="Lists/ProductDetails" ShowField="SettingValue" DisplayName="lookupTemp123" Required="TRUE" Group="Custom Site Columns" >

<Value xmlns:q1="" p4:type="q1:string" xmlns:p4="">&amp;lt;Where&amp;gt;&amp;lt;Eq&amp;gt;&amp;lt;FieldRef Name=&amp;quot;LookupKey&amp;quot; /&amp;gt;&amp;lt;Value Type=&amp;quot;Choice&amp;quot;&amp;gt;ContentKey&amp;lt;/Value&amp;gt;&amp;lt;/Eq&amp;gt;&amp;lt;/Where&amp;gt;</Value>
<Value xmlns:q2="" p4:type="q2:string" xmlns:p4="" />
<Value xmlns:q3="" p4:type="q3:string" xmlns:p4="">False</Value>
<Value xmlns:q4="" p4:type="q4:string" xmlns:p4="">False</Value>


Jun 12, 2012 at 10:25 PM


I have the same issue. I would to feel  WebID, List and ShowField properties by name instead of they GUID. Have you a troubleshooting?