Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Does RestDataSource support fields parameter

$
0
0
Hi,

Is it possible to set fields parameter in the REST URI to limit the data to the set of fields that the caller is interested in?

For example, the data may include 10 fields but the caller is only interested in 3 fields. Instead of having the REST API to return data with 10 fields, I'd like to get the data with 3 fields only. Something like the following:

[dataURL]?_fields=[field1, field2, field3]

I tried setDropExtraFields(true) and it only drops data on the client side without passing the fields information to the REST server.

Viewing all articles
Browse latest Browse all 4756

Trending Articles