Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: SPServices GetListItems not retrieving MOSS LookUp Field

$
0
0
With a MOSS 2007 Custom List
having a field that is a lookup type into another Custom List at the same site,
using the following fails to bring in the lookup field,
though the other (non-lookup) fields are present in the results
$().SPServices({
    operation: "GetListItems",
    async: false,
CAMLViewFields: "<ViewFields>" 
              + " <FieldRef Name='Title' />  " 
              + " <FieldRef Name='Dt_x0020_Sec_x0020_Lev' />" 
              + "</ViewFields> ",
      listName: "Media Inventory",
      completefunc: Get_MI_Completed
    });
The Single Line of Text fields, Date/Time fields, etc. are present in the response,
but not the Lookup field which is a single line of text.

The list referenced in GetListItems has 285 entries,
the looked-up value comes from a list with 126 entries.

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>