cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Intent-based Navigation - semanticObjectAction annotation

RaminS
Active Participant
0 Likes
6,228

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.

RaminS_0-1736956274399.png

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:

RaminS_1-1736956358356.png

So why does it not navigate to the intended target instead of bringing up a list of actions?

Thanks

 

View Entire Topic
Erol_CAGLAR
Participant
0 Likes

Hi again, Is there available Company code and  year in your metadata extension? 

Because when you mapping your semantic object , it is looking these fields? it must be same source and target.

it is case sensitive lover and uppercase.  

For example target app is waiting 

Your app                         targetapp                       result

Companycode            CompanyCode       doesn't work

You can look fioriappliblary for this information.

 

Erol_CAGLAR_0-1767084344397.png