Skip to Content
0
May 24, 2019 at 10:39 AM

Visual Filters are not shown in Analytical List Page

588 Views Last edit Jun 03, 2019 at 12:03 PM 7 rev

Hi,

I am trying to make a ALP with compact and visual filters. I have a chart and a table in the content area. In the Filter section, for the compact filter - I have selection fields for the columns of the table. I have created a PresentationVariationQualifier and included a chart which is same as the one included in the content section. However, the visual filter does not show up.

1. metadata.xml

metadata.txt  see below the attachment

2. This is the annotation.xml file .

annotation.txt   see below the attachment

3. This is the manifest.json file

{
	"_version": "1.7.0",
	"sap.app": {
		"id": "com.atos.fiori.gpdbalp.GPDB_ALP",
		"type": "application",
		"i18n": "i18n/i18n.properties",
		"applicationVersion": {
			"version": "1.0.0"
		},
		"title": "{{appTitle}}",
		"description": "{{appDescription}}",
		"tags": {
			"keywords": []
		},
		"dataSources": {
			"mainService": {
				"uri": "/sap/opu/odata/sap/ZGPDB_SRV/",
				"type": "OData",
				"settings": {
					"odataVersion": "2.0",
					"localUri": "localService/metadata.xml",
					"annotations": ["annotation0"]
				}
			},
			"annotation0": {
				"type": "ODataAnnotation",
				"uri": "annotations/annotation0.xml",
				"settings": {
					"localUri": "annotations/annotation0.xml"
				}
			}
		},
		"offline": false,
		"sourceTemplate": {
			"id": "ALP_WebIDE_Plugin.analyticallistpage",
			"version": "1.41.1"
		}
	},
	"sap.ui": {
		"technology": "UI5",
		"icons": {
			"icon": "",
			"favIcon": "",
			"phone": "",
			"phone@2": "",
			"tablet": "",
			"tablet@2": ""
		},
		"deviceTypes": {
			"desktop": true,
			"tablet": false,
			"phone": false
		},
		"supportedThemes": ["sap_hcb", "sap_belize"]
	},
	"sap.ui5": {
		"resources": {
			"js": [],
			"css": []
		},
		"dependencies": {
			"minUI5Version": "1.42.1",
			"libs": {
				"sap.ui.core": {
					"lazy": false
				},
				"sap.ui.generic.app": {
					"lazy": false
				},
				"sap.suite.ui.generic.template": {
					"lazy": false
				}
			},
			"components": {}
		},
		"models": {
			"i18n": {
				"preload": false,
				"type": "sap.ui.model.resource.ResourceModel",
				"uri": "i18n/i18n.properties",
				"settings": {
					"bundleName": "com.atos.fiori.gpdbalp.GPDB_ALP.i18n.i18n"
				}
			},
			"i18n|sap.suite.ui.generic.template.AnalyticalListPage|List1Set": {
				"type": "sap.ui.model.resource.ResourceModel",
				"uri": "i18n/AnalyticalListPage/List1Set/i18n.properties"
			},
			"i18n|sap.suite.ui.generic.template.ObjectPage|List1Set": {
				"type": "sap.ui.model.resource.ResourceModel",
				"uri": "i18n/ObjectPage/List1Set/i18n.properties"
			},
			"": {
				"preload": true,
				"dataSource": "mainService",
				"settings": {
					"defaultBindingMode": "TwoWay",
					"defaultCountMode": "Inline",
					"refreshAfterChange": false,
					"metadataUrlParams": {
						"sap-value-list": "none"
					}
				}
			},
			"@i18n": {
				"type": "sap.ui.model.resource.ResourceModel",
				"uri": "i18n/i18n.properties"
			}
		},
		"extends": {
			"extensions": {}
		},
		"contentDensities": {
			"compact": true,
			"cozy": false
		}
	},
	"sap.ui.generic.app": {
		"_version": "1.3.0",
		"pages": {
			"AnalyticalListPage|List1Set": {
				"entitySet": "List1Set",
				"component": {
					"name": "sap.suite.ui.generic.template.AnalyticalListPage",
					"list": true,
					"settings": {
						"defaultContentView": "charttable",
						"smartVariantManagement": true,
						"multiSelect": false,
						"autoHide": true,
						"defaultFilterMode": "visual",
						"showGoButtonOnFilterBar": true,
						"condensedTableLayout": false,
						"keyPerformanceIndicators": {}
					}
				},
				"pages": {
					"ObjectPage|List1Set": {
						"entitySet": "List1Set",
						"component": {
							"name": "sap.suite.ui.generic.template.ObjectPage"
						}
					}
				}
			}
		}
	},
	"sap.platform.hcp": {
		"uri": ""
	}
}

And this is my result from the ALP

Compact Filter is shown

Visual Filter is not shown

Consol Log

    

Attachments

compact.png (147.8 kB)
visual.png (108.2 kB)
console.png (158.2 kB)
metadata.txt (13.3 kB)