on ‎2023 Dec 28 2:26 PM
Hello,
I have a Fiori Element in OData V4 with CAP, my screen below shows an object page the Organisme entity (service.Organization) which is composed of 1:N accounts (service.Organization), I can link and unlink the accounts with custom actions.
Basically, unlink action from Comptes Financiers section empties the organization_id from the account entity, so the account linked to the action will disappear from the list of accounts of the organization.
The action is working fine but I don't find a way to refresh the list of accounts after the unlink action.
I tried several ways with Side Effects but I none of them are working, here is an example of an unsuccessful test
annotate service.compfinancier with @(
Common.SideEffects: { SourceProperties: [organization_ID], TargetEntities : [organization.compfinancier] })
I tried to paste the code with Insert Code but it's getting empty when I publish the post..
Do you have any idea on how to make it work?
Greetings,
Denis

Request clarification before answering.
| User | Count |
|---|---|
| 11 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.