here’s my code:
View deviceView =ViewBuilder.of(Device.class).add(“name”).build();
List deviceList = dataManager.load(Device.class).view(deviceView).list();
The “Device” entity is defined in an additional datastore.
The result contains data for all fields. Seems the view doesn’t work at all.
Please kindly advise how to use View for additional datastore.
Hi.
I’ve tried your case using platform 7.2.6 and everything works fine for me.
I’ve created Device Entity with three attributes: name, number and date, and use your code: