Hi, I was previously using
fd.control(dataTable)._dataProvider.refresh();
To refresh a Library control following upload, however the dataProvider.refresh() is returning ‘Cannot read property ‘refresh’ of undefined’ - I will check and make sure nothing else has changed in my code to trigger this, but could you advise if switching over to PnP would have caused this?
EDIT: I solved the issue. The function refresh is now public - therefore:
fd.control(dataTable).refresh();
works instead. Thought I’d leave this post in case any others have also seen this behaviour following update.
Kind regards
Andy