on 2024 Apr 18 2:59 PM
Dear experts,
This is my first question and I hope you can help me. I am developing a custom Fiori Elements app with CDS annotations and cannot get the intent based navigation to work.
I want a link from the business partner column to the custom business partner app:
Therefore I added the following annotation to the column in the CDS View:
@UI.lineItem: [{ position: 20, importance: #HIGH, type: #WITH_INTENT_BASED_NAVIGATION, semanticObjectAction: 'display', criticality: 'GPStatusCriticality'}]
@Consumption.semanticObject: 'Z_GPM_SEM01'
GeschaeftspartnerID,
But it doesn't show a link or an error in the developer tools. I tried although with FOR_INTENT_BASED_NAVIGATION with no success.
Everything works fine if I try to open the semantic object with action manually by URL:
https://xxx/sap/bc/ui5_ui5/ui2/ushell/shells/abap/Fiorilaunchpad.html#Z_GPM_SEM01-display
The wanted app opens without problems.
For the service ODATA V4 is used and beside the navigation problem everything works fine.
The UI5 Version is 1.96.28.
I would appreciate your help.
Best regards,
Tobias
Request clarification before answering.
I found the solution myself. The problem in my case was that I opened the app with the URL from the deployment:
http://xxx/sap/bc/ui5_ui5/sap/z_rechnung_01?sap-client=100
In this case the navigation didn't work. But if I used the URL with the semantic object, everything worked fine
https://xxx/sap/bc/ui5_ui5/ui2/ushell/shells/abap/Fiorilaunchpad.html#Z_RECHNUNG_SEM01-display
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
62 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.