localFileSystem.getFolder() should accept a persistent token as an option

If a user has picked a folder already, I would like to be able to have them go back to that folder next time I ask them for a folder instead of the last place they opened or saved a file. I serialize a persistent token, so I am able to access the folder on a subsequent run, but if they want to change the folder, it would be better UI to default to that folder instead of an unrelated one.

1 Like

have you tried with a token?

Yes, the only documented option is initialDomain, no token or path.