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

Microsoft 365 and Office Development Office JavaScript API
Microsoft 365 and Office Development Other
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.