How to refresh an App table control

Hi there,

I am using a table control in a UiPath App Studio and getting the data from UiPath Data Services. I’m trying create a button to refresh the table but there doesn’t seem to be that functionality available.

I’ve seen a post that uses a trick with setting a date variable on the “Refresh” button click and filtering the data in the table, but I can’t figure out how to add the filter. The data source expression looks something like:

Fetch(of myTable)(Nothing, Nothing, Nothing, Nothing, New ExpansionFieldOption(){addExpansionFieldOption(“CreatedBy”, New String(){“Id”,“Name”}), addExpansionFieldOption(“UpdatedBy”, New String(){“Id”,“Name”})})

I have a variable called “dt_RefreshClicked” which is set to DateAndTime.Now() when the refresh button is clicked.

Any help would be GREATLY appreciated.

Thank you,

Carlo.