By the way the values and the process of PL/SQL call via a column binding

Hi all

I have a report and a link on one of the columns that you take you to another page and passes the data from the report to this page. Everything works well. In addition to picking up the details of the report, that I join the link to call a process page before it goes to the next page by using some of the values picked up in the report. This I can go to work by changing the link to a URL and put in some javascript that is to say javascript:doSubmit('TEST_PROCESS'); By doing this "Lose" the opportunity to pass the info according to the report, via the link.

Can someone give me a clue as to how I can achieve both please? I guess I need to create my own javascript function, but I don't know how to enter the information of a line in a report to send.

Concerning
Helen

Helen:

JavaScript works against the current page's HTML elements. Application parts are NOT HTML elements and can therefore be manipulated directly from Javascript.

CITY

Tags: Database

Similar Questions

  • Before the process of pl/sql header to assign values to the elements on the page

    How can I assign values to the elements of a page based on the data structure returned by a pl/sql procedure in the front header process? I think execution of a pl/sql procedure based on a URL parameter value and then assign values to the page elements. Is this really possible using Apex 4.0.2? If so, how can it be done?

    Thank you

    Salome

    The question is not really clear. What kind of "data structure returned by a procedure from pl/sql? Please be much more accurate.

    For a data structure of PL/SQL such as records containing 2 elements (x and there) returned as output parameter for a procedure to be assigned to 2 items p1_x and p1_ypage, all that is necessary in the header before process is something like

    declare
    ...
      l_rec rec_type;
    ...
    begin
    ...
      the_proc(..., p_out => l_rec, ...);
    
      :p1_x := l_rec.x;
      :p1_y := l_rec.y;
    ...
    end;
    
  • Subprocess relatively to the process of hand when called programmatically.

    Hello

    JDeveloper 11.1.1.6, WLS 10.3.6, BPM 11.1.1.6

    I have 2 steps A and B. A. I want to call B.
    I see 2 approaches to do this.

    Approach 1. Call the sub-process B a send and receive activities.
    If we do this way, when an instance of B is created, it is created as a child of the process a. (when he is seen in the EM Console)

    Approach 2. Use a Web Service call in the main process. Lets say it's a Java Web Service and we use the following API to call the process.
    IMS IInstanceManagementService is Fixture.getBPMServiceClient () .getInstanceManagementService ();.
    Task task = ims.createProcessInstanceTask (bpmContext, pms.getCompositeDN()+"/"+pms.getProcessName ());
    But I think it will be created in a separate process.

    So my Questions are the following.

    is a. in approach 2, possible to make the sub-process B as a child of a process?

    b. the sub-process B might have to be called several times in parallel, with some settings each time.
    I want to understand what is the best approach?
    Use method A to call her go a subprocess (loop) with parallel, Multi Instance and use table to pass parameters for each sub deal call?
    Or
    Use approach B?

    Thanks for any help
    Sameer

    Hi Sameer,

    Your send and receive events would be the better of the two options you listed. If the two processes are in the same composite project and send and receive events are used, there is less overhead to call the sub-process.

    Think you have alluded to this, but you will also keep the audit trail information if you take the first approach, not only in Enterprise Manager, but also in the workspace.

    Dan

  • JavaScript is not called by the process of PL/SQL

    Hello Experts

    I try to call a javascript function from pl/sql using htp.p process, but javascript does not get mentioned. In fact, my requirement is as follows:-

    I have a report with check boxes. I use apex_application.g_X01.count to loop through the boxes and check the values of the report. If all of the checkboxes are selected, then I want to show a confirmation box so that the user can confirm that they want to go ahead and do the follow-up actions.

    My Javascript function that I placed it in the HTML header and the Body attribute is:-

    function confirm_response()
    {
    var answer = confirm ("test", "Confirm");
    If (response)
    {
    $x('P1_FLAG').value = 'Y ';
    }

    }

    Looks like my pl/sql process, which currently is trying to evoke the javascript: -.

    Start
    IF apex_application.g_f01.count = < < a number > > THEN
    HTP. P ("< script type =" text/javascript"> ');
    HTP. P ('confirm_response()');
    HTP. P ("< /script >" ");
    IF: P1_FLAG = 'Y' THEN
    -Continue with follow-up actions
    ON THE OTHER
    -To get out the process of
    END IF;
    END IF;

    end;

    But when I run the present that it does not work. The confirmation box never appears.

    It does not even if I change the PL/SQL process as below: -.


    Start
    HTP. P ("< script type =" text/javascript"> ');
    HTP. P ('confirm_response()');
    HTP. P ("< /script >" ");
    end;

    Can someone please advice.

    Thank you

    Hello
    >
    It does not meet my needs because I want first of all check if all the boxes are ticked, then only run javascript.
    >

    So how count the boxes checked in JS is the question.

    Continuing to your operation code snippet, you have box f01.

    Modify the script in the HTML header to this

    
    

    See you soon,.

  • Generation of CSV via the process of PL/SQL

    I have a unique situation. I need to generate a CSV file, which is based on a query to use in a mail merge in MS Word, but I need to do so using PL/SQL instead of declaring exports due to the record-keeping requirements. Basically, I need to get all the query of a sudden lines I take a snapshot of the results at a time given in time, build my CSV to download, so I have to go back using the files I read to mark the records that were generated in the CSV file so that the generation of fusion file is documented. Any thoughts? So, I would avoid using the file system on the server running if possible as you build a page Web of PL/SQL procedure its self simply returns the file in the web browser. Any ideas?

    Hello

    I think this can be handled in a procedure. Consider the following:

    create or replace PROCEDURE "DOWNLOAD_EMPLOYEES"
    (
     ID in NUMBER
    )
    AS
      vLENGTH NUMBER;
      vDATA VARCHAR2(8000);
      vSEP VARCHAR2(1);
    BEGIN
      vSEP := CHR(10);
      vDATA := '"EMPNO","ENAME"' || vSEP;
      FOR C IN (SELECT EMPNO, ENAME FROM EMP ORDER BY ENAME)
      LOOP
        vDATA := vDATA || '"' || C.EMPNO || '","' || C.ENAME || '"' || vSEP;
      END LOOP;
      vLENGTH := LENGTH(vDATA);
      owa_util.mime_header('text/plain', FALSE);
      htp.p('Content-length: ' || vLENGTH);
      htp.p('Content-Disposition: attachment; filename="Employees.csv"');
      owa_util.http_header_close;
      htp.p(vDATA);
    END;
    

    Create in the SQL command window followed:

    GRANT EXECUTE ON DOWNLOAD_EMPLOYEES TO PUBLIC
    

    Then add an A tag on a page:

    <a href="#OWNER#.DOWNLOAD_EMPLOYEES?ID=1">Download</a>
    

    When you click the link, the procedure is executed, and a download comes into play.

    This is, of course, just for a download and is limited by the fact that I use a varchar2 (8000) - If you need a larger amount of data, you must switch to a CLOB.

    Now, as she uses a cursor (C), we can use this to insert records into a table of newspaper or anywhere where you want to store the fact that recording has been included in the download:

    FOR C IN...
    LOOP
    ...
    INSERT INTO LOG_TABLE VALUES (C.EMPNO, SYSDATE);
    END LOOP;
    

    Then, as it is a single transaction, if there is no error log entries are cancelled.

    Andy

    PS - I do not know if I did something wrong somewhere, but I couldn't make it work properly without using the parameter - where the ID

  • The process Bpel of JavaScript call

    Jin

    can we call a process BPEL of JavaScript can someone help me please



    http://hostname:8888/ORABPEL/test/getRODetails/1.0/getRODetails?WSDL

    for example the above wsdl is created through Jdeveloper here... my desire to developer UserInteface access the wsdl above from javascript

    the wsdl binding above have an input parameter... She asked me to send the parameter as

    http://hostname:8888/ORABPEL/test/getRODetails/1.0/getRODetails?WSDL & param = 'Bus%'

    Param = "Bus %" is the parameter in the wsdl binding


    can achieve us as above, I've specified

    You can call HTML form BPEL.

    Take a look at the blog: [http://blogs.oracle.com/reynolds/2005/09/invoking_bpel_from_an_html_for.html]

  • Apex 5 - pl/sql, before the process of the header

    Hi all

    I have a PL/SQL process before header which read a table (with a key of the application element) and many elements of the page linked to the (authorized) db with a procedure in a package.

    In version 4.2, I could use page elements related to the column of the source table ' only when null... ", to place this items with PL/SQL, before that process the header and then submit them to update the db.

    Now in version 5, db binded items must have source "Always, replacing everything..", so how can I set this value points at a meeting with the process of pl/sql?

    I tried with the apex_util.set_session_state, but it does not work.

    Is there a way to do this without the need for dynamic action?

    Thanks in advance for your suggestions.

    Robi

    Hi Robi,

    Robi says:

    I have a PL/SQL process before header which read a table (with a key of the application element) and many elements of the page linked to the (authorized) db with a procedure in a package.

    Do you mean 'Automated line Fetch' process usually generated in the type wizard forms?

    In version 4.2, I could use page elements related to the column of the source table ' only when null... ", to place this items with PL/SQL, before that process the header and then submit them to update the db.

    Now in version 5, db binded items must have source "Always, replacing everything..", so how can I set this value points at a meeting with the process of pl/sql?

    I tried with the apex_util.set_session_state, but it does not work.

    Yes. It is newly introduced in Oracle APEX 5.0 forced a Page mapped to the DB column element should have used Source as "Always, replace the value that exists in the session state.

    You can change the Compatibility Mode of the APEX Application 4.2 to substitute the constraint.

    Reference: base Oracle: APEX 5 Source - attribute tolerates less mistakes

    Is there a way to do this without the need for dynamic action?

    If you want to stick to Oracle APEX 5.0 (and not to change the Compatibility Mode), then dynamic actions is the rest of the solution.

    Kind regards

    Kiran

  • Can I replace reminder in the process template engine?

    I'm confused. I guess I can put the SequenceFilePostStep and SequenceFilePostStepRuntimeError callbacks in the process template I use and so replace this engine callback for my sequence of all the files that I run using this process template. What I actually see is that I should create these reminders of engine in each of my sequence files to make them work. Those of the process template is not called. Stack of calls that I have is - - . So, I would keep my engine in one place callbacks instead of many places .

    Hello

    If you want to maintain engine in one place callbacks instead of many places , use ProcessModelPostStep and ProcessModelPostStepRuntimeError in your sequence of process template file. These fires after each step of the sequence of client. TS reference manual table 10-1, "after the engine executes each step in any client.
    sequence of drop calls to process template and each step in calls to subsequence resulting.

    The equivalent of this would be to use the SequenceFilePostStep and reminders of SequenceFilePostStepRuntimeError in all of your files to the client's sequence. BTW if you want a global error handler you can use ProcessModelPostStepRuntimeError and SequenceFilePostStepRuntimeError in your process template. This document will include all the steps in the sequences of process model and the customer test sequences.

    I think that reminders of engine are turned on and off, as opposed to the alternative.

    CC

  • Complete the process with the API of the IOM.

    Hello

    I'm new to IOM then someone can help me regarding the following problem?

    I defined a procurement process (provisionAPP) who have a process task. This task will create a (case) ticket in our ticket handling system. (I did it with the Java adapter and it works very well).
    If the ticket is created successfully, the status of the task in process (provisionAPP) is going to be on "Waiting". ("It appears under" ' resources > > resources Provisioning profile Details ").

    I wrote a task scheduler to monitor the status of this ticket. If the ticket is closed, I have to change States of the process task (provisionAPP) to 'Set up' or 'done '.

    To change the status, I tried the following.

    Hashtable TaskHash = new Hashtable();
    taskHash.put ("process Instance.Task Details.Status", "Completed");
    tcProvOps.updateTask (tskID, taskHash); (tcProvOps is an Instance of tcProvisioningOperationsIntf)

    This works very well and will change the status to 'Complete', but the problem here is that it will run the process attached to the task of process (provisionAPP). So, it will create a ticket again. I didn't need this cos it is already running initially.

    I would like to know how to change the status of the process (provisionAPP) (-> say pending) configured via API IOM task without running the process attached to this task.


    It would be great if someone can help me?

    You must get the key of task and then instance using them, you can use the api complete manually. Set the job to the status of the object for MC map to put in service. You just need to get the key of task instance.

    -Kevin

  • increase the process in 10g

    Hello

    I often hit maximum process exceeded in my DB 10 g
    How can I increase the process?
    SQL> show parameter process
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    aq_tm_processes                      integer     0
    db_writer_processes                  integer     1
    gcs_server_processes                 integer     0
    job_queue_processes                  integer     4
    log_archive_max_processes            integer     2
    processes                            integer     40
    SQL> alter database set process=100 scope=spfile;
    alter database set process=100 scope=spfile
                       *
    ERROR at line 1:
    ORA-02231: missing or invalid option to ALTER DATABASE
    
    
    SQL> c/database/system
      1* alter system set process=100 scope=spfile
    SQL> /
    alter system set process=100 scope=spfile
                     *
    ERROR at line 1:
    ORA-02065: illegal option for ALTER SYSTEM
    Thank you very much

    Hello

    This is the process (process NOT).

    SQL> alter system set processes=100 scope=spfile;
    

    Kind regards
    Hussein

  • Conditional navigation based on the process page

    Hello
    I need a page to be redirected to another page based on a PL/SQL code. (ie), the landing page is determined by the process of PL/SQL. How can this be achieved?
    Kind regards
    Vignesh

    Vignesh salvation,

    Create a branch of type 'DIRECTION on FUNCTION RETURN PAGE' on your page.

    Sunil Bhatia

  • button with message of confirmation and process of PL/SQL

    HY!

    I need a button with a confirmation message ("really do you want... (' = > OK, cancel)

    If the user clicks "OK" the PL/SQL process should do an insert.

    For the button, I defined Action: "javascript:confirmSubmit('Would_you...?','RESUBMIT')."

    and in the header of the document I have:

    <script type="text/javascript">
    //<![CDATA[
    
    function confirmSubmit(msg,req){
        if(req==null){req='Submit'}
        var confSub = msg;
        if(confSub == null){
            confSub= confirm("Would you ...?");
        }else{
            confSub= confirm(msg);}
        if (confSub==true){doSubmit(req);}
    }
          
    //]]>
    </script>
    

    The process of PL/SQL does not work after pressing the button (I choose the right button to "When Button pressed").

    But the process works well, if I choose any State of the button.

    Why is it like that?

    And how can I get there?

    Hello

    How about using apex.confirm ( JavaScript API )? Then you can condition the process based on the REQUEST.

    Welcome.

  • difference of initial value of string between the steps in the process and an external instance of LabWindows/CVI

    Hello

    I'm curious to know what I see using TestStand, LabWindows/2013 2013 with regard to initial in TestStand string values when you perform the steps in the process or an external instance of LabWindows/CVI.

    I have a step (CVI) string value that is used to check an array of characters stored in an EEPROM to test.  I pass on the Step.Result.String in the CVI by reference.  I then read the table charater of the EEPROM in the chain (Step.Result.String).  The string is then compared against the limit as specified in the test step breast.

    When I run this test step to perform the steps in the process selected in the popup Configuration of the adapter of LabWindows/CVI, it seems that the memory allocated for the string is filled with null characters.  Which is what I expected.

    When I run this test step to execute the steps in an external instance of LabWindows/CVI iselected of the Configuration of the adapter of LabWindows/CVI popup, it seems that the memory allocated for the string is filled with something else.  That is not what I expected.  For example what I see in the memory, it's the first characher is one byte NULL but the remaining bytes are some other values, as shown below:

    F0 00 AD BA 0D F0 AD BA 0D F0 AD BA 0D AD BA 0D AD BA 0D BA 0D AD F0 F0 F0
    F0 AD BA 0D F0 AD BA 0D F0 AD BA 0D F0 AD 0D AD BA 0D AD BA 0D F0 F0 F0 BA...

    In my code I make sure to write a null character in the following location table charater I just write in the chain so I have no problem with the test is working properly.  I have remove the writing from my code null character and was able to verity that the test passes when executing the steps in the process and fails during execution of the steps in an external instance of LabWindows/CVI.

    The returned string contains what I wrote for her, and then the rest of the string is filled with the values that are in the memory allocated for the string.

    Here's my Question: is this the expected behavior for the original string values in TestStand between both types of stage performances?

    Thank you

    Chris Young

    In general teststand not Initializes the unused portion of the string buffer, so it is expected that the values of the memory after character no endpoint will be different, or even to each call. If you happen to be get zeros after the null terminator which was probably due to random character (i.e. the memory allocated just arrived already having zeros in there) or perhaps a debug setting you use perhaps in the Visual C runtime (if you are debugging the process in visual studio or modify visual C runtime heap parameter). TestStand is not initializaing memory after the null terminator character in both cases (I checked the code).

    -Doug

  • Regulator PID very slow to reach the value Point and zeros process Variable when it should not

    Hello

    I am using a PID controller to regulate the emission of a filament current in an ion gauge, but I'm running into several problems.

    The first and less important, are the controller of PID VI takes at least 5 minutes to get the current where it needs to be.  Is it possible to speed this up?

    The second and more important, are that the PID controller tends to zero the process variable before you start the process of getting the close process of the target value variable.  This can be seen in the attached VI: I write 5.8 volts voltage filament - something I did at the beginning to try to get the controller PID for the process close to the target faster - value variable but when the PID controller starts to do his thing, he kills the tension before anything, rather than rise of 5.8 V.

    The attached VI is a single which has these problems.  VI actual ion gauge controller I've written has the same problems, but in a form even more frustrating.  I have a while loop set up for the filament voltage to where it should be (using a PID controller) first and foremost, then a loop of data acquisition, which also includes a feedback loop in the form of a PID regulator to maintain the filament voltage.  When the second PID controller starts to run, it concentrates the tension that the earlier had set, taking another 5 + minutes to reach the point where we can take data and giving us 5 minutes of false data in the process!

    Does anyone know why PID controllers are behaving like this, and what can I do to fix/work with this behavior?

    Hello

    It seems that PID VI will always be 0 for the first iteration. You can, however, use the advanced PID VI and set up the first iteration in manual mode. After subsequent iterations, you could then define this automatic mode and there will be a transition smoothly. I think this will give you the desired behavior.

    -Zach

  • I am trying to reinstall vista on another laptop and when I get to the last step (end Installation...) it stops, about 70% of the way through. Now what? I tried to repeat the process about 6 times now!

    I am trying to reinstall vista on another laptop and when I get to the last step (end Installation...) it stops, about 70% of the way through.  Now what? I tried to repeat the process about 6 times now!

    Sorry for the confusion.  I must be useless to English.

    Forget the two laptops.
    I have a problem with a laptop that I tell you all (the Inspiron 1720).
    The disc that I use is labeled as a Windows Vista reinstall disk and provided with the computer when I bought it.  I'm not trying to use it on another computer.

    Reference Dell it is a problem with a process of recovery of Windows and, therefore, a problem of Microsoft.

    See you soon

    Problems with the Dell restore process, contact Dell.
    Dell wrote their recovery process and provided you with this DVD, NOT Microsoft...

    It is their software.

    Ask them for a different recovery DVDs.

    You say that the hard drive has failed.

    He could have more than just tough that failed.
    You can have other hardware issues.

    Hardware issues are beyond the scope of these Forums.

    Good luck with Dell.

    See you soon. Mick Murphy - Microsoft partner

Maybe you are looking for