cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori OVP: Navigation with URL parameters

a_kuenzel
Discoverer

Hello all,

I am using list cards in my overview pages and try to pass custom URL parameters to the intent based navigation when clicking either on the header or on a list item. The adressed app needs some startup parameters therefore I need to pass these URL parameters.

Here is the card snippet from my manifest.json:

"xyz.MyApp.MyCard": {
  "model": "MY_MODEL",
  "template": "sap.ovp.cards.list",
  "settings": {
    "title": "{{title_my_card}}",
    "category": "{{category_my_card}}",
    "entitySet": "MyEntitySet",
    "listType": "extended",
    "listFlavor": "standard",
    "addODataSelect": true,
    "annotationPath": "com.sap.vocabularies.UI.v1.LineItem#List",
    "identificationAnnotationPath": "com.sap.vocabularies.UI.v1.Identification#List",
    "selectionAnnotationPath": "com.sap.vocabularies.UI.v1.SelectionVariant#List",
    "dataPointAnnotationPath": "com.sap.vocabularies.UI.v1.DataPoint#List"
    }
}

And here is the referenced identification annotation:

<Annotation Term="UI.Identification" Qualifier="List">
  <Collection>
    <Record Type="UI.DataFieldForIntentBasedNavigation">
      <PropertyValue Property="Label" String="DUMMY"/>
      <PropertyValue Property="SemanticObject" String="MY_SEM_OBJECT"/>
      <PropertyValue Property="Action" String="display"/>
      <PropertyValue Property="Determining" Bool="true"/>
      <PropertyValue Property="Inline" Bool="true"/>
      <PropertyValue Property="RequiresContext" Bool="true"/>
    </Record>
    <Record Type="UI.DataField">
      <PropertyValue Property="Label" String="customParam"/>
      <PropertyValue Property="Value" String="hello"/>
    </Record>
  </Collection>
</Annotation>

According to the SAP guide everything should be correct. Even the example of the Identification annotation fits my coding. But still no URL parameters.

Does anybody has a clue what I am doing wrong?

Thanks and Best Regards,

Andreas

0 Kudos

Hi Andreas,

Were you able to find a solution to the problem? I am also unable to navigate to a different application by clicking parts in an analytic card and passing its data in url parameter.

Regards,

Himanshu

former_member289890
Participant
0 Kudos

Hi,

Did you get a solution ? I am facing the same problem.

Thanks,

Tanveer

Accepted Solutions (0)

Answers (0)