The refresh of the Embedded Component(EC) is not working even though you have clicked on the Refresh button available in the screen.
SAP Cloud for Customer
Reproducing the Issue
Login to the frontend UI.
- Navigate to the Thing Inspector(TI ) screen.
- Perform the relevant actions and click on save.
- Come back to the TI screen and click on the Refresh button.
- The records does not get updated.
The issue is occurring because the components are running in two different sessions, and the EC is not aware of a change and save that has happened in a different session.
Till the TI is open, backend maintain a cache for the session and reads from that cache even on Refresh. Only closing the TI window, session is closed and cache is cleared.
We will be clearing the buffer only incase of OWL. Buffer are having the old data. That is the reason the refresh is not happening.
This is the current behavior. If you want to get the refresh functioanlity working then can follow the below approaches:
Solution 1: Instead of EC you can use OWL. Add the EC in the OWL and test it.
Solution 2 : You can go for SADL query in the same EC.
Refresh not working TI is not refreshing Custom EC not refreshed , KBA , ec , sadl query , AP-RC-UIF-DT , UI Framework Designtime , Problem