on 2024 Jun 29 3:20 PM
What will happen if key field is not enough in custom CDS view, in other words, if we just use key fields are taken from primary data source, don't add additional key fields, and there are multiple rows that have the same key in preview of a custom CDS view, including CDS view, external API,etc.
We must define multiple keys in a custom CDS view to ensure unique identification to every record?
Request clarification before answering.
of course, you have to specify the key correctly to make the record unique.
cds view preivew won't complain if the key is not unique, but the odata service will if I am not wrong.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.