Rajdeep
Rajdeep

Reputation: 802

In Office Apps for Excel 2013 - Cannot redefine non-configurable property 'context'"

I have made an app in Office Apps for Excel 2013. It works fine, but at start up it gives a javascript exception.

"Cannot redefine non-configurable property 'context'".

After clicking 'continue' on that exception everything works just fine. This application uses its inbuilt App.js and Office.js. Is there any solution for this? Or is there something i can remove in my code so that it always hits at start up.

Upvotes: 1

Views: 119

Answers (1)

spery
spery

Reputation: 342

I had similar issue and was able to solve it by removing second Office.js script. This issue will occur if you load Office.js script more than once. See: In Office Apps - Cannot redefine non-configurable property 'context'"

Upvotes: 0

Related Questions