Browse FAQs

Hierarchy Manager Fails to Upload Records

Published date: 14 February 2020

Issue
When changing tabs in Hierarchy Manager, system tries to upload records. However, after a few minutes it fails and shows the following message:


Loading records...
Failed to load data from server. Please try again.


Product Line
Power Monitoring Expert 9.0 (PME9.0)

Note: Does not apply to PME2020

Environment
Hierarchy Manager

Cause
By default hierarchy manager has to upload records within 2 minutes. If it doesn't manage to upload within this time, it will fail.

Resolution
Change the Javascript file for HierarchyManager to increase the timeout. The file is:

  ...\Power Monitoring Expert\applications\HierarchyManager\Scripts\HierarchyManager\data.nodemodel.js

Find the following code snippet:

$.ajax({
               type: "GET",
               url: baseUrl,
               timeout: 2*60*1000, // 2 minutes. Some hierarchy pages can take a long time to generate.
               data: { nodeQuery: JSON.stringify(nodeQuery) },
               dataType: "json",
               success: onSuccess,
               error: onError,
               page: page
            });

Change the timeout to 4*60*1000. This increases the timeout to 4 mins.
 

Was this helpful?

What can we do to improve the information ?

Can't find what you are looking for?

Reach out to our customer care team to receive information on technical support, assistance for complaints and more.