So I have a Sharepoint list with a custom Infopath form (used in browser). When creating a new item on that list, I want to include the possibility for the user to look på data from the latest item, categorized in the same way as the new item. For that I'm trying to use REST with this query:
http://site/_vti_bin/ListData.svc/Dokumenter?$filter=substringof(%27B%27,Dokument_ID)&$orderby=Dokument_ID%20desc&$top=1
The B is just placeholder and need to be a dynamic value, of course. Anyway, I can pull data from the top of the hierarchy of the REST connection, but not down where the item data is. We have feed->entry->content->m:properties->individual item values. I can get data in feed, but not further down. It gives no error, but no data is included.
They are called ns1:Dokument_Niveau for instance.
The data is there when I test in the Infopath Filler. Why doesn't this work in the browser?
Any help is greatly appreciated!