OfficeJS Word add-in support for Office.StartupBehavior.load - ms-word

I am developing a word add-in which should be loaded on document open and it should support both desktop and web apps.
When I am trying to use
Office.addin.setStartupBehavior(Office.StartupBehavior.load)
for office word on the web then getting RichApiĀ error.
RichApi.Error: InvalidRequest
at new n (word-web-16.00.js:25:309056)
at i.processRequestExecutorResponseMessage (word-web-16.00.js:25:373222)
at word-web-16.00.js:25:371285
When are we going get 'Office.StartupBehavior.load' support for office word on the web ?

Related

Office add-in: create a loading overlay over the entire word host application

The FluentUI got some progress loading components but they can only be applied to the add-in (which is a web application) only.
Is there anyway to display a loading overlay over the entire word host application as opposed to displaying on the add-in only?
Web add-ins are still very limited in UI customizations. The best what you could do is to create a popup window using Office dialog API. Read more about that in the Use the Office dialog API in Office Add-ins article.

word add-in debugging task pane app in office online

I recently updated my Microsoft Word task pane add-in and resubmitted it through the seller dashboard. After doing this, I got a document with a set of issues.
Based on the advice in this link (https://learn.microsoft.com/en-us/office/dev/add-ins/testing/debug-add-ins-in-office-online
), I was able to obtain a office 365 developer account.
Now, I am trying to debug my word add-in in office online. I added the local manifest pointing to localhost (https) from Settings->Add-ins->Upload the manifest file.
However, when I open a document and try to load the app, it is not found either in the store or in the admin managed addins.
I am also not finding my existing deployed app format in the office online store.
Can you point me in the right direction to see the app in the office store?
Also, how do I debug the app to fix the issues in office online?
Thanks for your help, I appreciate it.
You can upload your add-in for testing in Word Online by opening the insert tab on the ribbon, clicking Office Add-ins, clicking Upload My Add-in and uploading your manifest file.
Your add-in will appear in the My Add-ins section of the Office Add-ins window, and in the relevant ribbon location (add-in dependent) of the Word Online ribbon.

Implementing Microsoft Word onto website or very similar

I need to implement Microsoft Word into my works website and I'm having real trouble trying to find any information about it. Is there a way to do this? I need mail merge functionality but I don't mind whether it just works with my website (database website)rather than being implemented into it
(I've used CKEditor and TinyMCE but neither are useful for my website/work. I need it to be simple and I'm working with people who just know basic Word)
I don't think you can embed (real) Microsoft Word editing functionality in an arbitrary website.
However, if you are running a Sharepoint server, then you can upload MS Word documents to Sharepoint and edit there them via a web browser via "word Web App". It also allows the user to "one click" download a document and edit it Word installed on their machine.
References:
Microsoft's Introduction to Word Web App
Alternatively, if you are prepared to look at 3rd-party solutions, some are listed in these Q&As:
Embed editable MS Word document on web page
Making Word document embedded in a web page editable or read-only
However, this is dangerously close to asking for a recommendation for software or a web-based service, and that is off-topic.

Saving document to server in Java

We have an existing web application written in Java. We want to give our users the ability to open a Word document that is stored in our application on the server. So when the user downloads the document from our server, Word pops up and they then can edit this document on the client. Once finished editing the document we would like to give them the ability to save this document automatically back to the server where they retrieved it, by simply selecting on the Word Save icon. Similar to how SharePoint does it.
Seems to me SharePoint would be a good solution for this and they do it very well, but unfortunately we cannot use SharePoint in our architecture.
There also seems to be a lot of server-side possibilities that we can use to upload and open word documents from our server, I feel we can solve these use cases easily.
My big problem is the automatic saving of an edited document by the client back to our server where the document was downloaded
I am not Microsoft proficient to know what the best solution would be.
Should we write a Word AddIn to save to our server?
How do we get the Word AddIn into our users desktops?
Can we embed a Word AddIn into the Word document that is opened on the client?
1.Should we write a Word AddIn to save to our server?
If you don't want to use SharePoint you can develop an add-in where you can implement all the required functionality and much more.
2.How do we get the Word AddIn into our users desktops?
You can develop an installer for the add-in. See Deploying an Office Solution for more information. Also you can use the group policy objects for deploying the software automatically.
3.Can we embed a Word AddIn into the Word document that is opened on the client?
You can develop a document-level add-in, i.e. the code will be run for a specific document only. But you will need to install it as an application level add-in. See Architecture of Document-Level Customizations for more information.

Need Microsoft office installed on server for Java EE application

I wanted to know do we need Microsoft office installed on server in order to generate word, excel, pdf documents from Java EE application.
As I understand the pdf is generated by iText so there is no need of anything there but for Excel, Word or any other open office document does it happen through library or do we need office applications installed on server?
Secondly, in case of heavy load of generating let us say 500 documents will this component handle it?