Can I use web.show_document with forms name parameter ?

Hi All,
I need to pass URL to web.show_document but with form name too. Is it possible?
I'd like to do something like web.show_document('url?report=myReport','_blank')
Thanks in advance
Edited by: _blackjack on Dec 13, 2012 2:17 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Yes, you can use any valid URL within web.show_document

Similar Messages

  • How can i use jpg extension with forms 10g and webutil

    I have a form with webutil and i want to open imege jpg extension but thier are Bmp but my
    image jpg and image item has no jpg extension .
    How can i use jpg extension with forms 10g and webutil ?

    You can use the JFIF image format for jpg files.

  • Issue while generating report using web.show_document with https

    Hi All,
    I am facing some issue while seeing the report using web.show_document as shown below:
    https://ucrmskr.apac.nsroot.net:10301/forms/html/001725032_gca.rtf_
    In this case the report opens directly without asking for me to save or open or cancel option
    whereas if I hit
    http://scrmskr.apac.nsroot.net:7801/forms/html/001725032_gca.rtf_
    it asks for save or open or cancel option
    so that I can save the report to my machine and open in wordpad format
    The report generated in the first case is not coming in proper format
    Below are my forms.conf mappings:
    # Name
    # forms.conf - Forms component Apache directives configuration file.
    # Purpose
    # It should include the weblogic managed server (routing) directives for
    # the servers where Forms applications are deployed and other miscellaneous
    # Forms component OHS directives.
    # Remarks
    # This file is included with the OHS configuration under
    # $OI/config/OHS/<OHS Node Name>/moduleconf sub-directory.
    # virtual mapping for the /forms/html mapping.
    RewriteEngine on
    RewriteRule ^/forms/html/(..*) /workaroundhtml/$1 [PT]
    AliasMatch ^/workaroundhtml/(..*) "/ucrmap1/weblogic/bea/ucrms/config/FormsComponent/forms/html/$1"
    RewriteRule ^/ucrms/icons/(..*) "/workaroundicons/$1" [PT]
    AliasMatch ^/workaroundicons/(..*) "/ucrmap1/weblogic/bea/ORA_PFRD/forms/java/$1"
    RewriteRule ^/forms/help/(..*) "/workaroundhelp/$1" [PT]
    AliasMatch ^/workaroundhelp/(..*) "/ucrmap1/ucrrgbg2/help/$1"
    <Location /forms>
    SetHandler weblogic-handler
    WebLogicCluster kauh0079:9001
    DynamicServerList OFF
    </Location>
    Please let me know what needs to be done additionally if we are trying to hit https because in the second case we were hitting http with similar mapping in diff environment and it was generating report successfully.
    Regards,
    Harish

    Thanks for answering,
    I changed the URL from
    http://nbotlaguduru.dms.local/export/FMSLaborChargesalcs20060829132645.pdf
    to
    http://nbotlaguduru.dms.local:8889/export/FMSLaborChargesalcs20060829132645.pdf
    and the same problem occured
    the file is located on my local C drive in:
    C:\lcs\export
    seems as though I am missing something else as well
    any ideas?

  • Can I use Swing controls with Forms 9i?

    Is there a way to use Java Swing controls with Forms 9i via a PJC or something? If so, is there a white paper on it? Thanks.

    Yes you can. There is a quick start about PJC here:
    http://otn-stage.us.oracle.com/products/forms/htdocs/upgrade/pjc/content.html
    And there is also a paper about Forms in the Java World that you should read.
    http://otn.oracle.com/products/forms/pdf/forms_in_java_world.pdf
    You might want to have a look at the Oracle9i Forms Demos for some code samples as well.

  • Can I use Web Services with Microsoft Access?

    I'm somewhat handy with Microsoft Access (2003 in particular), but not an expert. Macros? No problem. VBA? I'd be hard pressed to code anything from scratch, but I'm not too bad with modifying code/examples to fit my particular scenario. So, if anything about this doesn't ring quite right, now you'll know why. Some years ago I worked with another guy to develop a module that used REST(?) to query some web services at Yahoo!. If that worked, I was hoping that I could do similar things with CRMOD I was thinking, for example, I might want to get the Opportunity Sales Stage for a number of records. And since there are tools for Excel and Word, I thought Access might work, too. As a starting point, I imagine I need to use the Web Services Toolkit for Office 2003. But frankly, I don't even know where to go beyond that.
    Am I wasting my time? Any suggestions for an intro to web services?

    Probably not through USB.
    But likely if its anytihng like the Microsoft Sync in my Ford Explorer you can play audio from it through Bluetooth.
    You can read here for compatibilites, and features.
    http://www.ford.com/technology/sync/
    I connect My iPad to the Sync media center with no issues and can play my musci from the iPad thorugh the car stereo speakers.

  • Web.show_document() with javascript

    Hi Guys,
    I'v been searched this forum about web.show_document() with javascript.
    I saw some threads said
    I can do like
    WEB.SHOW_DOCUMENT ('javascript:window.open("http://www.google.com","","fullscreen=no,titlebar=no,location=no,toolbar=no,menubar=no,status=no,resizable=yes");self.close()','_blank');
    and someone said it worked, but it doesn't work in my machine.
    also some one said the javascript engine is not included in Form 10.1.2, so I can not use WEB.SHOW_DOCUMENT function like above.
    My form builder is 10.1.2.0.2 (Production), os is xp sq2 ,ie 6.(ie6 has some tighter security)
    I want to get clarification about this function, can i use the javascript on it or not ? I really want the pop up window without toolbar and customize size. I need do some configuration in formweb.cfg also?
    Thanks in advance. I appreciated every response.
    Appcat

    Hi Jan,
    Thanks for your reply. I check the metalink about it.
    The first solution is
    1. Make forms Developer URL a trusted site in IE to allow script executions.
    For that open Internet Explorer->Internet Option-> Security.
    Select the "Trusted Sites" Option.
    Click on the Sites Button.
    Add the Developer Suite URL in that.
    for example
    http://<Yourmachinename>:8889/
    It doesn't work in my machine ,still can not activate the javascript.
    The second solution is
    2. Place the script invocation code in a html file in Oracle_home/forms/server directory and call it.
    For example :
    Create a simple form.
    In Forms Trigger :
    web.show_document('http://<Yourmachinename>:8889/file.html');
    In the file.html you may enter the code, for example:
    <HTML>
    <HEAD>Heading</HEAD>
    <BODY>
    <SCRIPT LANGUAGE="Javascript">
    window.open("http://www.yahoo.com","_self");
    </SCRIPT>
    </BODY>
    </HTML>
    It also doesn't work in my machine, the problem is http://<Yourmachinename>:8889/file.html can not be found, even i put it under the Oracle_home/forms/server folder, but i click it directly ,the javascript works. that means the URL http://<Yourmachinename>:8889/file.html is incorrect or I should put the html file into other directory. And I also checked the default.env,FORMS_PATH=D:\DevSuiteHome\forms.
    anything wrong with my env?
    Do you have any idea about it?
    Thanks,
    Appcat
    Message was edited by:
    user577805
    Message was edited by:
    user577805

  • Launching a new form using web.show_document

    Using 9iAS 9.0.2.1.1. and Forms9i I'm trying to get a form to launch a new browser window and open a new form in it. At present I'm using web.show_document to do this. However, I get an error message stating that 'Connection from new browser window is not supported'. From an earlier thread in this forum I found a possible solution which is to set the session.useCookies to false in the zone.properties, which I have done, but I'm still getting the same error. I've tried restarting the OC4J_BI_Forms OC4J and the HTTP server, but nothing makes any difference. Am I missing something?

    If you are attempting to print a report from a when-button-pressed trigger from within a form, you do not have to explicitly specify the server (hostname) nor the port. You can just use what I've found referred to as a virtual path to the server as I have done here:
    parm_string := '/reports/rwservlet?config=my_config&report=report_name'
         ||'&desformat=pdf&destype=cache'
         ||'&paramform=no&printjob=no'
         ||'&p_my_user_param1='||v_my_param1
         ||'&p_my_user_param2='||v_my_param2;
    web.show_document(parm_string,'_blank');
    You can specify a userid/password@connectstring within a named congifuration section of your formsweb.cfg file if necessary, e.g. my_config.
    Hope this helps.
    James K.

  • How can I maximize the window which opened using web.show_document() ?

    My user complain, everytime they want to print the report it didn't
    show maximize screen,
    How can I maximize the browser or window which opened using web.show_document() ?
    Thank you

    Thank you for replaying,
    I did search in forum, but I only go one about maximize window when calling
    a report (web.show_document). the link :
    Maximize the new opened window
    Frank said to use "Javascript to the Forms", but no futher explanation whow
    to do it ?
    please help, I don;t know javascript.
    Cabe,

  • To which Forms directory to put a text file to show using WEB.SHOW_DOCUMENT

    Need to show a text file using WEB.SHOW_DOCUMENT.
    In which Forms sub-directory should the text file reside and what is the syntax for the command?
    Is it like WEB.SHOW_DOCUMENT('http://192.949.99.19:8890/forms/abc.txt','_blank');

    Hi, I did this
    -- My OC4J URL when I run a form is this: http://192.168.11.103:8890/forms/frmservlet
    -- I want to open abc.txt. I put abc.txt in dir E:\Ora_Dev_10g_R2\forms which is my Forms home
    -- When I try WEB.SHOW_DOCUMENT('http://192.168.11.103:8890/forms/abc.txt','_blank') it gives
    The page cannot be found

  • Web.show_document() with .csv-Files

    Hallo,
    when I try to show a .csv-file using web.show_document in MS-Excel I'm facing the following problem:
    Depending on the windows-settings (?) before showing the Excel-sheet the browser opens an alert 'open/save file'.
    When this alert is activated the web.show-document() is not successfull, that means: it seems that the browser tries to open the new window but it immediatly 'crashes' (I'm using '_blank' as parameter).
    When this alert is not activated everything works perfect.
    My guess is that it has something to do with whith the javascript-problem under XP-SP2. (i also can't get javascript working together with web.show_document).
    Enviroment is: Forms 10g, Windows XP SP2, MS-IE (Mozilla works fine), 10g iDS and iAS
    any ideas?
    tia
    Frank

    Hello,
    already done, doesn't help.
    The odd thing is: when I type the url web.show_document should show directely into the IE (with virtual pathname) the alert shows up, I can choose 'open' and it works (thats the way I get rid of the alert). It seems to me that showing the alert somehow causes the problem in combination with web.show_document.
    I have a similar problem with javascipt. When I type it directly into the browser everything works fine, from web.show_document .. no way.
    So my guess was that maybe the alert itself uses javascript. I dont know much about java and browsers and so its really only a guess.
    The Alert I'm talking about is the following (modulo translation errors):
    do you want to open or save the file
    Name... / Type... /from....
    open/save/cancel -Buttons
    checkbox: always ask before opening a file of this type
    Frank

  • Web.show_document in Forms 11g

    Hi, I've migrating my application from forms 6i to forms 11g.
    In my application I use web.show_document to open some document using the http alias defined in httpd.conf under Oracle iSuites Http Server
    in httpd.conf I define
    Alias /my_document_folder/ "c:/document/"
    and in my application code
    web.show_document('/my_document_folder/my_document.doc');
    How can I define the alias http alias for Forms 11g
    Thanks..

    Hi All,
    I am facing some issue while seeing the report using web.show_document as shown below:
    https://ucrmskr.apac.nsroot.net:10301/forms/html/001725032_gca.rtf_
    In this case the report opens directly without asking for me to save or open or cancel option
    whereas if I hit
    http://scrmskr.apac.nsroot.net:7801/forms/html/001725032_gca.rtf_
    it asks for save or open or cancel option
    so that I can save the report to my machine and open in wordpad format
    The report generated in the first case is not coming in proper format
    Below are my forms.conf mappings:
    # Name
    # forms.conf - Forms component Apache directives configuration file.
    # Purpose
    # It should include the weblogic managed server (routing) directives for
    # the servers where Forms applications are deployed and other miscellaneous
    # Forms component OHS directives.
    # Remarks
    # This file is included with the OHS configuration under
    # $OI/config/OHS/<OHS Node Name>/moduleconf sub-directory.
    # virtual mapping for the /forms/html mapping.
    RewriteEngine on
    RewriteRule ^/forms/html/(..*) /workaroundhtml/$1 [PT]
    AliasMatch ^/workaroundhtml/(..*) "/ucrmap1/weblogic/bea/ucrms/config/FormsComponent/forms/html/$1"
    RewriteRule ^/ucrms/icons/(..*) "/workaroundicons/$1" [PT]
    AliasMatch ^/workaroundicons/(..*) "/ucrmap1/weblogic/bea/ORA_PFRD/forms/java/$1"
    RewriteRule ^/forms/help/(..*) "/workaroundhelp/$1" [PT]
    AliasMatch ^/workaroundhelp/(..*) "/ucrmap1/ucrrgbg2/help/$1"
    <Location /forms>
    SetHandler weblogic-handler
    WebLogicCluster kauh0079:9001
    DynamicServerList OFF
    </Location>
    Please let me know what needs to be done additionally if we are trying to hit https because in the second case we were hitting http with similar mapping in diff environment and it was generating report successfully.
    Regards,
    Harish

  • Unable to open the reports as url using web.show_document

    Hi experts,
    I am trying the access the oracle reports from oracle forms. my forms is running at port 9001 and my report is configured at port 9002.
    While trying to open the report using web.show_document(), the web page opens with port 9001 and returns 404 error. But when i change the port number to 9002 in the url it opens the report sucessfully.
    Please find the forms and reports link below:
    http://10.180.218.158:9001/forms/frmservlet?config=kvb11g
    http://10.180.218.158:9002/reports/rwservlet/getjobid97?server=rptsvr_mohadam-in_adam2unst
    i tried changing the machine name to ip address in the forms.conf and reports_ohs.conf as suggested in the link below. but it dint work out.
    url -
    https://forums.oracle.com/thread/1105289
    http://prasadmadhasi.com/2011/11/19/changing-presentation-services-port-number-in-obiee-11g/
    my reports_install.properties is given below,
    #Reports Install Properties
    #Fri Sep 13 16:10:59 IST 2013
    WLS_USER=weblogic
    USE_REPORTS_BUILDER=true
    OHS_COMPONENT_NAME=ohs1
    REPORTS_MANAGED_WLS_PORT=9002
    SERVER_NAME=RptSvr_MOHADAM-IN_adam2unst
    REPORTS_MANAGED_WLS_HOST=10.180.218.158
    FORMS_CONFIGURED=true
    ORACLE_INSTANCE_NAME=adam2unst
    REPORTS_APP_DEPLOYMENT_DIR=C\:\\Oracle\\Middleware\\user_projects\\domains\\kvbdomain\\servers\\WLS_REPORTS\\tmp\\_WL_user\\reports_11.1.2\\uxabaw
    INPROCESS_SERVER_NAME=RptSvr_MOHADAM-IN_adam2unst
    MANAGED_SERVER_NAME=WLS_REPORTS
    OHS_PORT=8891
    DOMAIN_HOME=C\:/Oracle/Middleware/user_projects/domains/kvbdomain
    COMMON_COMPONENTS_HOME=C\:\\Oracle\\MIDDLE~1\\ORACLE~1
    ORACLE_INSTANCE=C\:\\Oracle\\Middleware\\adam2inst
    REPORTS_APP_CONFIGURATION_DIR=C\:\\Oracle\\Middleware\\user_projects\\domains\\kvbdomain\\config\\fmwconfig\\servers\\WLS_REPORTS\\applications\\reports_11.1.2\\configuration
    OHS_HOST=MOHADAM-IN.in.oracle.com
    DOMAIN_NAME=kvbdomain
    ORACLE_HOME=C\:\\Oracle\\Middleware\\Oracle_FRMHome
    USE_OID=false
    REPORTS_APP_VERSION=11.1.2
    USE_SSL_FOR_APP_LDAP=false
    INSTALL_MODE=deployment
    SSO_CONFIGURED=false
    Looking forward for your help.
    Regards,
    Syl

    Hello,
    this is the forum space
    SQL Developer (Not for general SQL/PLSQL questions)
    Please mark this thread as answered and post your question in Reports
    Regards
    Marcus

  • WEB.show_document with MAILTO in IE8 - Navigation Cancelled message

    When generating an email from within Oracle Forms 10g using:
    WEB.show_document('mailto:'||'[email protected]'||'?subject='||'test msg'||'&body= 'test body','_SELF');
    An IE8 window pops up with a message saying 'Navigation to the webpage was cancelled'.
    The test email does appear separately, but if the email is generated a second time, the email will not be generated unless the window saying 'Navigation to the webpage was cancelled' was manually closed before the second email generation.
    If we try the same test in our IE7 browser, the email pops up without an IE window coming up in the background (as expected).
    We have tried changing the last parameter to _BLANK and also excluding it altogether, neither option works properly in IE8.
    What code can I use to generate an email within IE8 & IE7 without the extra browser window appearing in the background?

    Ok - so I've had a TAR logged with Oracle since before asking my colleague to post the same query on here.
    As of a couple of days ago Oracle were able to reproduce the same issues using a simple test case. Yesterday they came back with the first part of a fix and updated "Note 1075355.1 - How To Use WEB.SHOW_DOCUMENT To Open Multiple Pages In The Same Browser" accordingly.
    Basically if you are running IE8 on Windows XP and want to use the WEB.SHOW_DOCUMENT with mailto to launch an e-mail you need to specify a named window instead of the regular parameters which are: self, parent, top, blank
    So you would need to use something as below where the word CUSTOM can be anything.
    WEB.show_document('mailto:'||'[email protected]'||'?subject='||'test msg'||'&body=' ||'test body','CUSTOM');
    However this does not appear to fix the issue for IE8 when running on Windows 7.
    Below are other security settings that were recomended and we tried (but I don't think they had any effect):
    1. In IE 8 go to menu Tools -> Internet Options -> Security -> Sites ->
    - Add this website to the zone :
    mailto
    - Uncheck "Require server verifcation (https:) for all sites in this zone."
    - Click Add
    2. In IE 8 go to menu Tools -> Internet Options -> Security -> Custom level
    - Set 'Display mixed content' to Enable.
    Anyway hopefully this information may be useful to anyone else experiencing the same issues - I'm kinda surprised that this hasn't come up and I am interested to hear how other people send email from Forms 10G or 11G applications?

  • Error opening report using WEB.SHOW_DOCUMENT

    Hi
    I have a report in pdf format that opens ok by itself. When I use WEB.SHOW_DOCUMENT in the when_mouse_click trigger on the item in the form the report doesnt display. Only an IE window with "The page cannot be displayed" message.
    Here is the trigger code:
    Web.show_document(http://nbotlaguduru.dms.local/export/||FMSLaborChargesalcs20060829132645.pdf)
    where FMSLaborChargesalcs20060829132645.pdf is the name of the report I am trying to open.
    Here is the URL that appears in the second window that opens:
    http://nbotlaguduru.dms.local/export/FMSLaborChargesalcs20060829132645.pdf
    this url generates the error message "The page cannot be displayed"
    I am using Forms [32 Bit] Version 10.1.2.0.2 (Production)
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Report Builder 10.1.2.0.2
    ORACLE Server Release 10.1.0.4.2
    and I running the forms and reports server on my local machine.
    Any help would be greatly appreciated. Thanks

    Thanks for answering,
    I changed the URL from
    http://nbotlaguduru.dms.local/export/FMSLaborChargesalcs20060829132645.pdf
    to
    http://nbotlaguduru.dms.local:8889/export/FMSLaborChargesalcs20060829132645.pdf
    and the same problem occured
    the file is located on my local C drive in:
    C:\lcs\export
    seems as though I am missing something else as well
    any ideas?

  • Problem when using WEB.SHOW_DOCUMENT and passing in lexical parameter

    Hi,
    I got a blank page with error "An error has occured while trying to use this document" when I tried to use web.show_document and passing a lexical parameter to 10g report on 10gAS. The URL in the web.show_document is:
    http://<srvname>:<portnum>/reports/rwservlet?server=repserver90&report=myrpt.rdf&destype=Cache&desformat=pdf&userid=<usr>/<pw>@<db>&where_clause=where%20product_type%20in%20('REPORT')
    If I change the desformat to htmlcss, it is fine to display the report. But doesn't work with desformat=pdf. The pdf file has been generated in the cache. Why can't it display on the screen.
    Also I tried to use double quote the value for where_clause. The pdf report showed up. But it ignored the where clause.
    Experts please help.
    Ying

    I use lexical parameters and they work fine, but I use a parameter list. The code is contained in a form that is called by all forms that wish to run a report. This way you only need the logic for printing in a single form. If you want the form, email me at [email protected]

Maybe you are looking for