How to add parameters in Web.show_document

Hi friends,

IM call report on a form with the code below

BEGIN
WEB. SHOW_DOCUMENT ('/ reports/rwservlet? report = EMP_REP.jsp & destype = cache & desformat = pdf & userid=karthik/karthik@ewcd');
END;

It works fine, but it retrieves all the data.

I have parameters such as from_employee and to_employee in the form and report, how to modify this code to achieve this.

Please advice me...

Concerning
ChrisDe

Hello try again I edited.

Tags: Oracle Development

Similar Questions

  • How to add a custom web page of root apps?

    I saw in January 2013 system update for the following:

    "Make a custom page when you access the URL of the root of a Web application. For example, if you have a "blog" Web App, items can be made available to/blog/my-blog-post, and you will be able to customize the page/blog"

    Could someone point me in the right direction to get instructions on how to make use of this feature.

    Could not appear to find a link to the release Blog note what and also tried trawl by support and forums for a position appropriate.

    Closest I found was a topic using subfolders for elements of web application.

    I tried to add a page in the admin of the site with the same URL as the web app, but it throws everything simply wrong because it clashes with Web App url.

    See you soon

    Mike

    Hi Mike.

    Because a folder can have an index.html Web apps in the past you can not access this ability. You had to make a page and you might not SEO call it the same as your web application.

    THEN

    Your web application is called Blog.

    You can now make a folder in your root called Blog.

    In this folder, you can create a page and give it a type index.html url

    Now when you navigate to a web app directly - www.yoursite.com/yourwebapp or www.yoursite.com/yourwebapp/index/html you can access the index page.

    You can also put other pages in this folder, if you want too.

  • How to add a 2nd web/app svr?

    I'm new to Peoplesoft and I FP2 HCM9.1 PeopleSoft PeopleTools 8.52.06 work environment built among the latest models of LMOS.

    I am running the DVS web & application on the same VM. Now, I have to create another web + app svr VM to test the configuration with a 3rd party balancer load. Can simply repeat the steps that I've done to create the 2nd web + app svr VM?

    Any reference orientation or documentation is appreciated!

    Kind regards
    Holly

    Of course, you can have as much app/web VM as you want the same database VM.

    Can simply repeat the steps that I've done to create the 2nd web + app svr VM?

    Yes, absolutely.
    App/web VM is nothing more that a "hardware", then you can multiply the given them a unique IP address on your network, link to your back-end database, and everything should work fine.

    Nicolas.

  • How to add custom merge Web application (ADF) appearance

    Hello
    I've implemented adding custom to a Webcenter portal application skin. However, there is no entry in the ADF - config.xml and also I am unable to rocedd with addition of skin in the web application from merger. Please someone help me in this and also suggest suitable learning resources.


    Kind regards
    Dinesh Kumar Vishnu

    Video official help - http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/adf-insider-skinning/adf-insider-skinning.html

  • How to add and remove sites to your Favorites

    How to add and remove Web sites as Favorites on the homepage of Safari?

    Hello

    Try the instructions here > http://www.imore.com/how-turn-and-edit-favorites-bar-safari

  • How to add the Web page in the application of air?

    Hai, I need to add a little Web page to my application to the adobe air someone knows how to add this feature, please help...

    Thank you

    Dembélé

    See API for QNXStageWebView.

  • How to add jsession ID to an ADF web application deployed in weblogic server?

    Hello

    I use jdeveloper 11.1.2.4 version. Can anyone tell please how to add custom JSESSIONID (BLTSESSIONID) to the URL of the web application ADF that must be deployed in weblogic server. I tried the following approach. but it did not work for me.

    in webogic.xml, I added

    < session descriptor - >

    < name > BLTSESSIONID < / cookie-name >

    < / session descriptor >

    However, I've added the weblogic.xml manually from the gallery.

    Could someone help me on this please?

    Thank you

    You don't have to add the session ID to the URL. The Web application automatically manages session IDS. By default, it uses an HTTP cookie (a cookie with name JSESSIONID) therefor. The Web application will automatically add it to the URL only if it detects that the client browser does not support cookies (for example, if the user has disabled cookies in the browser). By adding the lines above to weblogic.xml you just changed the name of cookie JSESSIONID to BLTSESSIONID default session. This is useful only if you have access to a couple of different Web applications from one and the same server and you want every application to maintain a clean session (for example, each application having a different session cookie name). If all applications on the server use one and same name cookie (JSESSIONID for example) and you have access to more than one application at the same time in one and the same browser (and even multiple instances of the browser, with the exception of some special cases), you will not be able to work with these applications correctly because the next access to another application will replace the cookie and you will lose the session to the requests earlier. Because HTTP cookies are maintained at the level of server name, it's not at the level of application root. In this case, you must specify the application names specific cookie (what you did above).

    Dimitar

  • How to add a html page or page Web Flash SWF in as3?

    Hi all

    How to add a html page or page Web Flash SWF in as3?

    Thank you

    Omar

    to a swf on the web, use navigateToURL.  for a mobile swf file, use the htmlloader or stagewebview class.

  • How to add a list of parameters in the request for a report

    I need to change the code of a trigger when key pressed in order to call a report from a form by passing a parameter, but I have some problems.
    This is the part of the code I'm interested (I put a < < < < < < < < on the lines concerned):

    DECLARE

    v_repid REPORT_OBJECT;
    v_rep VARCHAR2 (100);
    v_rep_status VARCHAR2 (100);
    -v_param VARCHAR2 (200): = NULL;
    -v_valor VARCHAR2 (200);
    v_url VARCHAR2 (2000);
    v_repserver varchar2 (20): = "myserver";
    -v_PARAMETER varchar2 (100): = ";
    v_parameter_list ParamList; -< < < < < < < <

    BEGIN

    : global.p_id_attivita: = 23728; -< < < < < < < <

    Add_Parameter (v_parameter_list, 'P_ID_ATTIVITA', TEXT_PARAMETER,: global.p_id_attivita); - < < < < < < < <

    v_repid: = FIND_REPORT_OBJECT ('MYREPORT'); -report is a report of object navigator item
    SET_REPORT_OBJECT_PROPERTY (v_repid, REPORT_EXECUTION_MODE, LOT);
    SET_REPORT_OBJECT_PROPERTY (v_repid, REPORT_COMM_MODE, SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY (v_repid, REPORT_DESTYPE, cache);
    SET_REPORT_OBJECT_PROPERTY (v_repid, REPORT_DESFORMAT, "SPREADSHEET");
    SET_REPORT_OBJECT_PROPERTY (v_repid, REPORT_SERVER, v_repserver);

    v_rep: = RUN_REPORT_OBJECT (v_repid, v_parameter_list); -< < < < < < < <

    v_rep_status: = REPORT_OBJECT_STATUS (v_rep);
    While v_rep_status IN THE LOOP ("CURRENT", "OPENING_REPORT", "PENDING")
    v_rep_status: = REPORT_OBJECT_STATUS (v_rep);
    END LOOP;
    IF v_rep_status = "FINISHED" THEN
    WEB. SHOW_DOCUMENT(v_url||) e/Reports/rwservlet/getjobid ' | SUBSTR (v_rep, INSTR (v_rep, '_',-1) + 1) |'? ' |' server =' | v_repserver, "_blank");
    END IF;

    END;

    When I try to call the report by pushing the button that the trigger is connected, I get the following message:

    FRM-47009: failed to add the P_ID_ATTIVITA parameter to the parameter list: Invalid list ID.

    I remind you that without settings, this code works.

    Thank you!

    To add a parameter, you must create the parameter list. Like this

    DECLARE
    
    v_repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    v_rep_status VARCHAR2(100);
    --v_param VARCHAR2(200) := NULL;
    --v_valor VARCHAR2(200);
    v_url VARCHAR2(2000);
    v_repserver varchar2(20) := 'myserver';
    --v_PARAMETER varchar2(100) := '';
    v_parameter_list ParamList; --<<<<<<<<
    
    BEGIN
    
    :global.p_id_attivita := 23728; --<<<<<<<<
    
    v_parameter_list := Create_Parameter_List('tmpdata'); --------i added
    Add_Parameter(v_parameter_list, 'PARAMFORM', TEXT_PARAMETER, 'NO');  --------i added
    Add_Parameter(v_parameter_list, 'P_ID_ATTIVITA', TEXT_PARAMETER, :global.p_id_attivita);--<<<<<<<<
    
    v_repid := FIND_REPORT_OBJECT('MYREPORT'); -- report is an element from object navigator report
    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_EXECUTION_MODE, BATCH);
    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_COMM_MODE, SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_DESTYPE, cache);
    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_DESFORMAT, 'SPREADSHEET' );
    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_SERVER, v_repserver);
    
    v_rep := RUN_REPORT_OBJECT(v_repid,v_parameter_list); --<<<<<<<<
    
    v_rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE v_rep_status IN ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
    v_rep_status := REPORT_OBJECT_STATUS(v_rep);
    END LOOP;
    IF v_rep_status = 'FINISHED' THEN
    WEB.SHOW_DOCUMENT(v_url||'/reports/rwservlet/getjobid'||SUBSTR(v_rep, INSTR(v_rep,'_', -1)+1)||'?'||'server='||v_repserver, '_blank');
    END IF;
    DESTROY_PARAMETER_LIST(v_parameter_list); --- i added
    END;
    

    Try

    I hope this works.

    Hamid

  • How to add by dynamically/programming of the parameters to a taskflow of entry?

    I have like that - usecase
    I have a created taskflow. But I don't know how many input parameters that I need to define on this taskflow.
    Is it possible, by which I can add parameters of entry to a taskflow programmatically? with an MBean or any APIs are available that will allow to make?

    You can specify a map (HashMap) as only input parameter and put all the other parameters in the plan. The card can contain any number of key / value, but the workflow enough to know (the plan).

    Timo

  • How to add the Web site project?

    I finished my project in Beta 2, but impossible to find tutorials on how to actually add it on my site...?

    Can someone please explain the difference between 'deploy to the web' and 'run-local' files (when using either, or) and also tell me how to add my project in my Dreamweaver site?

    Thank you!

    Hey!

    So it depends on what you mean by "a component.

    Do you mean the project created in the catalyst file consists of a component (interactive map) and you want to paste only specific somewhere within your site?

    You can embed the swf file from the Deploy folder Web as much as you would like in your site (main.swf, ignorant main.html).

    You will still need to copy all the files of deploy on the web, to ensure that your assets and others get lost along the way.

    This thread should help in this case: http://forums.adobe.com/message/2449721#2449721

    Is that what you're looking for?

    If not, let me know

    Thank you

    Tara

  • 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

  • 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.

  • How to add another search engine?

    Hi, guys! I have been using your browser for years on my PC and for about half a year on my cell phone. I used to use ie, opera, chrome, but finally I chose your browser for mobile and PC because your application is the best! It is incomparable! I have a simple question on the mobile version - how to add my favorite search yandex.ru for list provider do its default value? I did a tip of the parameters but it doesn't work. And why don't you make also much easier by adding a button like 'Add another search site' in the settings? Apart from please give advise me how to activate the English spelling? Thank you in advance for help.

    You should be able to find it at http://mycroftproject.com/search-engines.html?name=yandex.ru

    Search engines are managed in the settings of Firefox as described in https://support.mozilla.org/en-US/kb/manage-my-default-search-engines-firefox-android

Maybe you are looking for