How to Auto Submit a Page Process or Page in APEX ???

Hi All,
I have a requirement to auto submit a Page in my Application after a certain time interval.
When the page is submitted I need to call a PL/SQL process to insert data in base table.
Research Done so far: I tried achieving it by using "<PRE><meta http-equiv='refresh' content="20;f?p=&APP_ID.:15:&SESSION.::&DEBUG.::P15_TRY:R:" /></PRE>" in Page Header.
This tag does refresh the page but also clears the value of items on the page.
I have added a PL/SQL process that executes On-Load page header. This process does executes but by this time value of items on my page
is cleared, so no record gets inserted in table.
Ultimate issue is How to set the item values and Submit the page automatically at certain time interval.
Thanks in Advance,
Pushpendra Tomar

I think you should use a javascript setInterval() event to re-submit your page:
If you include something along these lines into your page's HTML header attribute:
<script>
  dtm_timeout = 300; // you need to specify the timeout in milliseconds
  setInterval('doSubmit("FOOBAR")',dtm_timeout);
</script>where "FOOBAR" is your request (i.e. replace with the appropriate value);
Edited by: JoelC on 25-Apr-2010 22:23
Whoops! missed out the quotes!

Similar Messages

  • Page process on page 0

    Hello,
    I want to call a plugin of type process from page 0. Is there a possibility to do this?
    (APEX 4.0.2)
    Thank you,
    Kirsten

    Hi Patrick,
    I use the plugin "(IR) Report to Excel (xlsx)" which I found in APEX-PLUGIN.com I did some adaptations to do the output on multiple sheets.
    I expanded the action menu of interactive reports by the point "Download to xlsx" (dynamic action on page 0).
    Everthing works great if I include the plugin on a page. The only problem is, as described above, that I don't want to include the plugin manually on every page.
    Now I try, as proposed, to put the code into a package but by now I wasn't successful.
    Best regards,
    Kirsten
    Edited by: Kirsten on 09.01.2013 01:53
    Edited by: Kirsten on 09.01.2013 01:55

  • Page processes and page items

    ignore this message
    Edited by: suni1 on Jan 15, 2010 12:45 PM

    The thing is the page item in page X gets it's value as a URL submission from a page X link, so the page item hasn't been evaluated yet in before header stage.

  • How to auto update a section on all pages.

    Hi,
    I have a section on the right hand side of a website I'm developing containing txt and it's controlled by CSS which also appears on all the other pages, so what I want to be able to do is when I add a new bit of text to it on one page it will auto update with the new txt on all the other pages to save me copying and pasting the same bit of txt on all the pages.
    Hope that made sense and hope someone can help.
    Thanks

    You can use Dreamweaver Templates or use serverside include.   (SSI)
    Using the template function within Dreamweaver is a good way to go if it's a small site . .
    For larger sites then serverside includes would be more practical and earlier for maintenance purposes.
    Templates:
    You create a master template page, you declare which areas will be the same for every page, (non-editable regions)  and then declare an area that will change on every page (the content area) , these are editable regions.
    Once you create the template and save it, you are then able to create 'child' pages from this template  - as many as you like  :-)  If you every need to make a change to the menu or the footer or the header, change it in the master template, save it and the changes will flow through to the child pages created from the template.
    Using DW Templates:
    http://www.adobe.com/devnet/dreamweaver/templates.html
    http://www.adobe.com/devnet/dreamweaver/articles/dw_templates.html
    The other option is to use Server Side Includes (SSI)
    A bit more about SSIs here:
    http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WSc78c5058ca073340dcda9110b1f 693f21-7b6ca.html
    http://bignosebird.com/ssi.shtml
    One major difference between using Templates and SSI?
    When you make a change to a template page, you will need to re-upload all the pages to the server that were changed - may become very tedious if it is a very large site.
    With using SSI, you make a change to one file and only have to upload the one file and all pages on the server will be update accordingly.
    When to use Templates, Library Items & SSIs -
    http://www.adobe.com/devnet/dreamweaver/articles/ssi_lbi_template.html
    Nadia
    Adobe® Community Expert : Dreamweaver
    Unique CSS Templates | Tutorials | SEO Articles
    http://www.DreamweaverResources.com
    Web Design & Development
    http://www.perrelink.com.au
    http://twitter.com/nadiap

  • Unable to see system process request page, process monitor page

    Hi all,
    We refreshed our test instance with prod recently. sysaudit and ddd audits were clean except for the following entries in sysaudit which i thought wasnt of much significance here.
    SEC-30) Role User table (ROLEXLATOPR) should be populated when new User Profiles (entries in PSOPRDEFN) are created
    sing User Profile component through PIA. The following User Profiles need to be fixed by simply opening and saving
    hem through PIA:
    per ID     Description
    OPP_PORTALADM     Common Portal Administrator
    OPP_PORTALMGR     Common Portal Manager
    OPP_USER     Common Portal User
    3 Total Rows
    On logging to the superuser VP1, am not able to see many pages, such as system process request, process monitor and also do not have access to user profile page.
    The upgcount was matched with prod instance and didnt find any issues there. For the same profile in prod, the user has access to all the above mentioned pages. In the cloned copy, no user has access to these pages.
    We checked the permission lists and roles attached. They are all in place as the same user is able to access the pages in prod instance.
    Could it be webprofile issue. We tried clearing the webserver and appserver cache and bouncing them. the webserver in use is websphere and OS is AIX.
    Appreciate any valuble feedback i can get on this.
    Thanks

    Here's just a thought.
    Do you know if it is a security problem or a portal problem? I mean is the issue just that the links for Process Monitor, etc. don't show up in the menu, or does it give you a not authorized message?
    Here's the thought:
    Try to hit these links by pasting them into your browser:
    http://localhost:80/psp/HR90DMO/EMPLOYEE/HRMS/c/PROCESS_SCHEDULER.PRCSMULTI.GBL
    http://localhost:80/psp/HR90DMO/EMPLOYEE/HRMS/c/PROCESSMONITOR.PROCESSMONITOR.GBL
    Make sure that you change:
    - "localhost" for your servername
    - "80" for your port
    - "HR90DMO" for your weblogic domain name
    If you can see the page, we need to look at your portal setup or portal security, maybe run Portal Security Sync. If you get an error message, can you post that message, and maybe we need to check the main security setup, etc.
    Hope that helps at least get a little further toward a solution.

  • Help is greatly needed with page processing in APEX

    hello everyone please could someone help me with a survey application that im working on . Basically i have  a page that has 5 different regions on it an each region has a LOV which has the following display values ( agree, strongly agree, disagree and strongly disagree)  then return values for these are 20 , 50 , 10 and 5 respectively and this is the select from statement to create the LOV below and the table used
    select EVAL_OPTION as display_value, FRM1_REG1 as return_value
    from REL_DIM_SC_TBL
    order by 1
    The LOVs work fine . However when i tried to insert the inputs from the users into another table by means of a page process im getting a error that i cant seem to resolve my tables are :
    REL_DIM_SC_TBL   -- where the display data for the LOV's come from
    REL_DIM_SC_IMP   -- is the table that where the values that the user has selected is stored
    The page items are set up as follows :
       Relationship Dimension Scoring
    JOE  Logout
    WELCOME
      so where you see welcome above is a text field above the regions where the LOV's are and used the select :app_user from dual ; to populate it because in order to insert the data select by the LOV's on the page there has to be an item with a primary key . Which is what i wanted was for the current user using the app to be inserted into the REL_DIM_SC_IMP table . But when i click the submit button i get an error
    below is the select of the automatic DML action i set up under page processing    
    Name
    Page:
    3 Relationship Dimension Scoring
    *Name (Value Required)
    Type:
    Automatic Row Processing (DML)
    Process Point
    *Sequence (Value Required)
    Process Point
    Run Process
    Source: Automatic Row Processing (DML)
    *Table Owner (Value Required)
    *Table Name (Value Required)
    *Item Containing Primary Key Column Value (Value Required)
    *Primary Key Column (Value Required)
    Item Containing Secondary Key Column Value
    Please guys i have been stuck with this for a long time any help at all will be greatly appreciated

    Hello Krunal thanks so much for your reply i did manage to sort out that error how ever there is an other one that im stuck with . Basical i have a table with 6 columns begin score1, score2, score3, score4, form_total, User_id
    What i want to do is create a trigger that adds the four  numeric columns into the form_total
    the trigger syntax i used was
    create or replace trigger "Score_Total_t1"
    AFTER
    insert on "Score_Total"
    for each row
    begin
    :NEW.USER_ID := ('APP_USER');
    :NEW.form_total := ('Score1' + 'Score2 '+ 'Score3' + 'Score4 ');
    end;
    However the :New.USER_ID works fine to input  the currrent user but im getting an error with :NEW.form_total
    Any ideas would be greatly appreciated
    thank you 

  • Parameter Passing between pages- process not picking up on changes

    Hello, new user, this is a different question than before.
    I have a drop-down list box on Page 1, upon which the user can choose a study number. The List Box is named "P1_STUDY_NBR".
    Then I have a list, one entry of which goes to my master-detail form, which is Page 6. I would like it to go to the study number that the user choose on Page 1.
    In my target on the create/edit list entry, I put in "Page in this Application", "Page 6", then in Set these items, I put in
    P6_STUDY_NBR
    My question is what to use in With these values, where I want the contents of the P1_STUDY_NBR. I tried:
    &P1_STUDY_NBR.
    Now I've got it passing to the master detail form, but it passes whatever was the first value! i.e, if I set the default of the drop-down list box to 336-00, then it opens the form with 336-00, and if I set the default on the drop-down list to 005-07, then it opens to 005-07.
    However, if I change the value in the drop-down list box to something else, then press the link in the list to go to the page, then it doesn't pass the new value like I want (it passes whatever was the default value).
    Is there something that accepts the new value into the variable upon the change in that drop-down list box that I need to add to my processes, or why won't it use the new value as the parameter?
    -Mary

    I'd recommend (re)reading "Understanding Page Processing and Page Rendering" in the Users Guide and then redesigning your page. The problem is that you change the study number list selection in the browser but the change never gets processed because a navigation list link doesn't submit the form, it only navigates away from it.
    You could try making the study number list type "Select List with Redirect" which processes the change so that the new selection value gets set to the session state and then returns to the same page.

  • Difference between processes in the page rendering and in page processing ?

    db11gxe and apex 4.0 ,
    hi all ,
    i am confused about the difference of the processes in these two columns , what is the diff ?
    the same "Select the category of the process you wish to create:"? there is no difference i can see ?
    so what is the diff again ?
    thanks

    Newbi_egy
    Yes. There are process types that are specific for the page processing or page submit phase and not the page rendering phase.
    Just as there are process type that are specific for page rendering and not for page submit.
    And there is even a process type that is specific for the user interaction phase. Namely the "Run On Demand Process"
    But I don't understand what there is to exclaim about
    1. to cry out or speak suddenly and vehemently, as in surprise, strong emotion, or protest.
    2. to cry out; say loudly or vehemently.
    (The American Heritage® Dictionary of the English Language, Fourth Edition copyright ©2000 by Houghton Mifflin Company. Updated in 2009. Published by Houghton Mifflin Company. All rights reserved.)
    I understand that it can be confusing at first. That you get the same wizard and the same options for process types no matter which process point you have chosen. But if you start building your pages using the wizard to create forms and reports. The process needed for those regions to work are automatically created. Showing you what the correct display point is for them.
    Nicolette

  • How to achieve SUBMIT for the current page when I click other tab?

    Problem: How to achieve SUBMIT for the current page when I click other tab?
    Description: I have a two-page application and each page associates with a tab. Say page1 associates tab1 and page2 associates tab2. In each page, I have a submit button, a after submit process associated to the submit button, and a tabular form. For page1, I fill out the fields and hit the button. The page1 will appear again and I can see the data I have insert. However, If I fill out the fields and click the tab2 (page 2) instead. when I come back to page1, the data I filled out are all gone. Is there any way in HTML DB to force the submit in the current page after you click other page. If use JavaScript, what is code looks like.
    Appreciate your time and your answer.
    Mike

    Scott,
    just for clarity, if I understood correctly what you said there are two possibilities:
    1) keep the standard tab branch and give up the possibility of validating page items. Below you can find an example of such cases.
    2) Replace the template substitution string and perform a "custom" button-like submit also adding a branch to the main page associated with the tab. Page items will be validated if the branch firing point is set after the validations.
    I couldn't find an example of the latter, but I found easily an example of the former:
    it's the "Report attributes", page 420 of app 4000.
    If you enter 'aaa' in the "Number of rows" form field and then you press "apply changes", htmldb correctly displays an inline error message saying that the value must be numeric. On the contrary, if you click on the "Region Definition" tab, htmldb takes you to a page showing an oracle exception:
    ORA-20001: Error in DML: p_rowid=4785927011172906402, p_alt_rowid=ID, p_rowid2=, p_alt_rowid2=. ORA-20001: Invalid numeric value aaa for column PLUG_QUERY_NUM_ROWS
    Bye,
    Flavio

  • How to enable auto submit true

    Hi to all
    How to set the auto submit true in adf, tel me process? and what happened it is true?
    What is parital trigger? where is is use?
    please help me ...
    bittu

    I would recommend you to go through the documentation.
    http://docs.oracle.com/cd/E16764_01/web.1111/b31973/af_ppr.htm
    -Arun

  • How can I call a Page Process from the Select statement for Report Page

    I'm able to call a javascript using the below:
    img src="#IMAGE_PREFIX#add2.gif" border="0" alt="Icon 4" onClick="javascript:add_connect1('||CPORT.ID||')"
    But Now,
    I'd like to accomplish (2) New things:
    1. instead of using,....... onClick="javascript:add_connect1,
    I'd like to call a Page Process, onClick=
    2. I'd like to be able to call two different processes onClick.
    a. onClick="javascript:passBack('||ID||')"
    b. onClick= <Please see my question #1 above>
    Can someone please help me with the syntax for this,
    If indeed it can even be done?
    Thanks- Gary

    Greg.
    It seems that my situation is the one you describe in you second paragraph, where you mention:
    you could then add the ID column value as a parameter to the javascript functionBut,
    I do not know how to reference the variable in my javascript nor how to use it in my on-demand process.
    If you can hellp me past this last little bump, then I think I will be able to use these skills in Sooo many different areas of my design.
    Here's what I've got so far:
    A. In the select statement I identify the javascript as:
    onClick="javascript:connect_port('<font color=blue>''||ID||''</font>')";
    B. In my javascript I have this:
    <script language="JavaScript" type="text/javascript">
    function connect_port(ID)
    var get = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=CONNECT_PORT',0);
    gReturn = get.get();
    get = null;
    </script>
    C. In my on demand function I have this:
    BEGIN
    INSERT INTO CCONNECTIONS_B
    BLDG_ID,CLST_ID,PORT_ID,STRAND_ID
    ) VALUES
    :P2004_BLDG_ID,:P2004_CLST_ID,:P2004_PORT_ID,:P2004_STRAND_ID1
    END;
    You can see that I dont know how to use the value for 'ID' in either the javascript or the On-Process function.
    If you can help me out with this one, Then I can imitate it for the rest.
    -Gary
    Edited by: garyNboston on Apr 3, 2009 6:44 AM
    Edited by: garyNboston on Apr 3, 2009 6:44 AM
    Edited by: garyNboston on Apr 3, 2009 6:45 AM
    Edited by: garyNboston on Apr 3, 2009 6:47 AM

  • How to get another page item value in page process.

    Hi all
    i have an after submit process on page 32 to insert into a table.
    and a page 34 where there is a region containing from page 32.
    when page 32 get submitted (process as well as) it contain no value for :P34_USER_ID although i am in page 34 and :P34_USER_ID item have value.
    after submit process on page 32 Type: PL/SQL anonymous block --> have code like...
    INSERT INTO LETTER_ATTACH (LETTER_ID,FILENAME,ATTACHMENT,MIMETYPE,UPDATE_DATE)
    SELECT :P34_USER_ID,:P32_FILE_INPUT,blob_content,mime_type,SYSDATE
    FROM wwv_flow_files
    WHERE NAME = :P32_FILE_INPUT;
    can't find anything wrong...!!?? :(
    please help me on this regards.
    Roman
    Edited by: user13416557 on Aug 27, 2011 1:48 PM

    Hi,
    When you are on page 32, check that there is value on page 34 item session state
    http://download.oracle.com/docs/cd/E23903_01/doc/doc.41/e21674/concept_ses.htm#sthref100
    Regards,
    Jari

  • My I phone 6 auto zoomed everything on my home page how do I fix this

    my I phone 6 auto zoomed everything on my home page how do I fix this

    If you are talking about your background wallpaper then its because the picture resolution is bigger than the screen resolution of your iPhone.  When setting your background wallpaper, you can choose a picture from your camera/presets and then you can drag it around on the screen until you have the desired cropped photo for your background.  If this is unacceptable then you would need to shrink the photo's resolution somehow, which is easy I think but I am not qualified to give you an explanation having never attempted.
    Justin

  • How can i submit the page periodically(scheduling)

    Hi ,
    I have created IR report by using sql query like..
    EG : select apex_application.checkbox(1,empno),ename,sal from emp;
    And i created SUBMIT button and in the process calling the procedure by using empno as a parameter.
    Here my requirement is that
    i open the page daily and checked some checkboxes and click on the submit button, procedure calling successfully..
    so, i want to submit the page for every one hour without opening the page by using scheduling in apex
    eg scheduling the concurrent program for every one hour..i want to run apex page for every one hour
    Is there any possibilities to schedule a apex page for every one hour..
    please anybody guide me to solve the problem
    Help would be greatly appreciate.
    Regards
    Narender B

    Hi,
    Thinking that you could submit page if it is not open is totally wrong.
    You need look to create background job to your database that run code similar you have on page process.
    http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_sched.htm#CIHHBGGI
    Maybe you convert your page process to database procedure so you can run it easily using e.g. DBMS_SCHEDULER or process from Apex page.
    Regards,
    Jari
    http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0

  • How i call Process (in page process)

    How i call Processes (in page processes) from validation (in page processes).
    i have validation name is 'err' and processes name is 'insert'.
    i try user 'call insert' and 'return insert' but cann't work please help me.
    Thank you for advance.
    mr.tk.

    Hi,
    When you create page process , wizard first page have option "On Demand".
    Select that and just follow wizard
    Br,Jari

