Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

FacetFilter Json model and xml binding path

Hello Team,

Please share json model content with valid binding paths for facet-filter in xml view. I see it under explored but didn't find actual JSON Model data file.Please share if there is any simple example.

I am already trying but as of now I am not successful in achieving this with JSON Model for xml view type.

Regards,

Koti Reddy

Former Member
Former Member replied

HI All

Jsonlint verify json and not javascript object, so this should work

{
    "oModel": {
        "Toolbar": {
            "Design": "Solid"
        },
        "Facet01": {
            "Key": "Facet01",
            "Title": "Departmanlar",
            "Items": [
                {
                    "Key": "k1",
                    "Text": "İnsan Kaynakları"
                },
                {
                    "Key": "k2",
                    "Text": "Satış & Pazarlama"
                },
                {
                    "Key": "k3",
                    "Text": "Satınalma"
                },
                {
                    "Key": "k4",
                    "Text": "Finans"
                },
                {
                    "Key": "k5",
                    "Text": "SSH"
                }
            ]
        }
    }
}

Thanks

-D

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question