on 03-14-2017 10:30 AM
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
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.