Share via

Function addHandlerAsync has invalid parameters

Anonymous
2016-03-23T06:28:11+00:00

A recent update to the office.js api seems to have introduced an issue with Office.context.document.addHandlerAsync.

Running previously working code (Online Only, desktop excel seems ok) now gives a strage error, 'Function addHandlerAsync has invalid parameters'.

This can be replicated using the example on the api doc page(msdn.microsoft.com/.../fp161169.aspx), hitting Try Me and just running the default code will show the message.

It also appears to have affected Office.context.document.removeHandlerAsync.

Microsoft 365 and Office
Microsoft 365 and Office

A comprehensive suite of productivity tools and cloud services that enhance collaboration, communication, and efficiency. Combining classic Office apps with advanced Microsoft 365 features, it supports both personal and business needs

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Anonymous
    2016-03-24T02:21:37+00:00

    Thanks, I will mark as answered but have just posted the question on that forum. Here is the post of reference:

    social.msdn.microsoft.com/.../function-addhandlerasync-has-invalid-parameters

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2016-03-23T09:04:07+00:00

    Hi Sean,

    For Office Development related issues, I suggest you post on our MSDN-General Office Development forum for expert help.

    Thanks for your understanding,

    Cliff

    Was this answer helpful?

    0 comments No comments