In this article
These are extensions of the program's functionalities, for reporting, calculating, exporting, importing, establishing bills and reminders and other.
They need to be set up by the user by clicking the appropriate button in the Manage Extensions dialog from the Extensions menu.
Execution takes place via the Extensions menu or within the specific functionality (for example: Import into accounting).
The Extensions menu lists all the already installed Banana Extensions related to the file that is open at the moment. By selecting the command, the indicated Extension will be executed.
Manage Extensions
The Manage Extensions... command allows you to search for, install, alter your settings or uninstall Banana Extensions.
Installing a new Extension
For installing a new Extension, visit our Manage Extensions... page.
Technical information on Banana Extensions
Herewith some technical information on Banana Extensions
- They are programs in Javascript that make use of API's available in Banana Accounting.
- They are very secure and cannot perform functions that might an impact on the operating system.
- Single Extensions.
A text file with the .js extension, which contains a program in Javascript, indicating the characteristics to be a Banana Extensions. - Extension package
A compressed file with the .sbaa extension, which can contain several other files, necessary for the application, such as commands, images, dialogues. A package can contain several commands. The title of the package and the commands it contains are indicated in the Extensions menu.
If you disable a package, all Extensions will be disabled.
Prerequisites for running Extensions
The commands for running Banana Extensions are only made available if the current file (the one on which you are working) has the features required by the Extensions. If an app is not visible in the Extensions menu or is not executable, it will be because none of these features are present.
- Extensions are available in specific context:
- Productivity
Commands that can be recalled in the Extensions menu. - Import.
Available via the Import into accounting command. - Export.
Available in the Extensions menu. The user should define the file name at the end of the process. - Invoice report
Prepares the invoices to be printed. Available via the Print invoices... command (Account2 menu → Clients). - Reminder report
Prepares the reminders to be printed. Available via the Print reminders... command (Account2 menu → Clients). - Statements.
Prepares the statements to be printed. Available via the Print statements... command (Account2 menu → Clients).
- Productivity
- Association via a File Type.
This requires the current file to be - for example - an Accounting file, or the double entry file, or addresses. - Association via a property.
Some Apps will only be executable if the relevant word is specified in the File properties, Other section (from the File menu).
For example, the List of Administrators to be printed, that require specific fields, will require the word "Administrator".
Develop your own Extensions
Anyone can create Banana Extensions that extend the functionality of the program. However, programming fluency is required..
To develop a Banana Extension, it is recommended to set out from an existing project.
- Start from an example available on the github.com \ BananaAccounting site
- Please refer to the developer documentation.
- Install the application via the Manage extensions command (from the Extensions menu).