Hi All,
I have an object page with a section, which contains a chart. Now I want to add a button (as an action) to the chart toolbar, with an intent based navigation to another fiori app. The chart and the section and so on are created via Annotations in CDS Views.
I found the following in the SAP Help https://help.sap.com/viewer/468a97775123488ab3345a0c48cadd8f/202110.000/en-US/7d1fa8399f714cf6a657ac... and tried to implement it. The issue is, that the button is not visible in the chart toolbar. Below are the annotations I used.
@Consumption.semanticObject: 'CreditMemoRequest'
@UI.chart: [{
qualifier: 'SalesChart',
chartType: #COLUMN,
dimensions: ['BillingDocYear'],
title: 'Sales',
measures: ['BillingDocAmount'],
actions: [{type:#FOR_INTENT_BASED_NAVIGATION, semanticObjectAction: 'manage', label: 'Test', requiresContext: true }]
}]
Below the chart the selection contains an analytical table showing the sales. If I use the annotation to implement an action for the table, it works perfect.
@UI.lineItem: [{type:#FOR_INTENT_BASED_NAVIGATION, semanticObjectAction: 'manage', label: 'Testbutton', requiresContext: true}]
I also tried to implement the button for the chart using local annotations and setting "Inline" and "Determining" to false. Without any success.
I hope somebody is able to help me.
Thanks in advance,
Regards,
Julia
Request clarification before answering.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 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.