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>
Hi Matias,
Could you please check if http://www.upt.com/agro/reports/HXR.XML” 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/