Pulling multiple regions

Carl:
Regarding your example at http://htmldb.oracle.com/pls/otn/f?p=11933:48
The report region is rendered on some hidden (i.e. not displayed) page and pulled into whatever region needs it using the htmldb_get object.
gReturn = get.get(null,'<htmldb:BOX_BODY>','</htmldb:BOX_BODY>');In this case, it extracts the fragment of that hidden page between those 2 markers.
If I need to pull more than 1 report region in this fashion, it seems inefficient to call get.get() again, it should be possible (?) to get all the page fragments using just 1 call.
Comments?
Thanks

Hello,
Just put your multiple regions within that tag anything within that tag will be pulled out as one big chunk.
Or if that doesn't work for you ,if your putting the returned regions in different spots or need to do more specialized formating, pull the whole page and parse the return string yourself to get whatever you need.
I would stay away from multiple calls to the same page for one interaction if you don't need to do them.
Carl
Message was edited by:
Carl Backstrom

Similar Messages

  • One save button, multiple regions question

    Hi. I have a question dealing with multiple regions in APEX 2.2. I would like to have a page with two regions. The top displays account transactions for the current period. Due to the nature of the application, there are a fixed number of transactions per period and all fit in one page.
    The bottom regions displays the ROI value for the current period. It pulls from a table that has exactly one row per period. The period is always the same for the top and bottom region.
    The current generation of the page shows the account transactions. The region was generated using the wizard and has a type of "SQL Query (updateable report)." As it, it works nicely.
    When we added the new region for the ROI, we used the wizard, too. The ROI region has the same type ("SQL Query (updateable report)." We have just one SAVE button on the page and it does the submit.
    The problem is that when we save, we get an error:
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process.
    If we delete the bottom region then we don't get this error.
    The fields that it shows are always from the top region, even if we're only updating the ROI. From what I understand, APEX thinks that the cached values have been updated in the database. Since we're testing on a dedicated box, I know that no one else is making updates. I've also seen this error when we've accidentally rearranged the order of the fields in the report query. I think that's not the case here since deleting the new region makes the page work as expected.
    My question is how can we get the two regions to work together on the same page?
    Thanks
    Mike

    Hi,
    When working with report regions only one could be updateable report. You need to delete the region that's not updatable and recreate it as an non-updateable report.
    If need to update another table use a process (PLSQL) called when your save button is pressed.
    Hope could help you.

  • How to edit multiple regions in one Piano Roll window

    I edit multiple regions in one Piano Roll window at the same time. (It is very handy way of editing especially in huge orchestra projects.)
    I can see midi contents of all selected regions in Piano Roll at the same time.
    1) But how to choose certain one region of many selected to edit it?
    2) And how to edit all at once?
    Hope the questions are clear enough.
    Thanks.
    Dmitriy.
    iMac (27-inch, Mid 2011) 2,7 GHz Intel Core i5. 16 GB 1333 MHz DDR3.
    OS X 10.10.2

    First of all, the Piano Roll has two mechansim, of what it is displaying.
    Selected Track: This displays all the Regions that you select in the Tracks Window
    One Track: Selecting one Region in the Track Area displays all the Regions of tha tTrack in the Piano Roll. If you select multiple Regions in the Tracks Window, then the last selected Regions counts.
    Whatever Regions are now displayed in the Piano Roll Editor can be edited. Select the MIDI Events and apply the command.
    You can also apply edits directly to the selected Regions in the Tracks Window.
    I explain all those little details in my graphically enhanced manuals ("Logic Pro X - How it Works")
    One thing to be clear about:
    Tracks Window: Any edit is applied to the selected Regions
    Piano Roll Editor: Ay edit is applied to the selected Events
    Hope that helps
    Edgar Rothermich
    http://DingDingMusic.com/Manuals/
    'I may receive some form of compensation, financial or otherwise, from my recommendation or link.'

  • Pull multiple excel files in a folder into a table.

    Hello,
    I am using the instructions available in the link below to pull multiple excel files in a folder into a table.
    http://stackoverflow.com/questions/6190578/how-to-import-excel-files-with-different-names-and-same-schema-into-database 
    The instructions use two variables FilePath & FolderPath which i would like to record into another table. I dont have coding experience and therefore i am stuck. I see the code above but i am unable to modify for my usage.
    Any help would be greatly appreciated.

    TopCat,
    If you wanna read the Filepath/FOlderpath values from a table int he database, use the Single row resultset option of Execute SQL task. That should help. refer:
    http://stackoverflow.com/questions/18828498/ssis-set-multiple-variables-via-a-single-sql-task
    http://technet.microsoft.com/en-us/library/cc280492.aspx (populating a variable with resultset section)
    For recording the path variable data to a table in database, use ExecuteSQL task to achieve the functionality again:
    Bind the variable data into  a sql variable : smthin like
    "INSERT INTO Data_Result(Result) VALUES ('"+@[USER::my_data]+"')"
    Then use this sql variable as the statement to be executed in execute sql task.
    Thanks,
    Jay
    <If the post was helpful mark as 'Helpful' and if the post answered your query, mark as 'Answered'>

  • Multiple Region PDF's

    I just finished installing BI Publisher and have successfully created pdf documents from reports. Now I have a page with multiple regions (4 to be exact). It seems that the printing options are on a region by region basis.
    Is there a way to print a whole page as a PDF?? Ideally, it would be like a 'printer friendly' report (without tabs etc.) but contain the entire page not just one region .

    Scott,
    There's no print-friendly PDF version of a page. So you're right, it's on a region by region basis. There are however report queries available under shared components. Those report queries allow you to use RTF based report layouts, which can include multiple regions, combinations of regions and charts, and you can include the values of you application and page items, if you want to display those values in your PDF as well (e.g. form values).
    You can find samples for RTF templates on the BI Publisher OTN site:
    http://www.oracle.com/technology/products/applications/publishing/index.html
    Regards,
    Marc

  • Any way to add multiple regions to a dialplan

    I want a single dial plan for my pool (which is centralied) but want to
    have multiple Dialin Conferencing régions. Any way to have 1 dial plan associated with multiple dialin conf régions ?

    Thx for the quick answer Kevin.
    However i don't want to assigned multiple regions to a dialin access number, i'd like to assign multiple regions to a dialplan.
    I want multiple regions with different numbers but do not want multiple dial plans.
    Question is:  1 dialplan = 1 dialin region only ??
    I think that my only option is to have a "north America" dialin region and assign my differant npa access numbers.

  • Matrix Editor & Multiple Regions: Moving Note Start Earlier Doesn't Work

    Hi,
    When viewing multiple regions in the Matrix editor, I can't move the start time of a note to the left (leaving the end position the same). This move works just fine when viewing a single region in Matrix.
    Funny thing is that although the note won't budge, the move is listed in the Undo History as "Undo Left Corner Change".
    Feels like a bug, but before I go there...
    Can anyone confirm this behavior? It would be great to know if it happens in 7.1.1 as well as 7.2.3.
    Best,
    -=iS=-

    MS,
    Thanks for correctly pronouncing my name! LOL!
    Wouldnt dragging the note or notes to an
    earlier starting place and lengthen the right hand
    side give you operation you wanted?
    Yes, indeed it would. But then I'd have to remember where the ending should be.
    Wait a second... (think, think, think...)
    Ah, yes, I could slice the note in two, leaving the end piece as a place marker, move the first piece backwards to where I want it to start, then glue the two pieces together.
    Good suggestion! Thanks for that. (DING! DING! DING!)
    -=iS=-

  • LPX bug: altering length of multiple regions unpredictable

    Selecting multiple regions and editing the length of the right corner (shortening them) sometimes changes the length of some regions but not all of them, oher times deletes a region altogether, in a random way.
    Sometimes it even works as expected.

    Hi
    The "content" div is styled to have 100px height and visible overflow. So the text is overflowing the div but the footer is  "unaware" / ingoring it and positions itself after "sidebar2"
    Change the height of "content" to 100% and it should work.
    Kind Regards,
    Alex

  • Set multiple Region Keys to one Region within Map component?

    Does anyone know if multiple region keys can be tied to one specific region within a Map component?
    Example -
    My data contains the following values that i'd use as Region Keys (these are codes in my table that stand for cities within Taiwan):
         1) TW/FJN
         2) TW/KSH
         3) TW/TWN
    On the China Map Component I can set a Region Key for Taiwan.  But is there a way to be able to set all 3 of the above listed values for a Taiwan Region key?  Or am I only allowed to enter 1 value?
    Here is a photo to help show what i'm talking about:
    [http://img195.imageshack.us/img195/8508/gdsagdsasd.jpg]

    Does anyone know if multiple region keys can be tied to one specific region within a Map component?
    Example -
    My data contains the following values that i'd use as Region Keys (these are codes in my table that stand for cities within Taiwan):
         1) TW/FJN
         2) TW/KSH
         3) TW/TWN
    On the China Map Component I can set a Region Key for Taiwan.  But is there a way to be able to set all 3 of the above listed values for a Taiwan Region key?  Or am I only allowed to enter 1 value?
    Here is a photo to help show what i'm talking about:
    [http://img195.imageshack.us/img195/8508/gdsagdsasd.jpg]

  • C309g-m pulling multiple blank sheets when printing

    I have a C309g-m that I bought last fall. Beginning several days ago (after a paper jam that I cleared), it has started pulling multiple blank sheets for each printed page. For example, today I printed one e-mail and one web page (both were single pages), and each was followed by 8 blank sheets. The sheets can be reused of course but something clearly isn't right.
    Could the jam have knocked something out of alignment?  What do I need to do to correct this?
    Update: has nobody else seen this behavior? HP support staff - please give me some suggestions and if they resolve the problem I'll post the results here.

    I have a C309g-m that I bought last fall. Beginning several days ago (after a paper jam that I cleared), it has started pulling multiple blank sheets for each printed page. For example, today I printed one e-mail and one web page (both were single pages), and each was followed by 8 blank sheets. The sheets can be reused of course but something clearly isn't right.
    Could the jam have knocked something out of alignment?  What do I need to do to correct this?
    Update: has nobody else seen this behavior? HP support staff - please give me some suggestions and if they resolve the problem I'll post the results here.

  • Multiple Regions as Single Report...

    Hi all,
    I am looking to incorporate multiple regions as a single report...
    Did a quick search in the forum ....i have seen some discussions on multiple reports in a single region....
    my sample application details are as below....
    http://apex.oracle.com/pls/otn/f?p=4500:1000:410975692726494
    workspace name : bi_development
    username: apexforum
    pwd : apexforum
    application name: multiple region in one report.
    Thanks in advance.

    Yes, you can do it.
    Take a look at http://xlspe.com

  • Multiple regions

    Hi
    If you have reports in multiple regions, Is it possible to print all the reports at once instead of indivdually in their respective region.
    Marco

    Hi Dimitri,
    I've done that on my OTN workspace app. I created the report query using "select empno, ename from emp order by 1". Did a page button and got the pdf as I would expect. I then went back and added a second query "select deptno, dname from dept order by 1", applied changes to save the query and again to save the report query. Went back to my page, and the pdf still only shows the emp report. Went back to the report query, the second select statement is definitely there but even the Test button only shows the emp query. Is there something else I need to do?
    Andy

  • Multiple regions on 1 page

    I know that I can only have 1 Tabular Form on a page.
    I know that I can have multiple regions on a page.
    Can I have multiple HTML regions on the same page, with Text Fields?
    And, if so, do I need separate submit buttons for each region???
    Thank you -
    Marion

    Marion:
    Can I have multiple HTML regions on the same page, with Text Fields?Yes, you can. However,you are not allowed to submit more than 100 page-items.
    And, if so, do I need separate submit buttons for each region???All page items regardless of what region they are on are submitted on the submit action. Hence one 'Submit' button will suffice.
    varad

  • CURSOR across multiple Regions

    Hello,
    I have a page that I need to display around 300 fields with custom html mixed in. Instead of creating all the page items, I want to just creat a CURSOR and use htp.print. My problem is that its a LOT of code. I want to break it apart across multiple regions. Is their a way to OPEN a cursor so that multiple regions can use it?
    Or, back to the PHP days, is their an ARRAY that this can be loaded into and printed like a cursor when needed?

    Is their a way to OPEN a cursor so that multiple regions can use it?You can have a process run before all regions to insert records into a collection(by a package call or PLSQL region).
    Then refer to this collection in your regions(s)
    <li>If you want to separte or split the content across, multiple "regions" , you cab generate them in the same PLSQL code that you posted.
    For instance, you have a single PLSQL based region without any template which generate the HTML code that renders like multiple region.
    In the Source, you can generate the HTML code for the region(s) in addition to printing out the data.
    An Apex region normally consists of div or table elements given some styling using builtin classes(and matching the theme). So if you generate the same HTML, it would render the same as a region.You can copy the HTML content of any region template(or from the rendered page) and add that within the "htp.p" codes.
    <li> A third option would be to generate the enclose different sections of your data in some identifiable HTML element and use Javascript to move them under the appropriate region.
    Having said this, I have to agree with replies above,there could be a better way of displaying your data than generating the entire HTML yourself.Since you say about using a cursor, I guess multiple SQL reports regions would be a good starting point as they are used for displaying lots of records. You could tweak the look'n'feel with some kind of customized template, rather that redo the whole thing yourself.

  • Pull Multiple reports for smartview in excel

    Hello,
    I am very new at VBA and smartview. I was hoping if someone knows of a way to open multiple reports from smartview into excel using VBA. I believe smartview itself does not allow to open multiple reports because of POV settings. Thanks for the help in advance.

    Thank you both Matt and Glenn,
    I am talking about automating a way to pull multiple financial reports in excel. At first I was running into an issue where some of my reports that I pulled from Reporting and anlysis framework, they would not open in the proper excel workbook and it would break the link so I would not be able to refresh. Next time I would have to reopen all the reports, that's why I was hoping there would be a VBA code to automated pulling multiple financial reports (not grids). I hope I am making sense. Thanks for the help.

Maybe you are looking for

  • Sample Code for CRM enhancement in BADI

    hi,   can anybody please give me sample code for BADI for CRM enhancement. i have added couple of z field in a extract structure. now i have to write code in BADI to populate those fields. please do not send code for user exit. Regards Subrata

  • Move element in array individually

     Hello  I'm trying to make a vi that could move individual element in an array   What I did was, I have a pict ring in an array so that I can have as many picture that I need  But the problem is, if I want to move the picture, I'll end up moving the

  • I bought an iphone 5c...

    i bought an iphone 5c on ebay and when i tried to activate it, it said i needed to sign into an icloud account that i do not know, is there a way i can fix that?

  • Apply patch on Vision demo

    Hi, Is this good practice to upgrade vision demo to 12.1.3 from 12.1.1? If not y? Thanks

  • Theres no effects in effects tab at the top

    There arent any effects in the effect tab at the top of affter effects it just has matte,last effect,remove effect and effect controls.