Skip to main content What is Dynamics 365? Guided tours Customer stories Try our products Build your own agents CRM ERP Sales Service Sales Customer Insights Customer Service Contact Center Field Service Supply Chain Management Commerce Finance Project Operations Human Resources Business Central Pricing Business application topics Training & certifications Documentation Migrate to the cloud Private equity Migrate to Dynamics 365 Events Dynamics 365 Blog Product updates Onboarding and implementation Community Find a partner Software Development Companies Partner resources Microsoft Marketplace Product documentation Technical support On-premises product support Contact us Try for free Sign in
1 min read

Excel hangs while publishing/uploading data using the Excel Add-in for Dynamics AX


In a scenario, while trying to publish data/records using Excel add-in for Dynamics AX, issues like performance, hang/not responding, time out have been observed.

For Example, once clicked on ‘Publish All’ or ‘Publish Selected’ Excel goes to ‘not responding’ stage. This behavior gives an impression that the Publish action was not successful or it is abruptly hung.

Cause:

Behind the scenes, Excel is designed to automatically perform the ‘Refresh all’ action after completing ‘Publish All’ or ‘Publish Selected’ task.

Ideally, once the data from Excel is published, it is to amend that data in the database and then the Excel spins off a refresh action which fetches all the records (old and new) on Excel for the User’s visibility.

The larger the amount of data, the longer it takes for Excel to come back to life.

It is the ‘Refresh’ action which consumes additional time and resources. This leads to performance, Excel not responding/hang, time-out issues on Excel.

Resolution:

Shorten the time consumed by the Auto-Refresh action in Excel add-in. In order to do this:

  • Before doing the ‘Publish All’ or ‘Publish Selected’ task, use the built-in Filter functionality on Excel add-in.
Excel sheet filter option
  • Add a random filter criteria for any field e.g. ‘ZYX’ for ‘Journal batch number’ field. When Excel does the Refresh post publishing, this filter criteria will not return any results, as the value ZYX does not exists for this field in the database.
Excel sheet filter results

Hence in an environment where there is lot of data, it will certainly make sense to add a random filter (as in the above screen capture) as it will reduce the refresh time and Excel will still be active.

Get started with Dynamics 365

Drive more efficiency, reduce costs, and create a hyperconnected business that links people, data, and processes across your organization—enabling every team to quickly adapt and innovate.