Network error handling in excel addin is different from word and powerpoint

Vishal Choudhary 10 Reputation points
2023-03-10T05:18:10.59+00:00

I created an add-in for word,excel and powerpoint having common manifest. After every 30 seconds I am making a call to my server to send data. In case anytime user's internet connection turned down I give user 1 retry. SO suppose at 30th second user get network error when calling to my server, I will wait for 60th second ping also. If that ping also failed due to network connection then I show an offline screen. This behaviour works fine in word and powerpoint but not in excel (web).

In excel after I get network connection error during first server call,then excel start pinging its own endpoint https://excel.officeapps.live.com/x/_vti_bin/EwaInternalWebService.json/TestClientConnection.

I doesn't call my server after that so my retry logic will not work and can't show offline screen. Is there any better way to implement the logic I want or any way to tackle this behaviour.

I want excel to call my server instead of its own endpoint.

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,518 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
894 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,557 questions
0 comments No comments
{count} vote