Databar
Configuration for databars is located in separate json files under the following folder structure:
dynamic-app
│
└───samo-demo\configuration
│
└───map
│
└───databar
| └───default-databar.json
└───default.json
Default databar
Default databar - configuration example
{
"tabs": [
{
"title": "open projects",
"entityTypes": [
"ft_g_PROJEKT"
],
"defaultSort": [
{
"order": "desc",
"property": "at_PROJEKT_01"
}
],
"query": {
"types": {
"ft_g_PROJEKT": {
"filter": {
"type": "or",
"clauses": [
{
"type": "compare",
"operator": "equal",
"leftOperand": {
"type": "property",
"property": "at_PROJEKT_04"
},
"rightOperand": {
"type": "literal",
"value": 2
}
},
{
"type": "compare",
"operator": "equal",
"leftOperand": {
"type": "property",
"property": "at_PROJEKT_04"
},
"rightOperand": {
"type": "literal",
"value": 6
}
}
]
}
}
}
}
},
{
"title": "Parcely (měsíční)",
"type": "elastic-search",
"id": "ft_xKatastrParcela",
"entityTypes": [
"ft_xKatastrParcela"
],
"propertyGroupId": "fmd_xKatastrParcela_browse",
"query": {
"must": [
{
"type": "terms",
"field": "at_xKatastrParcela_cl_katastralniUzemi.ca_katastralniUzemi_popis.keyword",
"values": [
"Adamov"
]
}
]
},
"defaultSort": [
{
"property": "at_xKatastrParcela_cisloParcelyTrideni",
"order": "asc"
}
],
"hideProperties": [
"type"
],
"hideFilterProperties": [
"type"
]
}
]
}