Child Report Window Size XI 3.0 SP2 Using Javascript
Hi All,
I have to admit this is not my area . I'm trying to get a new webi report in a sizeable window using javascript. I want to achieve this by selecting an open doc link from an existing webi report.
We have been trying with the code below but get the 404 Missing Page error.
We have been trying to get this to work on Edge. Do I need to install any SDK on to the system to get this to work? Can anyone let me know the steps, please.
Thanks...
Mark
Code:
"<a href=__\"javascript:window.open('../../opendoc/openDocument.jsp?iDocID=Aa252KU2ReBDm4TkGkVTOLM&sIDType=CUID&sType=wid&sReportPart=UIREF%3ARID%3D1005%3ABID%3D1008&mode=Part&sRefresh=N&sWindow=New','SAMPLE ','width=350,height=250') \" title=\"\" target=\"_self\" nav=\"doc\">"[Actual].[Kpi Group]"</a>"
Thanks for the response Guys.
I have done a bit more digging and I think that you can only create a link referencing Java script in a crystal report, not Webi?
One way I thought of getting round this is to create a copy of opendocument.jp and add my Java script, in there, to resize my child window.
Any comments or experiences to share?
All the Best,
Mark.
Similar Messages
-
Child Report Window Size XI 3.0 SP2
Hi All,
I know that you can do this in javascript, i.e. create a child window of a smaller size when clicking a hyper link, I think the parameters called window.resizeTo(X,Y).
I know there is no BO supported open doc parameter for this, but was wondering whether anyone had got this to work, some how .
Idea being, the ability to spawn pop up Windows, containing metadata or hsitory about a selected KPI, without losing visibility of the parent report.
Cheers,
Mark.Hi Suresh,
Thanks for the response.
I have already done the linking, that is not the problem.
The question is the ability to resize the child window, i.e. so the child report part does not fill up the whole screen.
I believe that without a custom jsp page that this is not possible. If someone has done this, via jsp, from within BOXI, maybe they could respond and let me know the method.
If you know any different, let me know....
Cheers,
Mark. -
Report window does not close properly when using openDocument
XI R2 InfoView
Windows 2003 server
IIS
IE7
We have been experimenting with the use of openDocument and have managed to achieve what we wanted but have one small problem. When the document is retrieved it is opened in a new browser window. When Close is selected from the drop-down Document menu the document is closed but the window shrinks to approx 8.5cm x 6 cm and remains open.
A similar thing happens when we use the Preview button to view a document in the CMC, except in that case the document does not close and closing the browser window leaves a button on the Windows taskbar. There doesn't appear to be a related window as it cannot be restored but you have to right click and select Close to get rid of it.
Any ideas what is causing these problems and how we can get round them?Anne,
There are some parameters in opendocument (for ex. sWindow) that can help control certain things, have you tried employing anything like that? What I find frustrating is the behavior of opendocument based on whether you're running Infoview or WebI -- each product, using the same exact opendocument syntax yields different results. Based on the sample code below, what I'm seeing with Infoview is the same browser instance is used for calling the child report, however, in WebI, a new browser instance is started and the child report is rendered in Infoview. In my case, when running within WebI and getting a new browser instance in Infoview, and then using the "Document", "close" workflow, the second instance is exiting and I'm back to the previous browser. Staying within Infoview entirely through the process, when closing the child report I get brought back to the folder list page. Who's to know?
="<a href=https://<server>/businessobjects/enterprise115/InfoView/scripts/opendocument.aspx?
idocid=100798&lsSInput_Pos_Nbr="+[Position Number Tracking]+">"+[Position Number Tracking]
+"</a>"
(double spaced on purpose)
Thanks,
John -
Report Region incrementing ID number by 1 using Javascript
I have a report that pulls file names and id numbers from a table and displays them on the page.
I have set the 'id' column, which is a number type field in the table, to be a link to a javascript url that uses that number to delete the file from the table in question.
Whenever the javascript call passes the ID number to the function, it seem to round the number off - somtimes increasing the value by one and sometimes decreasing the value of the number.
My link on the report uses this syntax;
javascript:delFile(#ID#);
and the delFile function is as follows:
function delFile(cid){
var auth = $v('P52_AUTH');
if (auth.indexOf('D')>=0 || auth.indexOf('A')>=0) {
window.open('f?p=&APP_ID.:119:&SESSION.::NO::P119_DOCID:'+cid,'PopUp','scrollbars=no,resize=no,height=300,width=300');
else {
alert('You do not have sufficient rights to delete documents.');
I am at a loss. Why does the 'cid' var get rounded up or down when the variable gets populated?I concur with what you are saying - this is standard javascript handling and my first assessment of the situation was that it had something to do with the data in the tables. The problem is that the data in the table is simply a number, and the function is passed the number through the link on the page.
Putting a functioning example on apex.oracle.com would be like me dealing with a problem I am having painting a house by building a robot to dip the paint brush in the paint bucket for me. The test would never result in an apples to apples example, and is far too complex an option to give any valuable return. Additionally, the reason I submitted the results I did is because when it works for a particular record in the table, it always works no matter what. When it doesn't work, it doesn't ever work for the data record in question. There isn't any mystery in this except for the 'black box' that is in the middle of it that populates the #ID# value. Is there anything under the hood with that that could cause the number to inexplicably round off?
My next guess that I have not tested is if the issue happens in Internet Explorer as opposed to Firefox. I have seen the problem in Firefox on Windows and Firefox on Ubuntu.
Is there anything in the report template that could cause the #ID# to inexplicably round itself?
I will do some additional testing and post what I find. -
Child report with Download and back option
Hi,
i created a parent report1 and navigating to the child report2. in my parent report1 i see the download, refresh and print options as i enable them by the report links option.
when coming to the child report2 i am not finding them. how can i add them? please help!!!
Thanks,
Mani.hi Mani,
I am able to see download and return buttons .Using navigate option,i drilled to child report
and enabled download and refresh buttons using report links
parent report : http://img214.imageshack.us/img214/1663/parentreport.jpg
child report : http://img444.imageshack.us/img444/1061/childreport.jpg
Are you looking for the same?
Else use , GOURL http://oraclebizint.wordpress.com/2007/07/30/customizing-obi-ee-%E2%80%93-go-url-parameters/
thanks,
saichand.v -
Is there anyway to tell what Window Size a user is using?
I'd like to write a little class to only display one full screen worth of data at a time (rather than spamming the user with data that they must scroll back through). Is there a way to get the window size the current user is using?
(If it makes any difference this is a console program and not an applet)
Thanks.Basically if you are extending JFrame, Frame or Window you get call getWidth() and getHeight() to get the screen size as these classes all extend the Component or JComponent class where these methods are defined. So for example if you have code like follows (application):
class myClass extends Frame
public static int screenWidth;
public static int screenHeight;
public myClass()
super("FRAME TITLE");
screenWidth = getWidth();
screenHeight = getHeight();
}hope that is a little more clear
Mark -
Dbms_output size limit in child report?
Is there a hard limit on the size of the DBMS_OUTPUT that can be displayed in a CHILD report? If so, can it be increased in a future version?
I have a user defined report that shows active sessions in the top (i.e. master/parent) report. The report has a child tab that show the EXPLAIN plan for the selected SQL statement using DBMS_OUTPUT. It works great unless the Explain Plan is too large, in which case I get an error.
I just tried to duplicate the problem but nothing that is running now generates a plan large enough to hit the limit, which isn't surprising because the limit was pretty large.
The SQL for the Child report is below. Note that is it all in one line because at one time it didn't work if there were embedded newlines in the SQL (I don't know if that is still the case). So, it is ugly, but like I said it works well and is very useful.
DECLARE v_predicate VARCHAR2(200) ; v_sql_hash_value VARCHAR2(100) := :SQL_HASH_VALUE ; v_plan_hash_value VARCHAR2(100) := :PLAN_HASH_VALUE ; v_inst_id VARCHAR2(2) := :INST_ID ; v_child_number VARCHAR2(3) := :SQL_CHILD_NUMBER ; BEGIN v_predicate := 'HASH_VALUE = ' || v_sql_hash_value || ' and PLAN_HASH_VALUE = ' || v_plan_hash_value || ' and INST_ID = ' || v_inst_id || ' and CHILD_NUMBER = ' || v_child_number ; dbms_output.put_line( '<pre>' ) ; FOR nxt IN ( SELECT substr(plan_table_output, 1, 255) as rec FROM table (DBMS_XPLAN.DISPLAY( 'GV$SQL_PLAN', null, 'ALL', v_predicate ) ) ) LOOP dbms_output.put_line( nxt.rec ) ; END LOOP ; dbms_output.put_line( '</pre>' ) ; END ;What database version?
The default size of the buffer for dbms_output used to be limited in the database. it may be that you are hitting that.
What is the error message? -
Window size of MSS Reporting IAC's
Hi experts,
Is there any way to control the window size of the MSS reporting IAC's? I'm implementing Webdynpro on EP 7.0, ECC 6.0. Right now I choose a report from the list, click Define Selection Criteria, select employees, then Report Result. The resulting window is considerable smaller, and when I maximize it, my report stays the smaller size, with scroll bars. If I click print preview it expands to full screen, but how can I get it that way to start with??
Any help is appreciated!
BrendaHi Brenda,
Check the parameters for service HRWPC_FC_EXEC in transaction SICF to ensure you have at least those specified in note 969401.
We have the parameters set as follows:
~TRANSACTION HRWPC_FC_EXEC
~WEBGUI_SHOW_SYSTEM_MODAL 0
~WEBGUI 1
~NOHEADEROKCODE 1
~SINGLETRANSACTION 1
~WEBGUI_THEME SL
We had the same problem with the old MSS report launchpad in 4.6C, but since upgrading to ECC 6.0 we now use the newer webdynpro report launchpad, and although I haven't found a way to control the size of the new window, maximising the window seems to also expand the report contents.
Regards,
John -
Resultant window size in 9i forms/reports?
I am calling a report from Form; I need to setup the report resultant browser window size and appearing coordinates (like we setup stacked canvas height/width & XY co-ordinates).
How and where can I customize these coordinates?
Please advise.
Thank you,
PrasadDavid,
as far as I know, No.
Frank -
Dashboard Reporting through Windows SharePoint Services 3.0 SP2
Do we need to install Windows SharePoint Services 3.0 on SCCM Server 2007SP2 for dashboard reporting purpose?( We already have a Sharepoint
server 2010 ), can there be a connection between SCCM and Share Point Server?
And, Is it safe to install Windows
SharePoint Services 3.0 SP2 on SCCM server 2007 .
Is there any other better way than this for Dashboard Reporting?Yes, I know this is an old post, but I’m trying to clean them up. Did you solve this problem, if so what was the solution?
It is unclear to me what you are referring, Are you talking about the old CM07 Dashboard product or creating custom dashboard yourself?
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ -
When I run a big size exe file(>900 MB) on Windows Storage Server 2003 x86 SP2 OS VM mchine(which is managered by Hyper-V server), I got the following error message:
Windows cannot open this program because the license enforcement system has been tampered with or become corrupted.
This setup.exe should be a trusted source because of it run other OS(windows 2003, windows 2008, 2008 R2 etc.). we use the same way to create the exe whose size < 700MB, it works fine on the same machine(Windows Storage
Server 2003 x86 SP2 OS VM machine). So I assume that the file size(>900MB) causes the problem, It seems that OS dont' support it.
My questions:
1. Is there the limitation of exe size to run on Windows
Storage Server 2003 x86 SP2 OS VM machine? If yes, what is the size of limitation?
2. What reason is this error? Is it related with Hyper-V?
Thanks,
ReckyDid you install the 2003 VM from scratch or did you create it via a P2V process? In addition to what Shaon says about not all applications running properly in VMs, performing P2V to create VMs can also cause issues with a variety of things.
First thing to check would be Shaon's suggestion to try it in another VM. If it works in another VM, and you P2V'ed this VM, try creating your Storage Server VM from scratch and try again. Better yet, if the application can be run on a later version
of the OS, create a 2012 Storage Server instead of the 2003 Storage Server as your VM and give it a try.
.:|:.:|:. tim -
Is it possible to specify the window size when using opendocument?
Does anyone know how to specify the window size for a child report launched from a hyperlink that uses opendocument? Is it possible?
I have looked all of the posts I could find and have not found anything that would work, please help.So I have come up with the following URL based on the suggestions in this post, but it still isn't doing what I would like it to.
It does launch a smaller window but posts the child report in the same window. Is there something else I should do?
Thanks for your help. -
How to link child report in same reprot but in different tab
Hi all i nXIR2
iam able to pass parameters to child report in different report how to pass parameters and open it in same report in different tab?
below link iam able to open in another report
="<a href=\"<Servername>:8080/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?&stype=wid&Refresh=N&sWindow=New&sDocName=Details3&lsS2)Month:="If(DrillFilters([Month])="";"All Month";DrillFilters([Month]))"&lsS1)Year:="If(DrillFilters([Year])="";"All Year";DrillFilters([Year]))"&lsS4)Account:="If(DrillFilters([Cd])="";"All Codes";DrillFilters([Cd]))+"\">List</a>"
any ideas please
ThanksHi Arjun,
There is no hiding or conditional hiding tab functionality in DeskI, which would serve the purpose of your need.
One option could be to open up the child report in the same window rather a new window.
Thanks for the reply
I dont want to hide any tab..
i want to open a child report in same report in another tab... in web i
i can use in same window but..... child report i needed have different columns... -
Dbms_output in child report
Hi,
I've been trying to create a report with a child report of type "dbms_output" which does not seem to be working.
The child report by itself (in another report) works correctly, but if it's the child of any other one it doesn't. I have tried both using bind variables and without using them.
The message I get is the typical syntax error even when the code is somethin as simple as this:
begin
dbms_output.put_line('Hello');
end;
Perhaps I just didn't find some very simple option, but it looks like a issue with reports to me.
Any ideas?
Thanks.> For me (WinXP SP2, 10gR2, 12.1 - 32.13) it doesn't made difference...
Both worked.
I have this report:
Master Name: dept
Master Style: Table
SQL:
select deptno
, dname
, loc
from dept
order by deptno
Child Type: Detail
Child Name: dbms_test
Child Style: plsql-dbms_output
SQL:
begin dbms_output.put_line(:DNAME); end;No other report attributes are set.
This version works fine. But if I change child SQL to
begin
dbms_output.put_line(:DNAME);
end;I get
ORA-06550: line 1, column 6
PLS-00103 found '' but expected one of the following:...and the same messages for line 2, column 30.
WinXP SP2 (czech), 10g rel.10.2.0.3.0, SQLDev 1.2.1.32.13.
Could you compare my and your report attributes, please? Thanks. -
Creating a site without scroll bar and dependent of window size
Hi,
I want to create a site that appears in the browser window without a scrolling bar, so all content is shown in that window and you don't have to scroll down (unless window size is ridicrously small).
Of course, there are contents that will not fit in the window like long texts but then I want this block of text to have its own scrolling bar so the only thing that scrolls is the text and not the other elements.
at http://www.artofwalls.com/rosannawalls you can see my attempts.
In the home page you can see how the background picture always adapts to the size and aspect of the browser window and how the menu keeps its position related to the lower left corner of the window. But if you click in "Biografia" (SEE BELOW) you can see a text that is too long so you have to scroll the screen to read it. What I want is this text appear inside the white transparent box and the height of this box end near the bottom of the window. To read the full text a scroll bar should appear inside this box and this scroll bar should scroll only the text inside the box, just like in the text box I'm writing this post now.
EDIT: DUE TO A BUG IN MUSE I HAVE ALREADY REPORTED LONG AGO, YOU CAN'T SEE THE PAGE BIOGRAFÍA BECAUSE IT IS EXPORTED AS biografía.html AND THE SERVER DOESN'T RECOGNIZE THE INTERNATIONAL CHARACTER (THE SOLUTION PROPOSED BY ADOBE WAS TO UPLOAD THE SITE TO BUSINESS CATALYST BECAUSE THEIR SERVER HAS NO PROBLEM WITH INTERNATIONAL CHARACTERS, BUT ALMOST ANY OTHER SERVER IN THE WORLD DO)
SO, TO SEE THE PAGE I'M TALKING ABOUT YOU HAVE TO GO TO http://www.artofwalls.com/rosannawalls/biograf%eda.html
Another strange side effect is in this page the menu has disappeared completely. If you scroll down all the page you will see the menu is not there.
Another thing I would like is to adapt the size of the white transparent box to the size of the browser window.
Here: http://www.margomusic.com/ you can see a page I made in Flash where you can see what I mean with the scrolling text inside the box (just let the intro pass and you will see the text)
And here: http://www.anemaecore.net is another page that adapts perfectly to the size of the browser window, but also made in Flash and also this site changes the size of the text instead of the size of the text container.
Any help will be greatly appreciatedThanks for the replies. I guess I did not ask the question correctly so I will try to explain it better.
What if I want to use the FTP client inside of Dreamweaver to just connect to my server. I can connect to the FTP (see image) but how can I drag a folder from my desktop into the server using Dreamweaver?
I have downloaded a folder and I need to add it to my blog which is only on my server. I do not have a Dreamweaver site. Surely Dreamweaver isn't that archaic that you can't upload a file or folder to a server without having to create a site first. It was so much easier in GoLive.
Maybe you are looking for
-
Cannot delete items from Trash
Hi there, I have around 1650 items in my trash bin, tried to secure erase, but after deleting the first ones it stopped and 16305 are still in the bin. Anyone knowing a solution?? Thanks, Frans
-
IPOD not being recongized by ITunes
My IPOD Nano is not being recognized by Itunes. It is charging when connected, but Itunes, does not recognize it. Itunes, does recognize my wife's. Any ideas? Dell Windows XP
-
Ipod touch video to Burn to dvd?
I'm a teacher and I need to use my IPOD touch to video my class. Can I burn such a video to a DVD? and How?
-
IN windows we can create a Databse by using DBCA Feature, how can I use the same feature In Linux
-
I dont want torecieve my imeesages on to my computer how do i disable it
i really dont want to recieve my imessages on my new mac how can i disable this feature?