Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

How to use REST to get items from a specific (external) list view

$
0
0

Hi,

I have what seems a bit of an edge case.

I want to use REST to get items from an external list using a named view.

I need to name the view because I need a particular external content type finder method, not used by the default view.

I can get the view with syntax like http://server01/sites/team1/_api/web/lists('B73ADBDE-DFB6-4248-81D3-AADE20D73DF5')/getView('E4A0C88F-1B2F-4A8E-A7F9-84BC67C39E28'), but when I append /items I get 400 resource not found.

If I consider appending /getItems('<View/>') I get an asp.net  "Server Error in '/' Application." error, and a message about changing web.config to show it. ie it's a real error, not something covered with a correlation id in ULS logs.

I'm currently running RTM of SharePoint 2013 Server (build version 15.0.4420.1017)

Thanks

Martin


Viewing all articles
Browse latest Browse all 25064

Trending Articles