Dashboard is a built-in function on Aras Innovator which can perform data visualization with simple configuration.
If enter any of existing Dashboard with Chrome, "HTTP Error 500 - Internal Server Error" will show. But using IE and Firefox are OK.
It's a little strange due to the error detail shows the requested URL is a directory named "_src_" (shown as below figure). Actually, this kind of directory doesn't exist on server.
Check "Dashboard.html" can find the attribute "src" of embed tag is dynamically set by JavaScript in order to get multilingual resource (shown as below figure). The code seems correct but not work in Chrome actually.
According to the discussion on Stak Overflow, dynamically change attribute "src" of embed tag is a very old bug. It looks like not fixed until now.
If enter any of existing Dashboard with Chrome, "HTTP Error 500 - Internal Server Error" will show. But using IE and Firefox are OK.
It's a little strange due to the error detail shows the requested URL is a directory named "_src_" (shown as below figure). Actually, this kind of directory doesn't exist on server.
Check "Dashboard.html" can find the attribute "src" of embed tag is dynamically set by JavaScript in order to get multilingual resource (shown as below figure). The code seems correct but not work in Chrome actually.
According to the discussion on Stak Overflow, dynamically change attribute "src" of embed tag is a very old bug. It looks like not fixed until now.
Solution
- Open "\Innovator\Client\scripts\Dashboard.html".
- Move to Line 211.
- Replace all contents of script scope with below code.
- Save file.
var xmlResource = aras.getI18NXMLResource("starter.svg");
var obj = document.getElementById("svg_span");
var embed = obj.getElementsByTagName("embed")[0];
embed.src = xmlResource;
obj.removeChild(embed);
obj.style.display = "block";
obj.appendChild(embed);
Comments
Post a Comment