I am trying to retrieve a list of items including lookup fields via listdata.svc
. My lookup points to a list of companies which has the following fields: Title, Address, Phone.
By default, listdata doesn't return the lookup data, only a link to it. If I use the $expand
parameter, then listdata returns all the fields of the lookup.
How can I make listdata return the lookup Title only, not the other fields like Address and Phone?