Hello,
I am trying to fetch data from an aggregate and show it on the table on my website. Problem is, on initial loading (right after publishing and opening the page in browser), there are no data shown.
I need to trigger the table by filling in the search box then deleting it, then all data will show.
Not really sure what the problem is, but from what i read data will be fetched asynchronously in reactive. Or am I missing something?
Hello all just a quick update, the problem is solved by this means:
Turns out that I have to refresh SourceTableMain and SourceTable data action inside OnAfterFetch of a data action which should run before SourceTableMain and SourceTable screen refresh. I couldn't share neither oml nor screenshot due to company's policy.
And for your information, FetchData attribute of SourceMainTable has been set to At start since the beginning, so that was not the source of the problem.
Regards.
Hi
Can you please share the OML or a screen shot of your aggregate properties and fetch logic so we can check and help you
thanks.
Hi Theodorus,
Check if Fetch property of your aggregate is set to At start, not Only on demand.
If it is already correct, it will be easier to help you if you share your OML.
Hi, please check if the Aggregate or the FetchData of the Table has Fetch Attribute as: At Start, not Only on demand: