Hi,
I have a button which when the user selects brings up a popup (i.e. makes visible a bunch of fields to mimic being a popup etc) - the user can then select a new value for a field. This does a patch update in the save and updates the source sharepoint list. The sharepoint list is updated correctly. However, I can't seem to be able to get the refresh to work on the main screen. It requires the user to close that screen and go back in again to then show the correct value.
Here is my OnSelect on the Save button on my popup:
UpdateContext({varUpdateReviewDialog:!varUpdateReviewDialog});
Patch('Staff Members',varCurrentRec,{'Initial Review Date':dpInitial.SelectedDate});
Refresh ('Staff Members')
Staff members is my sharepoint list, the refresh doesn;t do anything.
The Default value of my initial review datacard is ThisItem.'Initial review'
here is a view of my popup - the field in the background is not updating after I select Save, unless I go out of the record and return

Any ideas?
Thanks