- the New spreadsheet item of the Insert menu, which creates a spreadsheet page,
- the Pivot table v2, Table v2 and Tree table v2 widgets.
atoti-ui-spreadsheet-generic-release repository of our Artifactory.
To get access to this repository, contact your account manager.
Authentication to Artifactory is required to follow the link above. Otherwise,
it may look broken or unavailable.
Download the extension
Log into Artifactory as described in Set up. When you have access to theatoti-ui-spreadsheet-generic-release repository, download the build of the extension from it: atoti-ui-spreadsheet-extension-{atotiUIVersion}.zip.
Use the version matching the version of your Atoti UI.
The archive contains a single spreadsheet-extension folder, holding the built extension and its entry file, extensionEntry.js.
In a Java project
Make sure your project includes the Atoti UI Spring Boot starter.-
Extract the archive, and move the
spreadsheet-extensionfolder toresources/static/atoti-ui/extensions/@activeviam/spreadsheet-extension. -
Create or edit the file at
resources/static/atoti-ui/extensions.json, and add the following entry to it: - Rebuild your project, then run it.
- Clear your browser cache and refresh the page, for instance by pressing Ctrl + F5.
In a standalone Atoti UI
- Extract the archive, and move the
spreadsheet-extensionfolder toextensions/@activeviam/spreadsheet-extension, at the root of your Atoti UI folder. - Open the file named
extensions.jsonat the root of your Atoti UI folder, and add the entry mentioned in the paragraph above to it. - Start your server if it is not already running.
- Clear your browser cache and refresh the page.
Order of the extensions
Atoti UI activates the extensions in the order ofextensions.json.
The v2 table widgets copy the context menu of their standard counterparts when the spreadsheet extension is activated.
Register the extensions that add items to the context menu of table widgets, such as your own custom menu items, before the spreadsheet extension.
Otherwise, the v2 table widgets do not show these items.
Troubleshooting
To check that the extension is registered, open a dashboard and open the Insert menu of the application header. It contains the item New spreadsheet when the extension is registered. If it does not, open the developer tools of your browser:- In the Console tab, look for an error about the extension, such as “Could not activate extension “@activeviam/spreadsheet-extension"".
This class of errors is caused by the extension failing to register.
This may be for instance because the application menu does not contain the Insert submenu, with the key
insert-submenu, to which the extension attempts to add New spreadsheet. - In the Network tab, reload the page and select the request to
extensions.json. Check that its response contains the entry of the spreadsheet extension. If it does not, theextensions.jsonfile of your deployment was probably not updated, or your browser serves a cached version of it. In the latter case, clear your browser cache and reload the page. - In the Network tab, check that the request to
extensionEntry.jsunderextensions/@activeviam/spreadsheet-extensionsucceeds. A failed request means that the folder of the extension is not whereextensions.jsonpoints.