Qonic is an Excel add-in that allows users to query model data and make modifications directly within Excel. Built using JavaScript and React, this add-in provides a seamless integration with Excel, enabling advanced data manipulation and interaction with your models.
To install and set up the Qonic Excel add-in, follow these steps:
- Node.js
- A Qonic Application in the Developer Portal
You’ll need:
- Client ID and Client Secret
- Whitelisted Redirect URI: https://localhost:3000/login.html
cp .env.example .env# From your Developer Portal application
QONIC_CLIENT_ID=YOUR_CLIENT_ID
QONIC_CLIENT_SECRET=YOUR_CLIENT_SECRETnpm installTo start the development server and run the add-in, use the following commands:
The server is responsible for running the backend necessary for the add-in.
npm run serverThis command starts your add-in and opens Excel with the add-in loaded.
npm startOnce the add-in is loaded into Excel:
-
Login
A login screen will appear when you open the add-in. Enter your credentials to authenticate.
-
Select Model:
Choose the model you want to interact with from the dropdown list.
-
Query Data:
Use the query interface to fetch model data. You can apply filters and criteria as needed.
-
Modify Data:
After fetching data, you can make changes directly in Excel, and these changes will be synced back to the underlying model.
-
Save and Sync:
Ensure that your modifications are saved and synchronized back to the data model by clicking the "Save" button.
For developers who want to contribute or modify the add-in:
-
Code Structure:
The project is organized into the following key folders:
├── assets/ # Contains static assets such as images and icons ├── src/ # Main source code directory for the add-in │ ├── taskpane/ # Contains the main task pane functionality and related components │ │ ├── excel/ # Excel-specific utilities and functions │ │ ├── utils/ # General utility functions used across the task pane │ │ ├── components/ # React components used within the task pane ├── commands/ # Scripts and HTML files related to Excel commands ├── login/ # Contains scripts and HTML for the login functionality
Contributions are welcome! To contribute:
- Fork the repository.
- Create a new branch for your feature or bugfix (git checkout -b feature-name).
- Commit your changes (git commit -am 'Add some feature').
- Push to the branch (git push origin feature-name).
- Open a Pull Request.
TODO