Skip to Content

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Aug 16, 2017 at 01:23 PM

    Hi,

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

    thanks.

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 13 at 05:23 AM

    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

    Add comment
    10|10000 characters needed characters exceeded