on 01-11-2017 7:42 PM
Greetings,
I'm using the list report template (SAP fiori elements category) and came to realize that the object page seems to be cached once loaded for an item. If you navigate to another item in the worklist and come back to the previous one, no new request is done. If the data has changed in the database, you have to manually refresh the worklist to ensure that you'll get the latest data in the object page or F5 the object page itself...
It is quite disconcerting that this would be the default behaviour. I understand the benefits of caching on the performances but what good is it if one cannot trust the data?
Am I missing a parameter in the sap.ui.generic.app part of the manifest? How can I assure the user that when he clicks an item, the data will always be coherent with the database?
Any help appreciated,
Thanks in advance
Hello,
Have you tried the Side Effect mechanism ?
In your case it will be a little bit different, but in Side effect you have the ability to control the [Enter] event :
No source properties and no source entities: You can define the behavior of the global side effect (user chooses Enterwithout focusing on a field group). You can use this side effect type to control whether a prepare or validate, or only a refresh is sent. You can also restrict the updated fields via target properties and target entities.
Regards,
Joseph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Did you ever figure this out? I have a similar requirement
thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.