Extensions: File access, Import and Export of Data

Documentation •
In this article

The extension mechanism to access local files, import and export data is focused on security, those giving the user full control of the process.

File Access

  • Banana.IO 
    The Banana.IO class is used to read and write to files.
  • Banana.Application
    • openDocument()
      Opens the ac2 file located in filePath and returns an Object of type Banana.Document or undefined if the file is not found. 
      The path can be relative, in this case the base directory is the path of the current document. 

Import Data

You can create an extension specific for importing data. 

Export Data

You can create an extension specific for exporting data. 



Tell us how we can help you better
If the information on this page is not what you're looking for, is not clear enough, or is not up-to-date, let us know.

Share this article: Twitter | Facebook | LinkedIn | Email