SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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.