on 2023 Feb 07 6:51 AM
Hello SAP Fiori Elements Community,
with the help of 20eed143c19f4b82bc4cf049916102cb my question Side effect after executing a bound action: How to trigger sorting of result list? was solved. But now I face a similar issue an unbound action. In my sample project bookshop-demo I've added the following annotation:
@(Common.SideEffects.TargetEntities: ['/AdminService.EntityContainer/Books'])
action resetCountOfAllRoles();
to srv/admin-service.cds#L123. When I click resetCountOfAllRoles in the following screen:
The list should refresh to show 0 in the count column. But this happens not automatically. Only when I execute the search again I see the correct result:
Hope that such a behaviour is possible without implementing an extension.
Looking forward for your input.
Best Regards
Gregor
Hi,
This feature is provided with SAPUI5 1.122. You can find the related documentation here, in the ODATA V4 section.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gregor,
We are working on the support of side-effects for Unbound action in coming versions and will come back to you when this feature is available.
Kind regards.
Gwendal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
11 | |
10 | |
10 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.