Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Configure Export page settings and other tool bar options
suresh@anumolu
<p>Hi, I would like to configure the export page settings and also have the xlsx as default export option. Can you please let me know if there is an easy way to configure these information? I tried looking at viewer.properties and other settings files but that doesnt help. </p>
<p> </p>
<p>Thanks for your help inadvance. </p>
<p> </p>
<p>Thanks</p>
<p>suresh</p>
Find more posts tagged with
Comments
Clement Wong
<p>What version of iHub are you using? It's possible, you'll need to modify a core product JavaScript file that is not recommended.<br><br>
For example, for iHub 3.1, under <em>…\BIRTiHub\iHub\web\iportal\iv\viewer</em></p>
<p> </p>
<p>It’s<strong> feature5446.js</strong>. You can use Notepad++’s pluginJSTool to make it look readable.</p>
<p> </p>
<p>After line 37 (var J = G.exportReportOptions;), you can set the default to Excel:<br>
<br>
G.defaultFormat = "xlsx";<br><br>
</p>
<p>It's a JavaScript file, so you'll need to clear your browser's cache to test changes.</p>
suresh@anumolu
<p>Hi Clement,</p>
<p> </p>
<p>Thanks for your prompt response. I have verified the path and i see the following files but i could not find the file feature5446.js. Any idea?</p>
<p> </p>
<p>/iHub3/modules/BIRTiHub/iHub/web/iportal/iv/viewer/<br>
feature39210.js feature39219.js feature39228.js feature39237.js feature39246.js feature39255.js<br>
feature39211.js feature39220.js feature39229.js feature39238.js feature39247.js feature39256.js<br>
feature39212.js feature39221.js feature39230.js feature39239.js feature39248.js FeatureDefinition.js<br>
feature39213.js feature39222.js feature39231.js feature39240.js feature39249.js ModuleDefinition.js<br>
feature39214.js feature39223.js feature39232.js feature39241.js feature39250.js viewer.js<br>
feature39215.js feature39224.js feature39233.js feature39242.js feature39251.js<br>
feature39216.js feature39225.js feature39234.js feature39243.js feature39252.js<br>
feature39217.js feature39226.js feature39235.js feature39244.js feature39253.js<br>
feature39218.js feature39227.js feature39236.js feature39245.js feature39254.js<br>
</p>
Clement Wong
<p>What version of iHub are you using? Doesn't look like 3.1 or 3.1.1.</p>
<p> </p>
<p>What you can do is:</p>
<p> </p>
<p>1. Open up the FeatureDefintion.js file.</p>
<p> </p>
<p>2. Look for "ExportReportDialog"</p>
<p> </p>
<p>You'll see a mapping to the .JS file for your version. For example, in 3.1, there's an entry:</p>
<pre class="_prettyXprint">
"ExportReportDialog" : "/feature5446.js",</pre>
<p>Then, you can make a copy of the associated .JS file before making any changes.</p>
suresh@anumolu
<p>Thanks Clement. That worked. Much appreciate for your help.</p>