on 05-21-2009 2:03 AM
Can anyone please help with this?
Previously in XI R2 webElements 2.2, we used an iframe and we_SurpressHeader to control the outer grey area of the report (the borders). But now, in 2008 webElements 2.45, we are still using the same iframe syntax and we_surpressHeader, but we still get the grey area around the report. Is there any way of getting ride of the grey area of the report?
Thanks a bunch!
Namita
hello,
we_suppressheader is not a part of the release webelements custom function suite...it would have been something that was custom built.
in cr2008 / xir3 the viewer has changed and there will always be a border around the report even in an iframe.
you can minimize the amount of space that a report takes up in an iframe by
a) using the weviewer function on the report to hide or suppress the toolbar...see the user guide for more information on the weviewer function
or
b) by putting the following syntax in the last parameter of your wetarget function
&drilldowntabs=hide&toolbar=hide&sReportMode=weblayout
for example, the iframe may be calling
WETargetPath ("rpt","Name", "salesreport", "weTarget=iframeA&drilldowntabs=hide&toolbar=hide&sReportMode=weblayout");
the following are opendocument swtiches that will work in xi 3.0
drilldowntabs=hide hides the drilldown tabs including the "Main" one...very handy for any drilldown reports
toolbar=hide hides the toolbar on the target report
sReportMode=weblayout makes the report viewer background white instead of gray...applies to the area outside of the report within the viewer
i hope this helps,
jamie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are THE BOMB!!!
Thanks!
I used the weblayout in our iframe syntax!
<iframe
name="OUR_VIEWER"
src ="../opendoc/openDocument.jsp?sDocName=REPORT_NAME&sType=rpt&sRefresh=N&sInstance=Last&weTarget=iframeA&drilldowntabs=hide&toolbar=hide&sReportMode=weblayout"
frameborder=0
width="100%"
height="100%"
scrolling="auto">
</iframe>
hi Namita,
unfortunately there is not much one can do to auto resize an iframe...even if you set the width and height at 100% the size would be determined the first time the report was loaded.
what may have appeared to be autosizing in previous BOE versions was due to the fact that the old viewer's background was white and would be top left justified. in the new xi 3.x viewer when the content is much smaller than the viewer it becomes centered. there is nothing that can be done about that unfortunately.
the other option would be to not use iframes but use dynamically suppressed / unsuppressed sections containing subreports...which might be difficult though if your intention is to pass values via controls from the main report into an existing iframe.
cheers,
jamie
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.