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

I am attempting to use Data.js to read from the ListData.svc but the service is not returning all of the fields that I want. Is there a way that I can specify the view fields or something?

The fields in question are External Data Columns, but they do show up in U2U CamlQuery Builder's results when I am using "connect via web service". I am getting all of the fields except these external fields and they do have data in them.

Any help would be greatly appreciated.

OData.read(
            "../_vti_bin/listdata.svc/Component_Product_Group_Matrix",
            function (data) {

                componentsList = new Array();
                componentsMatrixDataSource = data.results;
                //Etc.....
            });
share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

I think this is one of the limitations of the REST API and listdata.svc. See the whole list of limitations of the listdata.svc If you want to get the external list data in javascript you have to you JavaScript Object Model.

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.