I have an Office.js application which consists of one taskpane add-in, multiple corresponding content add-ins and function file commands.
- What are the different ways of inserting a content add-in into a document, now that the "insert content add-in button" is not available? I know that a content add-in, by default, can be inserted from the ribbon, choosing Insert --> My Add-ins and browsing my content add-in, but it is not a user-friendly task to do and I am looking for something neater, customizable solution.
- Is there any way to insert a content add-in programmatically (considering security) or it always requires a manual interaction from the user through the ribbon? It would be great to insert a content add-in directly from the corresponding Taskpane, for example by pressing a button there. Is this possible? If not then can you please suggest any other method for inserting a content add-in other than the previously mentioned "default" one?