JS creating folders on disk with data

Viewing 1 reply thread
  • Author
    Posts
  • May 8, 2019 at 8:34 AM #34685

    Gilles Cruypenynck
    Participant

    Hi,

    Would Javascript (used within Tapforms) allow me to create folders on disk named after some data from Tapforms?
    Think, for example, of a students database and creating folders named based on their family name field.

    I don’t know JS and thus whether I should spend/waste time trying to write such a script.

    Any help or advice will be much welcome.

    Regards

    Gilles

    May 8, 2019 at 8:36 PM #34688

    Brendan
    Keymaster

    Hi Gilles,

    I haven’t written anything into Tap Forms to allow you to write folders on disk. I suppose it might be possible for me to add an API to allow you write to a file on disk. I’m not sure how cross-platform (macOS and iOS) it would be though because there’s security rules that have to be abided by.

    For example, on macOS, I have to get permission from the user to write to certain locations that are outside the sandboxed area. That’s what the Save and Open dialogue windows provide. But there’s no open and save dialogue windows on iOS. An iOS app can only write into a few places. In the app’s sandbox area and also a app group container. It’s a complex issue actually.

    Thanks,

    Brendan

Viewing 1 reply thread

You must be logged in to reply to this topic.