2025 Jan 15 2:48 PM - edited 2025 Jan 15 3:54 PM
In my FE object page, I want to make a field clickable to navigate to a second app using Intent-Based Navigation.
My CDS view annotations are:
@Consumption.semanticObject: 'AccountingDocument'
@UI.identification: [{
type: #FOR_INTENT_BASED_NAVIGATION,
semanticObjectAction: 'displayDocument',
}]
But when I click on the field, it brings up a list of available action links, one of which is the action that I want.
I don't want to show the user the other links, I want it to navigate directly to the Intent specified by the annotations.
In the browser preview, it shows that the correct annotations are loaded:
So why does it not navigate to the intended target instead of bringing up a list of actions?
Thanks
Request clarification before answering.
Thank @Erol_CAGLAR for your suggestion. But Consumption.semanticObjectMapping does NOT exist for us.
Is it a special annotation for cloud only perhaps? Do you have a link to the documentation for it?
As SAP help clearly indicates semanticObject only accepts a string:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 13 | |
| 8 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.