How to add backend (mongoDB) functionality to Excel add-in?

Peter Hague 0 Reputation points
2024-03-02T11:08:51.76+00:00

Hi I'm trying to build an Excel add-in via the JS API. I need to serve and collect data to and from the workbooks, so need some sort of database. I want to use MongoDB but trying to install it the normal way and requiring it in taskpane.js results in a "mongoose.connect is not a function" error. How should I go about setting up a backend for one of these apps? Thanks

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
994 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,963 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bhasker Kumar 5 Reputation points
    2024-05-08T11:14:42.87+00:00

    I am using , RTK query to do CRUD with SQL(with express on top to create API ) .. SO if you have the MongoDB API, you can use it in the similar way.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.