Extension API - File selector?

Hi,

I don't see it in the documentation, but is there a file selector I can use in a data record view?

I want to be able to select a .json file, but my only options appear to be selecting a folder, or selecting a resource.
The 'Improvement Board' is for making specific suggestions to enhance the way the engine works.

Moved to: VNMaker Support
Thanks for moving it.

As a little update, I've found I can work around this by exporting the JSON in a JS file in the ./scripts folder. I'm still interested if it's possible to load JSON files into resources or something.
Hi, you can use GSFilePathBox UI element in a DataRecordView to select a file, a folder or save location for a file. It has a selectionMode property which you can set to:

"selectionMode": "open" <= to select a file
"selectionMode": "folder" <= to select a folder (default)
"selectionMode": "saveAs" <= to save a file

Let me know if that helps you out or if you need more detailed information.
That's exactly what I was looking for!

Thanks so much.

Original thread: https://forums.rpgmakerweb.com/threads/extension-api-file-selector.97089/