Mark_Exact Report post Posted June 19, 2009 I have created a Sharepoint webpart that has two modes, Configure and Display. When in Configure mode there is no on the page. In fuction _FCD.processSourceNodes the line: xmlString = document.body.innerHTML.match(new RegExp('', 'ig')).join(''); throws an exception in this scenario. To solve the problem I have made the following changes (see bolded): _FCD.processSourceNodes = function() { var a = _FCD.L.tags(_FCD.R.fcTag); for (var c = 0; c < a.length; c++) { a[c].style.display = 'none' } if (_FCD.L.isIE) { var b = _FCD.L.getNew('xml', 'style=display:none'), xmlString; document.body.appendChild(; try { xmlString = document.body.innerHTML.match(new RegExp('', 'ig')).join(''); b.loadXML('' + xmlString + ''); a = b.firstChild.childNodes } catch (er) { return null; //mdb } } else { a = _FCD.L.tags(_FCD.R.fcTag) } _FCD.processSourceNodes = function() { return a }; return a }; and _FCD.parseDOM = function() { _FCD.Nodes = Array(); var a = _FCD.L.tags(_FCD.R.fcTag); var i; var b; for (i = 0; i < a.length; i++) { b = _FCD.processTag(a); _FCD.Nodes.push(; _FCD._indexOf[b.id] = i } var c = _FCD.processSourceNodes(); if (!c) return; //mdb for (i = 0; i < c.length; i++) { _FCD.Nodes.sourceNode = c; if (_FCD.Nodes.parameters.dataurl) { _FCD.Nodes.chartObject.setDataURL(escape(_FCD.Nodes.parameters.dataurl)) } else Share this post Link to post Share on other sites
Mark_Exact Report post Posted June 19, 2009 Can't figure out how to edit original. It should say no fusioncharts tags on the page. Share this post Link to post Share on other sites
Guest Rajroop Report post Posted January 7, 2011 Hi Mark, We proudly announce the release of FusionCharts for SharePoint in beta. FusionCharts for SharePoint helps you create interactive & data-driven charts in SharePoint, without having to write a line of code. The charts are created using a wizard and can connect to various data sources such as SharePoint Lists, CSV, MS SQL, Oracle, Excel & BDC. You can add drill-down and export capabilities to each chart and configure both cosmetic and functional aspects. You can download the fully-functional version from www.fusioncharts.com/sharepoint - we would love to have your feedback on this. Please post your suggestions and any bugs as replies to the forum thread at: FusionCharts for SharePoint beta impression Share this post Link to post Share on other sites