Row filter on Interactive Report via URL parameter

Hi,
I've searched the forum but can't find a concise answer.
Is it possible to pass a parameter (p_X) from one page to another via the url and then use p_X to act as a row filter in an Interactive report?
Thanks for the help
Joel

Joel -
Read the link that Andy posted. It is a pretty good source. This topic is not really that difficult to do. I have done it several times. Make sure that you understand the URL syntax for APEX. If you need a refresher on this take a look at http://www.oracleapplicationexpress.com/tutorials/55
Austin

Similar Messages

  • Try to set filter in webtemplates (WAD) via URL

    Hi,
    I try to set filter via url. I have one report and create a view. This view is shown via webtemplate. Now I try to generate a url with special parameter to set some filter automatically. The normal view has all countries but now I need a view with Germany and another view with Austria. I want to create no other view for that I would modify the filter via URL parameter like ...?template_id=tempalte_1&land_bu=Germany.
    Greets, Thomas

    Hi Thomas,
    if you need information about 3.5 technologie go to sap.help.com and choose the help for SAP NetWeaver 2004 (without the 's').
    There you will find the information if you search with the string 'Command URLs' or try http://help.sap.com/saphelp_nw04/helpdata/en/1a/456a3badc1b315e10000000a114084/frameset.htm
    Regards
    Lars

  • Adding radio button to each row of an interactive report: possible or not?

    First of all let me explain what the point of this application is.
    I'm making an application that allows a user to select something out of a drop-down select list. This list is a list of categories for food. Let's say the user selects "Fruit".
    Then the page refreshes and shows an interactive report with a list of food that belongs to the category of fruit.
    Here's where I want to change things:
    I want the user to see the interactive report, but in this interactive report I want to add a radio button for each row.
    Then, when a certain type of food is selected (let's say "Strawberry") via the radio button, a text field should appear underneath the interactive report. In this textfield, the user can then add the weight of the food item, and then it will calculate how many carbs there are in the strawberry.
    All I really want to know is:*
    How do I add a radio button to each row of the interactive report, and how do I link this radio button to the value of that particular row?*
    Additional information:
    The item "P17_FOOD_CATEGORY" contains the following LOV:
    select FOODCATEGORYNAME as display_value, FOODCATEGORYID as return_value
    from FOODCATEGORY
    order by 1
    The "Food" region contains the following source:
    select a.FOODID, a.NAME, b.FOODCATEGORYNAME, c.STANDARDAMOUNT, c.NAME Unit
    from FOOD a inner join FOODCATEGORY b
    on a.FOODCATEGORYID = b.FOODCATEGORYID join FOODUNIT c
    on a.FOODID = c.FOODID
    where a.FOODCATEGORYID = :P17_SET_CATEGORY
    EDIT:
    PLEASE! Even if you don't know a good answer or if you are unsure about your answer, do post! Even suggestions would be welcome! I really need all the help I could get, even if it's not much.
    Edited by: 917169 on Feb 29, 2012 12:25 AM

    Hi there!
    I tried to change my code to your version, but then I get an error message:
    Error Unable to change Interactive Report query.
    ORA-12899: value too large for column "APEX_040100"."WWV_FLOW_WORKSHEET_COLUMNS"."DB_COLUMN_NAME" (actual: 32, maximum: 30)
    I don't quite know what this means. After doing a quick search on the internet, I know that this message should mean that the length of the value for the columns named "APEX_040100", "WWV_FLOW_WORKSHEET_COLUMNS" and "DB_COLUMN_NAME" is too long. But, I don't have these columns. I searched for them in my object browser, and they can't be found in any table related to my application.
    I'm sure your answer is the solution, but do you perhaps have an idea on how to solve this error? I checked the allowed maximum length for any column value that is related to my application, but they all have "50" set as the maximum value...
    Thank you for your reply. ;)

  • Automatically delete row data on interactive report

    Hi All,
    I would like to know it's possible to automatically delete row data on interactive report when the check box is checked.
    I'm appreciating if you all can share your opinion or solution.
    Thanks a lot in advance!
    Best regards,
    Liz

    Hi,
    Why you like have checkbox ?
    Is it more clear for user have image/button like my example ?
    This is just example you need modify according your needs. Example do not have confirmation dialog.
    Page HTML header
    <script>
    function delIRRow(p_pk_val){
    var a = new htmldb_Get(null,null,'APPLICATION_PROCESS=DELETE_ROW');
    a.addParam('x01',p_pk_val);
    var r=a.get();
    if(!r=='1'){alert('Delete operation failed!');}else{gReport.search('SEARCH');}
    </script>On Demand process DELETE_ROW
    BEGIN
    delete from your_table where pk_col = APEX_APPLICATION.G_x01;
    htp.p('1');
    EXCEPTION WHEN OTHERS THEN
    htp.p('0');
    END;Change your_table and pk_col according your table name and pk column name.
    Call javascript from image/button (IR column link) or checkbox, and send primary key value as parametter
    Br,Jari
    Edited by: jarola on Jul 5, 2010 11:58 AM

  • Run XML Publisher Report  via URL (like Oracle Reports)

    Hi All,
    Is it possible to run xml-publisher report via URL?
    In Oracle Reports works this fine:
    http://test:7777/reports/rwservlet?server=test_bihome1&report=test1.rdf&userid=test/testv@db&desformat=pdf&destype=cache
    We need this for public reports without user login.
    Thanks
    Thomas

    Thomas,
    I was waiting to get home before Tim replied... He got the better of me this time :-)
    You say you want to let your users run reports using XMLP just by clicking on an URL same way you do with reports and without having to login. If I got the question right and assuming that:
    1.Your company is not overly concerned on who runs what reports
    2.Who sees what data
    3.Your XMLP installation is on your intranet and firewalled from the outside
    What you can do is:
    On the main page of your XMLP Enterprise installation you should see a folder called "Guest". Any report you create under this folder is run as user "guest" which means you don't have to authenticate yourself as you would normally do.
    I have tested this on my home server and this is what I've done:
    1.Logged in as admin or any other user you've created with admin privileges created a report under the "Guest" folder.
    2.Copied the URL, on my server it is "http://samba.private.net:15101/xmlpserver/Guest/People/People.xdo"
    4.Logged off as admin and pasted the URL to a new browser window
    5.Hit return and Voila, my report runs without the need to login to XMLP.
    Hope this helps. Let us know how you got on.
    Cheers,
    Joao
    PS: If you want to see the report for yourself here's the URL from the outside: http://medeiros.homelinux.net:15101/xmlpserver/Guest/People/People.xdo
    I'll keep the link alive for a couple of days.

  • Printing a report via URL

    Hey,
    is there any chance to get a report printout via an url call? We can get our reports via url as pdf, html, rtf and so on. In my mind there is no chance for a printout or perhaps email via url?
    I tested the delivery API as second way without some good results.
    thanks for help and ideas

    Hi Gael,
    your URL is made up of :
    [ProcedureName]?[parameter1]=[value1]&[parameter2]=[value2]
    creating URLs like this can have problems especially with spaces and punctuation.
    the answer is a FORM
    the following will create a hidden form :
    FORM ACTION="[ProcedureName]" METHOD="POST" name="F1"
    INPUT type="HIDDEN" name="[parameter1]" value="[value1]"
    INPUT type="HIDDEN" name="[parameter2]" value="[value2]"
    /FORM
    you can set the values in the form using:
    document.F1.[parameter1].value="abc123%%&&$$!";
    document.F1.submit();
    will submit the form and the PL/SQL procedure should receive the text as it was contained in the form.
    the only characters that can now cause problems are :
    " as it delimits the field.
    ' as it may cause problems in PL/SQL.
    \ as it is a special character.
    Regards Michael

  • Freezing columns and rows in an Interactive Report

    version 3.2.1
    Hello,
    How can I freeze columns and/or rows in an Interactive Report so they don't scroll off the screen?
    Thanks,
    Joe

    In the header html, enter the following
    freeze(rownum=>1,degree=-100,scale=centigrade);

  • Search/Filter through Interactive Report!

    Hi All,
    First of all WISH a very Happy New Year-2010!!
    In my previous post for Search/Filter through Interactive Report!
    I am facing problem with UI as mentioned below can any one help me out on this, as this an urgent for me...
    At last i was able to was able to retrieve the data from Iframe using different logic!!
    But i want to modify some of the modifications in UI Design..
    As i have informed u that End user always selects the Page-85 which is visible to them..
    In that page(85) i have totally created three regions.
    1. Attribute Report(Intearctive report)
    2. Manage Attribute(HTML where i have give iframe syntax as {iframe ID="Attribute Report" src="" style="width:520;" FRAMEBORDER=0></iframe>
    3. Create/Edit Region
    FYI: There is a create button in Attrinbute Report and when i click on that Button then only i wil display the Create/Edit Region
    Now the problem is end user are using pixels as 1024*756 size, when i have tried to increase the size of width in iframe, the create/edit region is crossing and
    need to scroll down to check the data.
    Let us assume if i had reduced the size of width as default 520 then create/edit region is placed with in pixcels.
    As u know there is a button called as "GetResults" in page-85 when i clik on that button we will call the iframe which is a hidden page where end user
    can not view.
    The main problem is that in that page i mean page-45, it has desgined in such a way that it is similar to page-85 which is having with all 3 regions!!
    When it will display the report from iframe for that the scrolloing is displayed, and when i had click on create button in that iframe the credit/edit region is
    displayed but for that there to scroll down which is not happy by endsuer.
    In order to overcome this i had tried to increase the width in iframe which is working for one not for the other or viceversa.
    Suggestion: Can u suggest me how to fix the pixcels so that it will not excceds the pixecls size?
    What i had thought is in page-85 i have created totally 4 regions instead of 3 regions as shown below:
    1. Attribute Region
    2. manage Attribure(With Iframe)
    3. manage Attribute(With out iframe but used one hidden varibable ans set that hidden in condtional region)
    4. Create/Edit Region.
    And i am setting that hidden variable in Create button, so that i can call the second manage attribure with iframe.. When i have tried to use that it is throwing script error as "style is null or nor an object", i belive scince we are hidinng that region it migh not able to identify that style!!!
    Can u suggest me the way i have done i had implemenetd is sounds goods for u? Or else can u help me out how to fix that UI design issue...
    Thanks in advance,
    Anoo..                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi Andy,
    As per your suggestion i have created two pages!. One is 85 page and 45 page, but foe enduser can see only the 85 page.
    In 85 page i have created a interactive report as shown below:
    SELECT distinct attr_code "EDIT", attr_code, attr_description, attr_atcl_code,
    attr_abbreviation,
    attr_include_short_desc "Include short desc",
    attr_include_long_desc "Include long desc",
    attr_attr_type "AttrType", attr_code "DELETE"
    FROM t_append WHERE EXISTS (SELECT 1
    FROM APEX_APPLICATION_PAGE_IR_COND
    WHERE APPLICATION_ID = :APP_ID
    AND PAGE_ID = :APP_PAGE_ID
    AND CONDITION_ENABLED = 'Yes'
    AND APPLICATION_USER = :APP_USER) ORDER BY attr_description;
    In the same page itself i have created a One more region, where i have one select list and submit button, when there select fro the list and click on submit button then popup should fired, i mean what u have mentioned. For that i have created a new page called 45 where i have two regions one is HTML region and second is interactive report.
    I html region i have given like this in source
    <iframe src="f?p=&APP_ID.:85:&SESSION." style="width:500; height:1000;" FRAMEBORDER=0></iframe>
    but i am not able to see the template at all?
    Pls correct i way i have done is correct or not.
    Also i was not able to see the Region as - Popup one ( where i can see the popup option?)
    Thanks,
    Anoo..

  • Dynamically set maximum row count in Interactive Report

    Hi,
    Has anyone worked out a way of dynamically setting (e.g. via select list) the maximum row count value for an Interactive Report, taking into account issues with order by when the report is filtered. I'm aware of solutions like this: http://www.talkapex.com/2010/10/apex-reports-no-limit-downloads.html but as far as I can tell this doesn't work when the report is filtered and the IR is rewritten in the background. Data sets then become unreliable because they are reordered.
    Thanks,
    Mike

    Hi Mike,
    You can do that with javascript
    gReport.search('SEARCH',100)the 100 you can replace for any number you like.I have a report with filter,sorting and groups and it is gives no problem there.
    any number means any number but not higher than the number you set at Maximum Rows Per Page.
    You probably can mix the solution from Martin and the above code.
    Regards,
    Kees Vlek
    <tt>Company: http://www.orcado.nl
    Blog: http://www.orcado.nl/blog/blogger/listings/69-kvlek
    Twitter: http://www.twitter.com/skier66</tt>
    If the question is answered please change it to answered and mark the appropriate post as correct/helpfull.
    Edited by: kvlek on 24-apr-2013 12:29
    Edited by: kvlek on 24-apr-2013 12:35

  • Clear Filter on Interactive Report

    I created an application in Application Express 4.2.0.00.27.  Four of the pages have interactive reports.  I applied the filter to the report on page 46 to show only rows with LAST_NAME LIKE ‘%JONES%’ and the rows are filtered correctly.  When I navigate to the calling page 12 and then back to page 46 the filter is still in effect.  The clear cache on the calling page 12 is checked.  Is there a property of the page or report which will clear the filter on page 46? 

    See Linking to Interactive Report in the documentation.
    To reset an interactive report in a link, use the string "RIR" in the Clear-Cache section of a URL. This is equivalent to the end user choosing the Reset option from the interactive report actions menu on the target page. The report is returned to the default report settings specified by the developer or saved by the user.

  • Selecting a set of rows in an Interactive Report

    Hi,
    What I want to achieve is when a row is clicked in an interactive report that row (via a Primary Key/ROWID) is added to a list of IDs to be edited in one go, I will probably use a collection for this, although a colon delimited list might be quicker and/or easier. The two ways I thought of trying to achieve this was by bending the use of the Link Column and providing a Link to Custom Target or using a row selection technique described below.
    My initial thought was to make it a check box which then called some JavaScript/On demand process, similar to the one shown here. So far I've tricked it by making the image my check box and the link attributes being my function which returns false to stop the page redirecting when clicked. The problem is I can't seem to get the ROWID to appear, I've tried #ROWID# which simply puts that string as the input, so for example, my "image" is this: <input type="checkbox" value="#PK_ID#" name="f01"/>So, if I could get something meaningful in there instead of ROWID it would work a treat I think.
    The alternative method was to use a form of the row highlighting described in this Row Highlighting. The problem here seems to be that for an Interactive Report you cannot change the table row elements to add the onclick. Also when trying this (using Firefox to add the appropriate code to a TR element) it works, as in the function fires, but does not change the appearance of the rows. I lack the CSS/HTML skills to work out why so far.
    Worst case I can simply create a checkbox field in the query as per the example above, the only drawback is that the column might not always be available in the report if the user has hidden the column.
    Any ideas?
    Many thanks,
    Gareth.
    Edited by: gaz_stephens on Jan 16, 2009 12:09 PM

    Hi,
    If all of the records are displayed on the report in one go (that is, there is no pagination involved), then you can add the onclick after the table has been created. Add the following into the report's Region Footer setting:
    &lt;script type="text/javascript"&gt;
    function addEvents()
    var t = document.getElementById(gTable);
    var tRows = t.rows;
    var k;
    for (k = 1; k &lt; tRows.length; k++)
      tRows[k].onclick = function() {alert('Here');};
    addEvents();
    &lt;/script&gt;If pagination is involved, then any javascript will not be run when the next page is displayed. The alert('Here'); in the code would need to be replaced with some javascript functionality - probably calling a javascript function that works on the TR's "this" object reference.
    Andy

  • Dynamic Filter on Interactive Reports

    Great job guys on the new Interactive Reports feature of 3.1
    I can't express how much time this will save us in our development effort and how much real estate on the screen is saved by not having to create our own report filters.
    My question is this:
    Say you have defined a default filter that returns all rows that were created between 01-JAN-1999 and 31-DEC-2999 (all rows in our application)
    Is it possible the make the 2 dates dynamic in the filter i.e. I would like to default these to the start and end date of the current month?
    Thanks for any help or suggestions
    Duncs

    I think I may have found the answer using the "In the Last" operator
    Will post my solution once implemented
    Duncs

  • How to edit "Single Row View" in Interactive Reports?

    Hi,
    When using Interactive Report when one clicks on the little page icon on the left on a gievn row - one is presented with a small output from all columns for that row.
    For example login as demo/demo to:
    http://apex.oracle.com/pls/apex/f?p=12988:1
    And click on the first icon in the first row. You'll get an output like:
    Empno     7839
    Ename     KING
    Job     PRESIDENT
    Mgr     -
    Hiredate     17-NOV-81
    Sal     5000
    Comm     -
    Deptno     10
    How (and where) can I modify the output of this?
    Regards,
    Pawel.

    Thanks, for your responses.
    In fact this is what I have done. What I am looking after is simply how to modify what is already there. That way, I don't need to create different pages with Next/Previous buttons etc... for every Interactive Report I have.

  • Link to other pages of rows in APEX Interactive Report

    In my Interactive Report I would like to add a way to click on page results other than just clicking the > to advance to the next set of results.  I have my rows per page set to 15 by default and would like to keep it that way, but want a way to add links to page 4 or page 5 or page 10 as well.  Has anyone done that before, and if so ideas would be greatly appreciated.  I need to keep my rows per page to 15 because of parameters I send to another page, so increasing the rows per page is not an option. Thanks.

    Hi,
    The next button in your pagination fires a javascript function:
    gReport.navigate.paginate('pgR_min_row=16max_rows=15rows_fetched=15')
    You can create a page button or link containing that javascript function. Replace the number 16 by the rownumber you want to start your result set.
    Kind regards,
    Vincent Deelen

  • Total Rows returned in interactive report

    Hi
    I have an interactive report that displays a warning message if more than 200 rows are returned. Is there anything within APEX that tells me the exact number of rows returned in my report, or at the very least if my report has exceeded my 200 row limit?
    I have a button on my page that I only want to display if the number of rows returned in my query is <= 200.
    I know that I could use say NDS to execute my select statement in order to determine the number of rows as a seperate statement - but this seems a bit of over-kill.
    Many thanks
    Paul

    M Tajuddin wrote:
    Hi Paul,
    You can change the this from report attributes. Click on Edit page >> click on the Interactive report >> click on Report Attributes on the top >> down the bottom there is an option where you can change the row numbers and error message etc.
    Hope this helps,
    M Tajuddin
    http://tajuddin.whitepagesbd.com
    Hi
    I dont want to modify the number of rows returned. I just want to know how many rows are returned so that I can display or hide a button.
    Thanks
    Paul

Maybe you are looking for

  • HT4623 I keep getting error 21 when trying to restore and update my 4 day old iPhone 5?

    I try to update and restore my new iphone 5 becasue it is stuck in recovery mode but i come across error 21 message every time during restore. VERY FRUSTRATING as i only got this wonderful product 3 days ago!

  • Files created in DW with slices, how can I email the html files to someone

    Hello, I was wondering if someone could help me please? I created my first website in DW CS4. I used Illustrator to create it, added slices, then did the rest in DW. My site is not live yet - I have not yet uploaded the files to the web host. However

  • Live Type "effects" not present

    I've periodically loaded and unloaded the (2) Live type Media discs when my laptop has been low on space. Never had the problem about to describe before. I have my hard drive partioned into two drives: The hard drive and a Videostore (where I keep my

  • [svn:fx-trunk] 13079: Sparkskins is now built and linked by default as an RSL.

    Revision: 13079 Revision: 13079 Author:   [email protected] Date:     2009-12-17 14:39:35 -0800 (Thu, 17 Dec 2009) Log Message: Sparkskins is now built and linked by default as an RSL. This reduces the size of HelloWorld to 38k bytes. QE notes: None

  • Permissions

    Here is a summary of the permissions system the way I understand it. I hope it helps save anyone out there some of the time and trouble I've had to endure to understand Permissions. I) POSIX: Get info The 'Get Info' window is a user-friendly way to v