Passing parameters to web based oracle forms

Hi,
How can I pass parameters from web page to oracle form applet? OR is there anyway i can know (within a form) if that form is run from a client/server or from web. This is just to set some parameters depending on the condition: client/server or web application.
thank you

To know if you are on the Web use the get_application_property built-in, check out the online help for it.
To pass parameters - if you are using the forms servlet you can pass parameters on the URL that calls your Forms application.

Similar Messages

  • Using PJC in Web Based Oracle forms Applications

    Hello,
    Any one could tell how to Configure 10g AS for using date,Key filter etc PJC in
    web based Applications of Oracle forms(having beans/olb,pll attached)
    Avijeet

    please sir help me
    1. I have attached the calendar.pll(remove path=yes),reusablecomponents.olb
    and compiled in Windows based forms builder 9i. worked fine
    2. Put into RHEL based Oracle 10g AS having compiled in the AS(f90genm.sh)
    while putting the .pll and .olb in the current directory where the .fmx is placed
    3. but in the enerprise web when I press button to invoke the Calendar the error is
    ora-06508 unable to find procedure

  • Query regarding passing parameters from HTML to oracle forms 9i

    I am currently trying to design an application which is called from the web but the application is on forms 9i.
    Once the URL is called the user id needs to be entered and then this needs to be passed on to the main form . As I understand it this user id needs to be passed form HTML into the first form on 9i.
    Can anyone help me with the way this can be done
    Thanks in anticipation
    Surojeet

    You can do that using PSP ( PL/SQL Server Pages ) using basic autentication. If you want to get information about you can install Oracle 8.1.7 or higher and invoke the following URL : http://localhost and make click in mod_plsql.
    [email protected]
    Joel P�rez

  • PASSING PARAMETERS TO CRYSTAL REPORTS THRU FORMS!

    Hi! all,
    Is there someone who passed parameters to crystal reports from
    forms 5.0?
    The problem is when I call the report executable from the form,
    its giving a login prompt again which is not desirable as @ this
    stage the user has already logged in once. So is there a way to
    pass this as a parameter to crystal or may be any better way???
    Thanx for the solution,
    Hima
    null

    First make sure you are on SP 3:
    https://smpdl.sap-ag.de/~sapidp/012002523100007123572010E/cr2008_sp3.exe
    SP 3 msi     
    https://smpdl.sap-ag.de/~sapidp/012002523100007123592010E/cr2008sp3_redist.zip
    SP 3 msm     
    https://smpdl.sap-ag.de/~sapidp/012002523100007123582010E/cr2008sp3_mm.zip
    Have a look at [Crystal Reports for Visual Studio 2005 Walkthroughs|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23]
    (The above does apply to your version of CR also)
    Have a look at the samples:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    And look at the Developer Help file:
    http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm
    And don't forget to use the search box at the top right corner of this web page. It will bring up KBases, blogs, wikis, articles and more. Searching these forums is also a good idea.
    - Ludek

  • Error when querying REST web services from web-based InfoPath form 2013 environment

    Error when querying REST web services from web-based InfoPath form 2013 environment, we are trying to consume REST web service in InfoPath form ( SharePoint 2013 version) 
    http://spapp/sites/litigation/Intake/_api/web/lists/getbytitle('Email%20Profiles')/items(1)
    it works in preview but does not when it is published. because of claim based authentication i m getting below error
    The form cannot run specified query, the underlying connection was closed. An expected error occurred 
    same works in 2010 environment .. are we missing anything in 2013 servers?? please let me know how we can resolve it.. thank you 
    guru

    everyone face this issue, nothing in event viewer, its easy to reproduce error at ur end also.. 
    just you need to use below web service in infopath and populate some data on form load like id = 1 pull the title and try to set in form any field...the
    list has one item thats all
    guru

  • Free web-based Oracle administration tool

    Is there a free web-based Oracle Administration tool? Oracle SQL Developer is a free tool but not web-based. There are many web-based Shareware Oracle administration tools but I could not find a free tool. If anyone knows anything about it, please let me know.
    Thank You for your help in advance!

    Are you referring to the extra features or options provided by licensing Management Packs? (note that EE is needed before you may add the licenses)
    http://download.oracle.com/docs/cd/B19306_01/license.102/b14199/options.htm#sthref69
    http://download.oracle.com/docs/cd/B19306_01/license.102/b40010/overview.htm

  • Unable to pass parameters from APEX to Oracle EBusiness suite R12 forms

    Hi
    We are trying to access a standard Oracle EBusiness form i.e. service request and are invoking this Form through a link from APEX.
    We are trying to pass parameters via this URL
    http://abc.oneapps.com:8010/OA_HTML/RF.jsp?function_id=2037&resp_id=50952&resp_appl_id=170&security_group_id=0&lang_code=US&otherparams=INCIDENT_ATTRIBUTE_15=5206
    The EBusiness suite form is launched correctly but we are not able to read the parameter value through custom.pll code.
    if (event_name = 'WHEN-NEW-BLOCK-INSTANCE') then
         IF form_name='CSXSRISR' and block_name='SR_BSC_QUERY' then
              FND_MESSAGE.DEBUG('PARAMETER.INCIDENT_ATTRIBUTE_15');
              FND_MESSAGE.DEBUG(' ');
              --FND_MESSAGE.DEBUG(:PARAMETER.INCIDENT_ATTRIBUTE_15);
              lC_incident_number :=name_in('PARAMETER.INCIDENT_ATTRIBUTE_15');
              FND_MESSAGE.DEBUG('Incident Number'||lC_incident_number);
              IF lC_incident_number IS NOT NULL THEN
                   copy(lc_incident_number,'SR_BSC_QUERY.INCIDENT_NUMBER');
              END IF;     
              FND_MESSAGE.DEBUG(' ');
         END IF;
    END IF;
    Is this the right way of passing the parameters?
    all technical inputs are welcome.
    Regards
    Sam

    Hi
    We are trying to access a standard Oracle EBusiness form i.e. service request and are invoking this Form through a link from APEX.
    We are trying to pass parameters via this URL
    http://abc.oneapps.com:8010/OA_HTML/RF.jsp?function_id=2037&resp_id=50952&resp_appl_id=170&security_group_id=0&lang_code=US&otherparams=INCIDENT_ATTRIBUTE_15=5206
    The EBusiness suite form is launched correctly but we are not able to read the parameter value through custom.pll code.
    if (event_name = 'WHEN-NEW-BLOCK-INSTANCE') then
         IF form_name='CSXSRISR' and block_name='SR_BSC_QUERY' then
              FND_MESSAGE.DEBUG('PARAMETER.INCIDENT_ATTRIBUTE_15');
              FND_MESSAGE.DEBUG(' ');
              --FND_MESSAGE.DEBUG(:PARAMETER.INCIDENT_ATTRIBUTE_15);
              lC_incident_number :=name_in('PARAMETER.INCIDENT_ATTRIBUTE_15');
              FND_MESSAGE.DEBUG('Incident Number'||lC_incident_number);
              IF lC_incident_number IS NOT NULL THEN
                   copy(lc_incident_number,'SR_BSC_QUERY.INCIDENT_NUMBER');
              END IF;     
              FND_MESSAGE.DEBUG(' ');
         END IF;
    END IF;
    Is this the right way of passing the parameters?
    all technical inputs are welcome.
    Regards
    Sam

  • Web Based Parameter Form 6i to 10g

    I have a report that I can currenlty run using the activex control to run the report (Windows). I'm trying to move this same report to a web based report using Report Services 10g.
    How do I get the Parameter from to show up (it's a paper based report, but I want it to show the same way on the web). Basically, trying to migrate the report to the web.
    From what I've read (and understand), it seems like a LOT of work for every report to show parameters to the end user to run the report. Hopefully, I'm missing something.
    I've basically taken the report as is and put it in the correct directory on the application server. I then use the following URL, but the report blows up with a LOL error:
    http://testserver:7778/reports/rwservlet?report=MYREPORT.RDF&destype=cache&desformat=html

    Hello,
    Add the following paremeter in the URL :
    paramform=yes
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwrefex/cmdline/common/bld_paramform.htm?tp=true
    Regards

  • Passing parameters to report from current form

    Hi all!
    I have a problem with parameter passing from form to report. I want to display the report with the current customer id and current product id from the form. But my problem is I don't know how to pass parameters from form to report. I am a new user of oracle applications. If any one can help me, please tell me step by step what I should do because I am so new with oracle developer.
    Thanks.
    Sonia.

    Hi,
    An easy way to pass the parameters to the report from the form.
    In the trigger from where u are calling the report you can write a short code there to pass on the parameters you want in the report.
    declare
    pl_id ParamList;
    BEGIN
    pl_id := Get_Parameter_List('tmpdata');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List( pl_id );
    END IF;
    pl_id := Create_Parameter_List('tmpdata');
    Add_Parameter(pl_id,'PARAM1',TEXT_PARAMETER,:FORM_ITEM1);
    Add_Parameter(pl_id,'PARAM2',TEXT_PARAMETER,:FORM_ITEM2);
    Add_Parameter(pl_id,'PARAM3',TEXT_PARAMETER,:FORM_ITEM3);
    Run_Product(REPORTS,'C:\UR.RDF',(SYNCHRONOUS or ASYNCHRONOUS), RUNTIME,FILESYSTEM, pl_id);
    END;
    For this there is an assumption that in your report you have created, 'PARAM1', 'PARAM2', 'PARAM3' as User Parameters in you data model.
    I have also just now answered for your problem of setting item properties on select of a value from an LOV. Check that out too.
    Regards
    Chintan

  • Pass parameter from HTML to Oracle Forms

    I have an application that connects to a third party company to process credit card transactions. They require a Sucess URL and a Fail URL depending on whether or not the credit card transaction is approved.
    How can I, using Oracle forms, "catch" the parameters that will be sent back to me by the third party? I need to update some tables depending on the creadit card transaction being approved.
    Thanks,
    Rose

    You can do that using PSP ( PL/SQL Server Pages ) using basic autentication. If you want to get information about you can install Oracle 8.1.7 or higher and invoke the following URL : http://localhost and make click in mod_plsql.
    [email protected]
    Joel P�rez

  • Passing Parameters to Procedure based sub report thru JRC

    Hi
    I am using storedprocedure based main report with a subreport and i am trying to invoke these reports with JRC.
    I am passing parameters to main report then it is asking parameters for subreport then i placed following statement by placing subreport name
    param2.setReportName("detailed_aging_report_wk.rpt");
    but after using this statement it is prompting for main report parameters.
    How i can pass the same parameter values to both main and sub reports?
    Thankyou.

    Here is a snippet code that demonstrates how to pass a parameter to a subreport, you can accommodate it and test it and see if you still have the same behaviour. What you need to do is to add the code to set the parameter of the main report.
    <%
    /* Applies to: XI
    * Date Created: April 4, 2005
    * Description:     This sample demonstrates how to pass parameters to a report that
    *                    contains a subreport using the Crystal Reports Java
    *                    Reporting Component (JRC) SDK.        
    * Author: HP, CW
    try {
         //check to see if the report source already exists
         Object reportSource = session.getAttribute("reportSource");
         //if the report source has not been opened
         if (reportSource == null)
              //---------- Create a ReportClientDocument -------------
              ReportClientDocument oReportClientDocument = new ReportClientDocument();
              //---------- Set the path to the location of the report soruce -------------
              //Open report.
              oReportClientDocument.open("jrc_set_subreport_parameters/jrc_set_subreport_parameters.rpt", 0);
              //Get the report source
              reportSource = oReportClientDocument.getReportSource();
              //Cache report source. 
              //This will be used by the viewer to display the desired report.
              session.setAttribute("reportSource", reportSource);
         //---------- Create the Parameter Field Objects -------------
        //Create a Fields collection object to store the parameter fields in.
        Fields oFields = new Fields();
        //----------- Initialize the parameter fields ----------
        //Set the name and value for each parameter field that is added.
        //Values for parameter fields are represented by a ParameterFieldDiscreteValue
        //or ParameterFieldRangeValue object.
        //NOTE: Be sure to map the names of the parameters and their
        //respective types against the correct type that the parameter
        //field values was defined to accept in Crystal Reports.
        //NUMBER VALUE PARAMETER. 
        Integer numberValue = new Integer("55");
        //STRING VALUE PARAMETER.
        String stringValue = "String parameter value.";
        //BOOLEAN VALUE PARAMETER.
        Boolean booleanValue = new Boolean("true");
        //DATE VALUE PARAMETER.
        Calendar calendar = Calendar.getInstance();
        calendar.set(2004, 1, 17);
        Date dateParamVal = calendar.getTime();
        //DATE-TIME VALUE PARAMETER.
        Calendar calendar2 = Calendar.getInstance();
        calendar2.set(2002, 5, 12, 8, 23, 15);
        Date dateTimeParamVal = calendar2.getTime();
        //CURRENCY VALUE PARAMETER.
        Double currParamVal = new Double(555.99);
        //TIME VALUE PARAMETER.
        Calendar calendar3 = Calendar.getInstance();
        calendar3.set(2002, 5, 12, 13, 44, 59);
        Date timeParamVal = calendar3.getTime();
        //Set all of the parameter values using the utility function.
         //Since we are passing parameters to the subreport, it is here that we set the
         //subreport name; if you are not passing a parameters to a subreport, the
         //report name will be an empty string
         setDiscreteParameterValue(oFields, "NumberParam", "SubreportA", numberValue);
        setDiscreteParameterValue(oFields, "StringParam", "SubreportA", stringValue);
        setDiscreteParameterValue(oFields, "BooleanParam", "SubreportA", booleanValue);
        setDiscreteParameterValue(oFields, "DateParam", "SubreportA", dateParamVal);
        setDiscreteParameterValue(oFields, "DateTimeParam", "SubreportA", dateTimeParamVal);
        setDiscreteParameterValue(oFields, "CurrencyParam", "SubreportA", currParamVal);
        setDiscreteParameterValue(oFields, "TimeParam", "SubreportA", timeParamVal);
        //Push Fields collection into session so it can be retrieved by the viewer and set
        //at view time.
        session.setAttribute("parameterFields", oFields); 
         //Redirect to the viewer page to render the report
         response.sendRedirect("CrystalReportViewer.jsp");
    catch(ReportSDKException sdkEx) {
         out.println(sdkEx);
    %>
    <%!
    * Utility function to set values for the discrete parameters in the report.  The report parameter value is set
    * and added to the Fields collection, which can then be passed to the viewer so that the user is not prompted
    * for parameter values. 
    private void setDiscreteParameterValue(Fields oFields, String paramName, String reportName, Object value) {
         //Create a ParameterField object for each field that you wish to set. 
        ParameterField oParameterField = new ParameterField();
        //You must set the report name.
        //Set the report name to an empty string if your report does not contain a
        //subreport; otherwise, the report name will be the name of the subreport
        oParameterField.setReportName(reportName);
        //Create a Values object and a ParameterFieldDiscreteValue object for each
        //object for each parameter field you wish to set.
        //If a ranged value is being set, a ParameterFieldRangeValue object should
        //be used instead of the discrete value object.
        Values oValues = new Values();
        ParameterFieldDiscreteValue oParameterFieldDiscreteValue = new ParameterFieldDiscreteValue();
        //Set the name of the parameter.  This must match the name of the parameter as defined in the
        //report.
        oParameterField.setName(paramName);
        oParameterFieldDiscreteValue.setValue(value);
        //Add the parameter field values to the Values collection object.
        oValues.add(oParameterFieldDiscreteValue);
        //Set the current Values collection for each parameter field.
        oParameterField.setCurrentValues(oValues);
        //Add parameter field to the Fields collection.  This object is then passed to the
        //viewer as the collection of parameter fields values set.
        oFields.add(oParameterField);
    %>
    Cheers

  • Export to excel in web with oracle forms 10g

    we have an application running on web with oracle 10g forms in windows server 2003. We use webutil to generate excel. But it is terribly slow when its is run on web. When run locally its fine...
    PLS suggest.....
    Thanks,
    Rekha

    CLIENt_OLE transfers lots of small packets over the network,that's what it makes slow. What you could do.... write your own javabean which uses jacob and "aggregates" the low-level OLE-commands to somehow logical commands like "writeValuetoCell"

  • Web enabling Oracle forms application

    Friends,
    I am developing an Oracle forms application using 6.0, I need to
    web enable this application and this is my first time working
    with 6.0, I need advise on how to web enable this application
    Thanks
    Olutunde
    null

    Try to go through the oracle developer and oracle developer
    server 6.0 reviewers' guide, this is spot on, and has
    instructions on how to set all html and environment variables,
    set up the OAS or whatever listener you are going to use, and
    then just walk through this setup.
    Try to get it to run the demo first, and then alter the html to
    fit your application.
    good luck,
    theo
    Olutunde Babarinsa (guest) wrote:
    : Friends,
    : I am developing an Oracle forms application using 6.0, I need
    to
    : web enable this application and this is my first time working
    : with 6.0, I need advise on how to web enable this application
    : Thanks
    : Olutunde
    null

  • Passing parameters to report from a form

    I have a form with a button that when pressed will call a report (using the run_product).
    How do I pass a parameter from the form to the report?
    Cathy

    Cathy,
    Run_product is obsolete and should be changed to run_report_object. See the forms online help for information about how to use this built-in including information about passing parameters.
    You can also look at the Headstart form qms0012f (and it's associated qms0012l.pll) to see how we use run_report_object.
    Regards,
    Lauri

  • Passing Parameter from Web Page to Form 6i

    Dear All,
    We are using 9i AS with Form 6i. I want to created a web page for user login and called my application By passing value
    window.open("http://hrtest/dev60cgi/ifcgi60.exe?form=login_form.fmx&width=1000&height=700&
    userid=logme/logme1@test","","width=1000,height=700,top=0,left=0,location=no,directories=no,
    status=no,menubar=no,toolbar=no,maximize=yes,resizable=yes")
    and it successfully run.
    I want to pass additional parameter to my login_form.fmx from web page like User Shift entered by user on logon ?
    Please help me out.
    Regards,
    Khurram

    I got the clue
    pass parameter in your UR
    as
    //hrtest/dev60cgi/ifcgi60.exe?form=LOGIN_FORM_Para.fmx&width=1000&height=700&userid=power/power1@hrtest&otherparams=PAKISTAN=ALLAH"
    Define a :PARAMETER.PAKISTAN on Form
    and write following trigger
    BEGIN
    if :PARAMETER.PAKISTAN = 'ALLAH' then
    message('ALLAH HO AKBAR');
    message('ALLAH HO AKBAR');
    message(:PARAMETER.PAKISTAN||' HO AKBAR');
    message(:PARAMETER.PAKISTAN||' HO AKBAR');
    else
    message('INSH'||:PARAMETER.PAKISTAN);
    message('INSH'||:PARAMETER.PAKISTAN);
    end if;
    END;
    Regards
    Khurram Altaf | Assistant Manager ERP
    Enterprise Resource Planning Department
    Kohinoor Textiles Mills Ltd
    Peshawar Road, Rawalpindi.
    +92.51.5473940-44 ext 250 | +92.333.5256626
    e-mail: [email protected] | web: www.kmlg.com

Maybe you are looking for

  • How to get the numeric value of DocTotal from UI API

    When I hit the ADD button I need to get the DocTotal from the UI API ! All I have is the EditText which gives it in string and the problem is to double.Parse it it's a pain to do it while there is CultureInfo related issue with it. So It would be wis

  • Payment block without the approval

    Hi Gurus, my users need to be shown a message as" <b>this payment is blocked due the non-approval"</b> during the payment of unapproval of quality check of material. Pls help me out, its urgent. Satya.

  • DDL Generation not working

    Hi all, for some strange reason the DDL generation has stopped working. See below. The physical model is definitely selected and also all the objects in it. Any suggestions? Thanks and regards, Garry -- Generated by Oracle SQL Developer Data Modeler

  • Error after savecommand

    After I save a page, everytime I get the erromessage : While executing onLoad in tempURL_afterSave.htm, the following JavaScript error(s) occurred : In file ""tempURL_afterSave"" : ReferenceError : afterSave is not defined What do I have to do to sol

  • Microsoft Word 2011 won't Open in Yosemite

    I have a problem with Word running under Yosemite. I have installed 14.4.5, reinstalled Office twice, and reinstalled the update. Excel and PowerPoint will run but Word still show me the word logo crashes and sends a report to Microsoft. Office setup