Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Extending Deployment Kit to automatically enable Interactive Viewing
averma
Copy and paste the attached javascript code before the end of < SCRIPT > tag in file:<br />
[InstallDir]iPortalwebappsiportaliportalivpageslayoutIVFramesetFragment.jsp
<br />
<br />
The script uses the following parameters:<br />
__startIV
- setting this to true will launch into Interactive Viewer. Any other value will not do anything, as well as leaving it blank nothing will happen (The attached script has __startIV set to true)<br />
<br />
__startIVDelay
- (optional) this is used to set in milliseconds, how often the code will check that the report is loaded first before Interactive Viewer can even be launched. defaults to 50<br />
<br />
__startIVAttempts
- (optional) after each delay, an attempt is made to check if the interactive viewer can even be launched. if the attempts are exhausted a friendly message is shown. default to 100.<br />
<br />
<br />
<br />
How it works
<br />
If __startIV is true, a check is made to launch interactive viewer. This check makes sure progressive viewing is not happening, total pages is 1 or bigger, and it makes sure the AJAX handler isn't busy. If it can't be launched, after __startIVDelay milliseconds, the check will be done again. After __startIVAttempts, if interactive viewer, still can't be launch the error message is delivered, and no other attempt is made.<br />
<br />
Ashwini
Find more posts tagged with
Comments
There are no comments yet