cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori Elements List Report - Force request when re-clicking item

jprovost
Explorer
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Joseph_BERTHE
Active Contributor
0 Kudos

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

smith_john
Active Participant
0 Kudos

Hi,

Did you ever figure this out? I have a similar requirement

thanks.

jprovost
Explorer
0 Kudos

Unfortunatly not 😞 We had to advise the client