context.sync() Silently Errors After context.workbook.names.load("items") Inside A Named Item Binding #5217
Labels
Area: Excel
Issue related to Excel add-ins
Needs: attention 👋
Waiting on Microsoft to provide feedback
Provide required information needed to triage your issue
Sample Project: demo.zip
For the web version of Excel, if you create a binding using:
context.workbook.bindings.addFromNamedItem(...)
and then in the callback try to do this:
officejs silently fails. It does not throw an Exception or return an error. Nothing appears in the console log.
The same problem happens if I try:
const ni2 = evt.binding.context.workbook.names.getItem(newName);
Your Environment
Expected behavior
I should be able to retrieve NamedItem objects inside a binding creating against a NamedItem.
Current behavior
OfficeJs fails silently with no error thrown and no information provided.
Steps to reproduce
Link to live example(s)
Provide additional details
Context
Our Excel Add-In tracks changes to cells. We need to be able to access the NamedItem inside the handler to manage bindings and perform other operations.
Useful logs
demo.zip
The text was updated successfully, but these errors were encountered: