Loading Dataview from rest-erp action

Trying to load UDCodes into a dataview. I see the data coming back from the REST call but not able to get it into the dataview.
1 - Created the view.


2 - Specified the service call.
image
3 - Configured the Method Parameters.
image
4 - Configured the Response Parameters.

5 - Trigger the method and can see the response data.

6 - Confirmed my EPBinding on the Grid Model.
image
The data view remains empty.

Try using guided setup? It does pretty well at this.

I think I got it figured out but don’t really understand the Why’s of how I got it working.

I opened up User Codes Maintenance in App Studio and looked at how the data view was defined there.
image
I looked at the method parameters for the REST call.
I then returned to the form that I was working on, deleted the action and re-added it. Only thing I did different is I filled in the Dataset information the sames as it is in User Code Maintenance.
image
image
I am getting data loading into the view now.

I think some of the posts I was initially looking at may have been designed to get around previous bugs. The key is probably the way I setup the Dataview the second time. If you fill in the server side dataset and table, it should map the response dataset and tables correctly (I guess).

1 Like

This solution is working.