Skip to Content
3
May 12, 2020 at 07:31 AM

Odd behaviour with auto-generated ValueLists

447 Views Last edit May 18, 2020 at 08:00 PM 2 rev

Hi guys,

I recently had the issues that auto-generated ValueLists (by using '@cds.odata.valuelist' in the schema or the "valueList.entity:'AnEntity' " oppurtunity in a cds-view) would not display any data if I do not exclude the fields (createdAt, createdBy, modifiedAt and modifiedBy) for the corresponding entity in the service definition.

Did anybody else had the behavior as well and know a possible reason for that behavior?

Excluding the fields:

Not excluding the fields:

A possible workaround is to just simply create the valueList on your own in your cds-view

Attachments

unbenannt1.png (80.9 kB)
unbenannt3.png (43.5 kB)
unbenannt4.png (14.0 kB)
unbenannt.png (4.6 kB)
unbenannt2.png (2.5 kB)