Skip to Content

Fiori OVP: Navigation with URL parameters

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.