Share via

How to call office js function hosted in taskpane from c# addin. For example, On contentcontrol enter event, highlight any html control on taskpane

Ganesh Panchal 6 Reputation points
Apr 26, 2022, 4:56 PM

How to call office js function hosted in taskpane from c# addin. For example, On contentcontrol enter event, highlight any html control on taskpane

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,013 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
4,103 questions
{count} vote

1 answer

Sort by: Most helpful
  1. David Chesnut 166 Reputation points Microsoft Employee
    Oct 31, 2022, 11:20 PM

    You can get the Office version and some related information through Office.context.diagnostics. See https://learn.microsoft.com/javascript/api/office/office.context?view=common-js-preview#office-office-context-diagnostics-member

    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.