How to know my add-in is open in Excel task-pane Office 365? - excel

I am creating an Office 365 plugin for Excel using Angular. I use Office-JS library to interact with Excel. My plugin appears in the Excel task-pane.
I want to know that my add-in is open/close in task-pane via code, I want to know as I need to solve some issue related to this in my add-in.

Unfortunately our API doesn't provide the event for Taskpane open/close. which is a known feature gap.
So would you please provide us feedback via https://officespdev.uservoice.com/forums/224641-feature-requests-and-feedback?category_id=163563 and upvote for this feature. Thanks for your support.

Related

Excel add-in interaction with other Office365 applications

I'm exploring Office 365 development and I'm trying with Excel add-ins.
One thing I'd like to was to interact with other Office applications, like Outlook, OneDrive and Word - from Excel.
For example, I'd like to send an email from an Excel table and/or insert the value of a cell in a Word document.
After searching the documentation, I couldn't find if this is possible, so I'd appreciate some help.
I'm new to Office development.
Thanks in advance!
Add-ins (Office.js) run in separate instances of browsers (controlled by the Office apps). This makes it difficult to pass messages between apps. Browser storage (cookies, localStorage and IndexedDatabase) can't consistently see each other's data/events when in separate instances. Because of this, we had to pass messages through our servers just to communicate between Excel, Word, and PowerPoint on the same device. Microsoft currently does not provide an API to communicate between add-ins in different apps.

How to show the chat icon for Excel desktop application?

According to Microsoft Help: Enhance collaboration with Chat in Microsoft Office. I would expect to see the chat icon for Excel Desktop application, but I don't:
I am using Microsoft Office 3654 ProPlus. I have access to the chat window using this workaround:
Searching online, I found a similar problem, but for Excel online: Unable to find "chat" button when co-authoring excel online, but my issue is only with Excel Desktop application. I am able to see the chat icon with Excel online.
I was trying to add it to the Ribbon or Quick Access Toolbar, but that feature does not belong to such sections of the excel header. I am pretty sure its something easy, but I cannot find it.
According to Microsoft, they eliminated the chat button for Excel Desktop App although the Excel Office Online has this option. Now they offer to access to chat function (Join Chat Group) in the way it is explained in the question. Microsoft calls it: "a design change".
So far it happens for the following version:
version 1907(Build 11901.20218)
version 1908(Build 11929.20254) latest one
For more information, please check the response for a similar question in Microsoft Community Forum.
If you don't like it, the only option is to dislike this feature (File->Feedback) from Excel Desktop application.

Get office version in addin with office.js

I need to get the office version that is running my word add-in. I need to get some statistics about users.
How could'I get this in Office.js ?
This isn't currently supported by the APIs. Could you please elaborate on your scenario of why you need it?

It is possible to modify the state of office addin command?

I am looking for how to modify the state of office app addin command,but get no results.Can anyone tell me is it possible to dynamically disable or hide the addin command button in Office ribbon after being loaded.It seems the Manifest file only load initially,and can't be changed after that? Thank you!
No. At present, the add-in command button only control by the menifest. It is not able to disable dynamically. You can submit the feedback from here if you require this feature.
As a workaround, you may also consider developing an VSTO add-in. However it only works for the Windows platform. Here is an helpful thread.

VSTO & Office.context.document.settings

Is it possible to access Office.context.document.settings from VSTO?
We have an VSTO AddIn that currently writes to the CustomXML in Excel workbooks. We would like to make it Napa/O365 compatible. Since Napa can't read CustomXML parts in Excel we want to write to Office.context.document.settings, hence the question above.
Or is there a better way to share storage between VSTO and Napa in a Excel workbook?
Ron.
The JavaScript for Office API can't be used in a VSTO solution, as it requires a web context. Your desktop add-in solution would have to be ported to use the web-based APIs and tools.

Resources