0

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

1

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

  • 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

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy