Hi,
does anyone know if it is possible to filter “object_manager_attributes” or “objects” in general per Customer. For example, i´ve created the following object_manager_attribute:
{
"name": "customer_machines_2",
"object":"Ticket",
"display": "Customer Machines 2",
"active": true,
"data_type": "multi_tree_select",
"data_option": {
"options": [
{
"name": "Cust_ID_123",
"value": "Cust_ID_123",
"children": [
{
"name": "Contract_ID_123",
"value": "Cust_ID_123::Contract_ID_123",
"children": [
{
"name": "Machine_ID_123",
"value": "Cust_ID_123::Contract_ID_123::Machine_ID_123"
},
{
"name": "Machine_ID_456",
"value": "Cust_ID_123::Contract_ID_123::Machine_ID_456"
},
{
"name": "Machine_ID_789",
"value": "Cust_ID_123::Contract_ID_123::Machine_ID_789"
}
]
}
]
}
],
"default": null,
"null": true,
"relation": "",
"multiple": true
}
}
The problem with this approach is, we have over 40k customers, the dropdown menu would be ridiculously large.
Is it somehow possible that only the contracts and machines are displayed that belong to the respective customer on the ticket?
Thanks for any advice in advance
@edit Json formatted
@edit renamed title for better clarity