UCI behavior:
On our system we have a custom entity A that has a relationship with another Custom Entity B
Custom Entity B has the following fields:
- Name (Custom Entity A has a Lookup field to this entity, it displays this primary field)
- Name Spanish
- Name English
Each time we create/update a record in the Custom Entity B, we update the Name field with the concatenation of the other two fields "Name Spanish | Name English".
Currently, we were managing the Lookup record language value via plugin code:
Custom Entity A
- Message: RetrieveMultiple & Retrieve
- PostOperation
- Synchronous
Depending on the Users current language, we modify the lookup Name value to be the English or Spanish label. This is working on the legacy side, but on the UCI it does not.
While debugging this, the logic runs as expected, and the lookup.name is being change accordingly, but for some reason it does not get reflected on the UCI views/record form.
My question here is, does UCI support Lookup field name value modifications for RetrieveMultiple/Retrieve Message?
This type of workaround for managing language on lookup fields has been previously mention before on other forums by other Users, in the past this was working as expected, but now that we are migrating to On-premise V9.0, on the UCI the change does not get reflected, even though the logic internally does not fail.
If anyone has experienced a similar behavior when trying to modify the entities results on this Messages, any info would be appreciated.