Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Should this CAML be working. (I tried it with u2u and it does not display the URL column.) I get this error. {System.ApplicationException} = {"One or more field types are not installed properly. Go to the list settings page to delete these fields."}

<Where>
 <Eq>
     <FieldRef Name='URL' />
     <Value Type='URL'>/path/HR Policy.docx</Value>
 </Eq>
</Where>

The Following code is working after Sébastien Levert suggestion.

/path/HR Policy.docx

share|improve this question

1 Answer 1

up vote 1 down vote accepted

There are some issues with the operator and the URL fields. Can you try the Contains, it worked for me in the past!

share|improve this answer
    
Thanks sebastien. Worked at first attempt. Thanks a lot. –  user2492 Mar 14 '11 at 17:20
1  
This is because the URL field type stores the display text of the link as well as the link itself. –  James Love Mar 14 '11 at 19:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.