Dear Experts,
in my service.cds I have an extension field to concatenate 2 data fields from my model:
entity TEST_ENTITY as projection on abc.TEST_ENTITY{*,
DUMMY_CODE || '-' || DUMMY2_CODE as CONCAT_NAME: String @Common.Label:'Concat Name',}
I intend to update this automatically once another filed has been changed based on SideEffects in the UI:
annotate service1.TEST_ENTITY with @(Common : {SideEffects : {
$Type : 'Common.SideEffectsType',
SourceProperties : [DUMMY3_CODE],
TargetProperties : [CONCAT_NAME],
}}, );
this apporach does not work as expected. The concatenation only appear when I save and refresh the entity.Does anybody know how to solve this?Best Regards