But when I add the “?view=browse&limit=10” to this url, I get Server Error.
In the stack trace i get:
2017-01-16 15:56:01.608 ERROR [http-nio-8080-exec-46/app/fernbi] com.haulmont.restapi.controllers.RestControllerExceptionHandler - Exception in REST controller
com.haulmont.cuba.core.global.ViewNotFoundException: View adminpb$Awe/browse not found
The browse view was created using "Create Standards screen’ in the Entity tab.
Well, this xml file doesn’t contain any views at all. I think you mixed up screens with view.
view - a representation of a set of entity attributes that should be automatically loaded through one (or a few) sql statements. You can think of a CUBA view similar to something like a SQL view) (just to get a basic idea) (views docs.
screen - a GUI representation that normally manifests itself in a tab in the UI. An example of this the screens are browse screens and editors for a particular entity. Screens use views in order to fetch the data through datasources screens docs.
I would suggest that you check out the mentioned docs to get a further idea about the mechanics.