Pass parameter to web.show_document

Hello

I want to pass a parameter to the web.show_document instead of using the paremter form. I know it's possible if I use run_report_object but y at - it a way to pass a parameter similar to the report_other object?

r_url: = "/ reports/rwservlet? ' |' & desformat =' | rpt_format
|' & destype ='. r_dest
|' & paramform ='. r_param_Form
|' & report =' | r_name;

Web.show_document (r_url, '_blank');

Thank you
faoilean.

Hello

Yes, just add your parameter in the URL such as destype, paramform...

Ex:

r_url: = "/ reports/rwservlet? ' |' & desformat =' | rpt_format
|' & destype ='. r_dest
|' & paramform ='. r_param_Form
|' & report =' | r_name
|' & paramname =' | ParamValue;

Web.show_document (r_url, '_blank');

Concerning

Tags: Oracle Development

Similar Questions

  • Web.show_document work with abnormal parameter

    I was the opening of some web pages of forms 10g to help:

    Web.show_document (url, "_blank");

    in a button pulled the trigger. Which has worked well, except his continually opening new pages. If the button 10 times, 10 pages opened one after the other. I supplied warning the user about this oddity.

    Then when debugging I could change the code and to take:

    Web.show_document (url, ' _blank ;');)

    With the semicolon at the end of the _blank parameter pages now open in a window, himself replacing if the button is pressed repeatedly. This is exactly the feature I want. However, I can't find any documentation that uses any parameter for other web.show_document and then the standard without semicolon included.

    Does anyone know if it is safe to do so?

    The target parameter is the same as used in the target of the a tag in HTML attribute:

    http://www.w3schools.com/tags/att_a_target.asp

    So what you were involuntarily doing was to open a link in a window called _blank; . This should be good; However, I would give it an instaed of his real name.

    see you soon

  • Web.show_document for all records (%).

    Hi all

    I m using form 11 GR 2 and call report form with a Web.show_document integrated as follows:

    v_show_document: = v_show_document
    || v_connect
    || '+ server ='
    || v_report_server
    || '+ report =' |:parameter.repname
    || '+ destype = CACHE'
    || '+ desformat =' | v_format
    || "' + paramform = no"
    || '+ select1 =' | : mainblock. SELECT1
    || '+ fromdate =' | TO_CHAR(:FROMDATE,'DD-MM-RRRR')
    || '+ todate =' | TO_CHAR(:TODATE,'DD-MM-RRRR');

    Web.show_document (v_show_document);

    It runs the report properly.

    But a problem arises when I change one of the parameters defined in above integrated i.e. select1 = % , for all of the records, i.e.
    When I do select1 parameter equivalent to * % (which is intended for all records) *. That's when I put a parameter for all folders = %, it displays following error:

    REP-52006: the specified URL % cannot be decoded.

    that is when I put the parameter equal to single value, report works well, but when I put the parameter equal to * % (all records) *, it show above error.

    I searched the net, someone said that * % * cannot be used for all records, then must be used for this and how?

    PL guide me.

    Thank you and best regards.

    Published by: ocpdev on January 2, 2013 22:52

    You must add your parameters using SET_REPORT_OBJECT_PROPERTY, only not by adding it to the url, add something like

    set_report_object_property(repid, REPORT_OTHER, 'FROMDATE="' ||TO_CHAR(:MAINBLOCK.FROMDATE,'DD-MM-RRRR')
                             || '" TODATE="'TO_CHAR(:MAINBLOCK.TODATE,'DD-MM-RRRR')
                             || '" select1="'||:mainblock.SELECT1|| '"');
    
  • Forms for reports and the Web.Show_Document userid

    I inherited several form - combinations of report to update and I am not familiar with the reports. I'm working to be converted to run under Web Forms / Reports 10

    In a pair of form/report, the form passes the user of the report ID, and I was able to convert that.

    In another pair, however, I don't see how the form passes authentication user name to run the report. The form creates a list of parameters, adds a number of parameters, but no user name, and then calls Run_Product. It works without problem, immediately send a report to my printer. Can someone explain what the form of forms 6 on connection information to the report? Where can I find the mechanisms which achieve?

    I need to get this working in Web Forms.

    Thanks in advance!

    Why Oracle provides the java frmrwinteg plugin to hide the name of user and password on the report URL in the browser?

    Because you don't have to call a report from a form. Or you call a report of a form through web.show_document instead of via run_report_object.

    Is - it so the report can be run with a different username than the Forms user ID?

    It could be if you need this feature. But this seems very strange to me. Normally, you would then run the report with a default user defined in the mapping of keys to server file cgicmd.dat.

    What is the difference between Run_Report_Object and Web.Show_Document.

    Run_report_object is a direct communication between the drivers of forms and reports on the application server.
    Web.show_document opens a URL in the browser on the client computer.

  • Forms 11 g and web.show_document

    I am trying to open a .pdf file on the client side of forms 11 g of the trigger WHEN KEY PRESSED on a button by using web.show_document.

    Web.show_document ("file://servername/d$ / download/AUTOPROC132800.pdf", "_SELF");


    When I try this, I get a new tab that opens, but it's a blank page.

    Is there some additional game upward I have to do in order to get web.show_document to extract the document?



    Version of forms:

    Forms [64 Bit] Version 11.1.2.2.0 (Production)

    Oracle Toolkit Version 11.1.2.2.0 (Production)

    PL/SQL Version 11.1.0.7.0 (Production)

    Oracle V11.1.2.2.0 - Production procedure generator

    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)

    Query Oracle 11.1.2.2.0 - Production Designer

    Oracle virtual graphics system Version 11.1.2.2.0 (Production)

    The GUI tools Oracle Utilities Version 11.1.2.2.0 (Production)

    Oracle Multimedia Version 11.1.2.2.0 (Production)

    Oracle tools integration Version 11.1.2.2.0 (Production)

    Common tools Oracle zone Version 11.1.2.2.0

    Oracle CORE Production 11.1.0.7.0

    Thank you

    Katherine

    WEB. SHOW_DOCUMENT is built for the display of the URLs in a browser. To view a local file on the file system, I'd go with CLIENT_HOST of WEBUTIL, something like

    CLIENT_HOST ('cmd /c start "");

  • Web.show_document can deal with a protocol of owners?

    forms 11g

    In a form, we allow users to store some URL and we offer them the opportunity to test the URL delivering a web.show_document

    Nothing unusual, he worked for a while.

    Now they store some uris for software documentation of the owners, who works in the browser with another protocol. (In this case pw: / /), but they report that it does not work. If they have copy + paste the uri in a new tab, it works, so I have to assume that the binding protocol in windows is ok, but if they call using shapes (i.e. web.show_document) it fails. As I can't install this program and see for myself, I tried to get the error information they get, but you know, users whenever they're not clearly lying, they are not able to tell a browser of a forms error error.

    You can try CLIENT_HOST, like this

    CLIENT_HOST('cmd /c)rundll32 url.dll,FileProtocolHandler http://www.google.de');

    Replace http://www.google.de by your url.

  • Cannot open reports in the form of url using web.show_document

    Hi experts,

    I'm trying to access the oracle forms to oracle reports. port 9001 turn my forms and my report has been set up in port 9002.

    While trying to open the report using web.show_document (), the web page opens with the port 9001 and returns a 404 error. But when I change the port number 9002 in the url it opens the report sucessfully.

    Please find the link forms and reports 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 to change the machine name of the ip address in theforms.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,

    Properties of installation #Reports

    #Fri Oct 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 = it\: / 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.

    Kind regards

    SYL

    Hello

    It's the forum space

    Developer SQL (not for general questions of SQL/PLSQL)

    Please mark this thread as answered and post your issue in the reports

    Concerning

    Marcus

  • How to call static pages using web.show_document on the application server

    Hi all.

    I'm using forms / reports 11 g Rel2.

    I´d like to call it a few static pages of forms using web.show_document and have the pages located on the same machine where the application server is running.

    I know it's more a problem of Oracle HTTP Server configuration, but I want to know if I can use one of the default virtual directories already defined on the installation process.

    Please recommend a virtual directory to use.

    Best regards, Luis... :))

    Sure. You can store the files anywhere you want. Of course, it is easy to create a new virtual directory. But if you want to use an existing one, the most obvious likely would be the virtual path of/forms/html that can be found here:

    INSTANCE_HOME\config\FormsComponent\forms\html

    The url to access it would look something like this:

    http://server:port/forms/HTML/myWebPage.htm

  • Form web.show_document 10g on Windows Server 2003

    I use web.show_document in Forms 10 g. When I run my application from Windows Server 2003, the document of web.show_document goes into the taskbar and flashes at me instead of opening, clicking on the lettering flashing it opens fine. It occurs when running Windows XP. Basically I don't think forms abandons focus properly.

    I also tried...

    CLIENT_HOST ('cmd /C start /w "C:\Program may Explorer\iexplore.exe" ' |) "'http://oracle.com'");

    I need to be... a) a way to get the forms to renounce focus or b) to get the window to open it and take focus properly.

    It is a known problem. You should make sure that you run 10.1.2.3. If you are already running patch3 (10.1.2.3) then you also need to install the patch Bundle of forms (patch ID 9593176). For more information about this fix, see MOS 1188127.1 Note

  • Forms web.show_document replace & in the url

    Hi all

    I am trying to replace & in varchar for web_show.document
     v_params := v_params || '&name=' 
                       || replace(replace(replace(NAME, '"', ''''), '&', '%26'), ' ', '%20');
    
     
    Name = "you & you".
    On debug, everything is correct as are 20% 26% 20tu %, but after web.show_document(v_params,'_blank') the link is ...es%20 & % 20tu... WHY?

    Why new symbol & is back?

    Thank you

    ID

    Edited by: 1D10T 8 February 2013 07:16

    Edited by: 1D10T 8 February 2013 07:20

    Eh_bien, certainly you must compile your forms on the platform target;). You need to move your sources on your linux machine and compile it there using frmcmp

    See
    http://www.Google.com/search?q=compile+Oracle+Forms+Linux

    see you soon

  • Virtual Directory Web.show_document

    Hello

    I want to show a document (pdf) that is located on the application server.
    I know that I can use web.show_document, but the question is where I set virtual directory 11.1.2 forms.
    I installed WebLogic, is there anywhere on weblogic where I can open a file in the GUI and set?

    Secondly, what should I put in the file to set my virtual directory.

    I looked on support.oracle.com and they have some examples but is for Forms 10g and the file they want me open is orion - there is no web.xml in 11.1.2.

    So, how can I do this in 11.1.2 forms.

    Thank you
    Laba

    You use the standard port defined for your application on Forms. For example, if you have the port 8888 defined, you need to use URL: http://: 8888/my_reports /.

    Craig...

  • Web.Show_Document - is there a file size limit?

    It seems that Web.Show_Document has a display issue large .pdfs.
    Example: Size a .pdf of * 2505 KB * would not display, however I compressed the .pdf for * 1172 KB * and the report displayed by using web.show_document with success.

    I view the PDF in an Oracle forms using web.show_document. The user presses a button (view report) and displays the report. Except, now it does not display reports nearly 2000 KB in size.
    The error indicates * "exhausted Resultset."

    Is there a limit of size of file with web.show_document?

    Environmental context:
    Forms [32-bit] Version 9.0.4.1.0 (Production)
    Oracle Toolkit Version 9.0.4.1.0 (Production)
    PL/SQL Version 9.0.1.5.1 (Production)

    Generator 9.0.4.1.0
    ORACLE Server Release 9.0.1.5.1

    Oracle Database 10 g Enterprise Edition Release 10.2.0.4.0 - Production 64-bit

    As already mentioned, WEB. SHOW_DOCUMENT has nothing to do with the size of the file. This command simply sends a url to the system default browser. There is no magic Oracle here.

    The problem, you said:

    ... The error indicates * "exhausted Resultset."

    Where you see this message?
    Forms generates this message?
    What is a custom message?
    What is the full text of the message?
    Is there an error number?

    This doesn't seem to be a form generated the error message.

    I would suggest to your store a large file in the location where your reports. The file must be in the same format (e.g. pdf). Open a browser and manually enter the url needed to extract the content. I suspect that the same problem recur IF you think that the problem only occurs when the request WEB form. SEE THE PROPERTY. If it happens again, then you have to less simplified the problem to a client browser requesting a document from a server.

  • issue of Web.show_document

    Hello

    I have a text field.
    In the trigger click-mouse-when I
    web.show_document(:itemname.item_value);
    When I enter www.google.com and click on the field on the web page that appears is
    http://myappserveraddress/www.Google.com

    How can I make only www.google.com.

    Thank you

    Prefix of the url you have in your textitem with "http://".

  • Pass parameter value between c# and TestStand

    Hello

    I'm currently futured, customize the User Interface complete

    I Test.seq master who has all the tests and I need to run only the selected test user in the user interface.

    so I thought to transmit the selected user code c# UserInterface test form to master Test.seq.

    How can I pass the value of the parameter or is there another way I can share data between USerINterce and seq file?

    Thanks in advance

    IVI


  • Passing parameter from one Panel to another

    Hi guys, I'm working on an extension of html5, I have a main table, then a second I opened using the requestOpenExtension(). I met a problem, I need to pass a parameter, for example, a number or a string from the Panel 1 this 2nd one when I asked. I noticed the StartupParams in the requestOpenExtension function, but I couldn't find any information about how it works or how to retrieve the setting once the extension is open, or if I can even use it for custom parameters

    Would like any help, as its quite an important question for me

    See you soon

    It seems that startupParams are not yet implemented, appearing from his comment...
    You can use the work around here. You can write data to the local file and read the data in the 2 panel during its initialization.

Maybe you are looking for

  • How I remember a deleted email?

    I deleted an email by mistake and my machine only has them for 2 days. After 2 days, they will apparently to a server or a cyber space, I don't know who. How can I get that back?

  • Linux-plugins firefox 3.6 works but 14 firefox plugins do not!

    Work with opensuse 11.1 - 64 bit, zypper upgrade auto firefox 3.6 +, but stopped, so I installed Firefox v12 and now automatically upgraded to 14.0.1.All this time if I work with FF3.6 my plugins work fine, but in FF14 no plugins work.I am particular

  • Parameters of the custom program of Lenovo - y560

    http://i56.Tinypic.com/w9tbpi.PNG Y560 This program keeps popping up randomly, more frequently when you use the "M", "J", or "U" key, which makes virtually all painful to do. "" It has even reduced or creates a new windows which is even worse. Also,

  • How can I set the graph on the Panel like buttons?

    Hi all I'm trying to control a camera by sending control signals and receive signals from IT. After I take a picture and display it on the screen, I want to put it in the form of an array of bool 2D controls. While I can click on some pixels, to send

  • problem with EzRecover.exe on Pavilion dv8-1250ea

    Hello! A couple of days my laptop started to display an error message as soon as Windows 7 starts: "system error - ezrecover.exe cannot work because the vcljpg70.bpl file is missing. Try to reinstall the software... » I have Kaspersky Internet Securi