on ‎2022 Apr 18 11:14 PM
Hello experts !
I'm trying to set some fields "read-only" using dynamic feature control ( BTP environment ), but only when the screen is refreshed/changed the changes are effective.
If I'm editing items using multi inline editing, the fields are not set to read-only unless I refresh the screen. The material AA sets the field quantity read-only.

After refreshing the screen :

Or going to the detail page

Does anybody know if it's possible to make the dynamic feature control work in this scenario without needing to refresh the screen ?
Thanks for your help.
Regards,
Fabiano.
Request clarification before answering.
A refresh has to take place in order to activate the changes in the screen.
What you probably mean is whether the refresh can be triggered.
For this you would have to use so called "side-effects".
These do however only work with a deployed app, not with the SAP Fiori Elements preview. This is because side effects can only be configured in an annotation.xml file. It is not possible to configure side effects using annotations in the backend.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A side effect can be configured such that only single fields are reloaded.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 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.