Create new workbook but manifest can't automatic load my application to ribbon

Supho, Thanonphat 6 Reputation points
2021-06-11T06:32:09.933+00:00

Story : I have my application running with officejs. I create manifest link to my application. and I have some button on my ribbon. When user create new workbook. My manifest add-ins will display but user need to click something on my ribbon for first time to trigger load my application. After that If we try to refresh workbook it will be automatic load my manifest and application on the next time.

Not sure about behavior can someone explain about this case. or document about this case.

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
883 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.
3,532 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alison McKay 81 Reputation points Microsoft Employee
    2021-06-15T00:59:52.483+00:00

    Hi, thanks for submitting a question.

    The following documentation article describes one pattern for automatically opening your add-in when opening a document in Excel on the web: https://learn.microsoft.com/en-us/office/dev/add-ins/excel/pnp-open-in-excel

    If that article doesn't help, how are you deploying your add-in? The following article has a list of the possible deployment methods: https://learn.microsoft.com/en-us/office/dev/add-ins/publish/publish

    Cheers,
    Alison

    0 comments No comments