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.

Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | Development | Other
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

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.