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. 

 

 

Help us improve the documentation

We welcome feedback on how to improve this page.

Tell us what theme needs a better explanation or how to clarify a topic.

Share this article: Twitter | Facebook | LinkedIn | Email