Luděk Janošek
06/23/2023, 8:50 AMMichal Hauzírek
06/23/2023, 9:01 AM{
"filters_config": {
"user_column": "login",
"labels": [
{
"label": "label.first_label",
"column": "filter_column_1"
},
{
"label": "label.second_label",
"column": "filter_column_2"
}
]
}
}
then in your user filter provisioning table just add new column (filter_column_2 in this example) and it will handle all the filters at once.Luděk Janošek
06/23/2023, 9:32 AMsale_vehicle
table according to the column pobocka
(1st att). Now I need to ensure this for other tables as well (e.g. vehicle table and others). Or can this be added by duplicating lines 20-26 defining the other tables? (2nd att) Anything like 3rd att? ThanksMichal Hauzírek
06/23/2023, 2:23 PMout_l05_lcm_user_filter_brick_dev
table and if it also contains information about the other filters you are trying to set up. But if it does, then yes, by duplicating and modifying the highlighted section of the configuration will do it.
Just to make it clear, the source table for the user provisioning brick will need to look something like this, so instead of having just one column (currently named “user_filter”) you will have as manu columns as many filters you want to set up. Assuming you want to set your “pobocka” filter and additional “znacka” filter, it will look like this:
client_id, login, pobocka, znacka
AAA, alena@aaa.aa, Brno, Skoda
BBB, <mailto:zdenek@bbb.bb|zdenek@bbb.bb>, Praha, Seat
and of course you need to assign the column names properly in your configuration.Michal Hauzírek
06/23/2023, 2:36 PM