I am trying to declare a local annotation in Fiori List report application. The button on the toolbar should navigate me to an other application.
I am using the annotation DataFieldForIntentBasedNavigation using the semantic object and action and a label.I am able to see the button but it is getting enabled only after selecting the line item. I want this to be enabled irrespective of line selection.
As per the documentation https://sapui5.hana.ondemand.com/#/topic/8ba009d7b8434dc1a4948c9211e30c40.html, I tried setting the property 'RequiresContext' as well. When I set this to 'false', I am not seeing the button. If I set the property to 'true' or if I remove the property, I can see the button but its disabled till we select the line item.
Please suggest me if I am missing something here. Attached the screenshots for reference.