Definition FilteredLookupField into Elements.xml

Jun 12, 2012 at 7:37 PM
Edited Jun 12, 2012 at 11:17 PM

Hi

In the Element.xml for Field Definition, can I use the name of site, list and Field instead of the IDs ?  

 <Field ID="{504249C7-51BD-478f-93BE-53E2FD39224A}"

      Type="FilteredLookupField"  

      ...

       WebId="NameSite"        

       List="Lists/NameList"          

       ShowField="NameField" />

 

If I feel webId, List and ShowField with the ID it's all OK. But I want use the name too. So I would the correct format for valorise WebId List and ShowField by name.

Thanks