File Explorer Refresh

Hi,
I’m using file explorer to select auto generated csv files. However the contents of the file explorer only updates when I restart the project ( 7.7.rc2 ) ! The system is running on windows 7 and the client and gateway are on the same machine. Is there anyway to auto refresh file explorer ?

Thanks

Tom

I don’t see an easy way to do this, but I did find a work around. You can try a script that changes the rootDir property and then changes it back to what it was before.

event.source.parent.getComponent('File Explorer').rootDir = ""
event.source.parent.getComponent('File Explorer').rootDir = "E:\"

This worked for me and hopefully you too!

I’ve also just found that setting the file filter property to whatever its value already is causes the component to refresh. Probably looks a lot better doing it this way instead.

Thanks,

Both options worked

Regards,

Tom