word add-in debugging task pane app in office online - ms-word

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.

Related

Make OfficeJs Word Add-in always appear on the ribbon

I am IT for a big organization and I am able to make sure COMM and VSTO Word Add-in always appear on the users's ribbon.
However, we just got a OfficeJs Word Addin, deployed using Sharepoint Catalog as we have Exchange on Prem for O365. I am not able to make it pop up for the users.
Users need to go to My Add-ins, Admin managed/Share folder and then add the Addin. This is decreasing the traction as users are forgetting how to get there.
Any recommendations? Thanks in advance

Word Addins not available when opening document from intranet

I have a docm file with a ribbon and some buttons on it. Whenever I open the file via Webbrower, my ribbon is not available. When I save the file and open it again, the ribbon appears again.
I tried to add my intranet site as a trusted site in the internet settings, and i disabled the "protected view" in word. Im using office 2010.
Anyone having an idea, why word doesn't show my ribbon?

Dynamic data manipulation in word online

I am trying to build a task-pane add-in for word online which can do mail merge like desktop office. Now I understand that word online does not support mail merge out of the box, so I thought about the following steps -
Create a template (DOTX) using desktop office which will contain Region or something like a merge field etc. Upload the template to one drive.
Open a blank doc and add a task pane add-in in word online. This is temporary step for now.
Click a button on the add-in.
This click will stream the template (DOTX) from server using an app service call.
Render the stream into word online web page.
Edit and save.
Close word online and reopen.
Click the doc link.
This will render the doc in word online.
Add the add-in in the task pane (temp step).
Click edit button.
Call app service to fetch the latest merge data source.
Traverse through the word xml and replace the values corresponding to the region or special keys.
Re-render the doc.
My users will have E1 subscription of office 365.
Is this thought process logical and achievable with word online? Thanks in advance!...
I think your approach is much more complicated than it needs to be. Word Online supports Add-ins created using the JavaScript APIs, as supported by the information in this article: https://msdn.microsoft.com/EN-US/library/office/dn833104.aspx
It should be possible for you to create the "template" on the Desktop (Word 2013 or 2016 is required - but only 2016 supports the current full scope of the JS API) and "insert" your add-in, which links it to the document. Opening the document in Word online should automatically load the add-in, that can then link to the data source and fill in the data.
As data targets ("merge fields"), I recommend you use Content Controls.

Office add-in for save location

When you open office 2013 and click "Open", you have 3 choices by default (Recent, OneDrive and Computer) and the possibility to "Add a Place".
I would like to create a add-in to add a custom place...
See, I develop a Electronic Document Manager software, and I provide a add-in to office suit, this would be another feature of the add-in.
Instead of "saving-locally-and-uploading-the-file-to-the-site" and/or "downloading-document-and-read", the user would just open and/or save to the site... I would use the Save/Open event to check if everything is right and the user has access and etc...
It kind of depends what you mean by 'office add-in'. Microsoft rather confusingly renamed the modern 'office store apps' to 'add-ins' at the Build 2015 event. However we also still have the old style VSTO 'add ins'.
If you mean a modern store add-in, then no, those only have limited access to read/edit the document via the office JS library.
If you mean the old style VSTO add-in, then I am not sure.

How Does Microsoft Office knows if a document was downloaded from the internet?

Does anyone knows how Microsoft Office knows if a document was downloaded from the internet?
When I open a Word document that was downloaded from the internet, for example, it opens it in some kind of a safe mode..
How Does Office knows the file was downloaded from the internet?
Is it possible to bypass this protected view (by signature for example)?
As explained in the Microsoft Office 2010 Engineering Blog:
When a file is downloaded from the Internet the Windows Attachment Execution Service places a marker in the file’s alternate data stream to indicate it came from the Internet zone. When a Word, Excel or PowerPoint file is opened and has this marker it will open in Protected View until the user decides to trust and edit it.
The blog linked above goes into more detail as does this document:
Plan Protected View settings for Office 2013
You can bypass protected view manually within Word by going to
File|Options|Trust Center|Protected View
And then clearing the check box for "Enable Protected View for files originating from the Internet"
For additional information see:
How to Disable Protected View in Microsoft Office While Opening Email Attachments or Downloaded Files
On an enterprise level, use the Office Customization Tool and Group Policy to change registry keys to permanently disable the protected view for Internet files. This should get you started:
Office Customization Tool (OCT) reference for Office 2013