Maybe you are looking for

  • Running Slow, Displaying information I can't find...

    I have a MacBook Pro and when I run any application it runs slow. At first I thought, 'It is almost full, I should clear it.' I did, about 30 gigs of it but it is still running incredibly slow. I've looked into About This Mac and it says there is 100

  • T520 with dual monitors won't save resolution settings

    I have a new T520 docked with a 4338 docking station.  I've connected 2 Lenovo L1940p LCD's to the dock using the 2 DVI ports.  In order to set the 2 LCD's to 1440 x 900 (their max resolution), I have to disconnect the 2 DVI cables from the dock and

  • ABAP runtime error / DDIC_STRUCLENG_INCONSISTENT

    Hi I got a ABAP runtime error DDIC_STRUCLENG_INCONSISTENT / short dump while creating a pricing condition record. The error is "accoring to the ABAP load, the structure should have been 1675 bytes long, according to information from ABAP dictionary a

  • Mac Mini Investment?

    Hi, I am wanting to get some input from others about the Mac Mini. I am thinking about purchasing the Mac Mini along with the 27" Thunderbolt. Use: I run an online e commerce site and I do a lot of designing and reporting on my products. I don't game

  • Adding speech marks into a string

    Hi! Is there a way to have speech marks displayed/present in a string? For example, if i wanted to write a line to a file which was enclosed in speech marks ("random gibberish") not only were the characters in the ring displayed, but the speech marks