on 02-14-2024 8:22 AM
Hi,
I really don't know where to put this question.
As in the CAP documentations it is recommended to us a "generic" key for all entities (aspect cuid):
Domain Modeling | CAPire (cloud.sap)
This eases the implementation of generic functions that can apply the same ways of addressing instances across different types of entities.
So I started my CAP journey with this recommendation in mind.
So much time later and more knowledge with fiori elements I'm stating to user more and more concepts...
Know I'm trying me luck with Deep linking and ODATA v4.
Navigation to an App (Inbound Navigation) - Documentation - Demo Kit - SAPUI5 SDK
And there quick hidden on the documentations is says (thanks to the UI5 support for pointing this out):
Applications must ensure that the semantic keys across the different entity sets of the subobject pages are named uniquely to ensure the correct deep linking behavior.
So now I have to change all entity key to have a different names.
But now the question for me:
regards
Norbert
You can use the following annotation to represent a semantic key:
Common.SemanticKey: [ SalesOrder ]
Therefore, you can use cuid for the primary key and specify one or more different fields for the semantic key.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.