Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

I installed contents of components folder to my web server. I did several XML reports with all “in one demo” saving the csv to xml reports. When I try to open a xml report located in my server, I have a message “Unable to open file …….401398571.”

Answered
matias asked on October 16, 2015

this is the web page code, the site is our intranet. I checked all directories exist and files.
<!DOCTYPE html>
<html>
<head>
<title>Flexmonster Pivot Component Flash/JavaScript API – All-In-One Demo</title>
<link href=”../assets/css/style.css” rel=”stylesheet” type=”text/css” />
</head>
<body>
<div id=”header”>
<a id=”logo” href=”http://www.flexmonster.com/” target=”_blank”></a>
</div>
<!– 1. Create a DIV container to insert the component –>
<div id=”pivotContainer”></div>
<!– 2. Include flexmonster.js file –>
<script type=”text/javascript” src=”flexmonster/flexmonster.js”></script>
<!– 3. Embed the component using flexmonster.embedPivotComponent() –>
<script type=”text/javascript”>
flexmonster.embedPivotComponent(“flexmonster/”, “pivotContainer”, “100%”, “615”, {
configUrl: “http://www.upt.com/agro/reports/HXR.XML”
}, “flash”, true);
</script>
<div class=”links-area”>
<a href=”./” id=”openFolder” target=”_blank”><span>Open source folder</span></a>
<a href=”http://www.flexmonster.com/docs/#page=js_api.html” id=”docs” target=”_blank”><span>See documentation</span></a>
</div>
</body>
</html>
 
 
 

1 answer

Public
Roman Petrusha Flexmonster October 17, 2015

Hi Matias,

Could you please check if http://www.upt.com/agro/reports/HXR.XML&#8221; exists? I’ve tried to load this file but got an error. One more thing that you have to check is cross-origin resource sharing (CORS). Please read more here http://enable-cors.org/

Please login or Register to Submit Answer