cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori Elements App - With Intent Based Navigation doesn't get rendered

Tobias5
Discoverer
0 Kudos

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:

Tobias5_0-1713448110163.png

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

 

 

Accepted Solutions (1)

Accepted Solutions (1)

Tobias5
Discoverer
0 Kudos

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

 

Answers (0)