Page Item In all !!

I want to know if there are some way to know if discoverer execute the report with the page item in <all>?
My regards.

Hi user604420
Discoverer will execute the report regardless of what's in the Page items. Page items are not the same as a condition, in that, regardless of what you select for Page Items, all values will come back. Page Items only change what you see, not what's queried. A condition is the only way to limit what is selected in the query.
Hope that helps
Nate

Similar Messages

  • All in page items

    Hi,
    I created a report which contain a few page item. All the drop downs (page items) have more than one value. In one page item I can select <All> for all the values but in second page item drop down list, <All> is not present :( .
    Can somebody tell me how can I add <All> in the values present in the page item drop down if i want to select all the values???
    Regards,
    Usman

    Usman,
    I don't know if your situation is exactly like mine. I had a case where as a result of my worksheet conditions, I had a page item with only one value returned for it. When you only get one value returned, Discoverer does not make that "<All>" value available. I reported this to support and they dupllicated the issue and are working with development on a possible fix. In the meantime, there is a work around, if you can manage it. If you can somehow get more than one value to show up for the page item, you can then pick that <All> value. For example, I removed my conditions so that I could get multiple values for the page item. Once you pick that <All> value for the page item and save it, it will then stay available, even after reapplying your conditions to take you back to one value. Yep - surprised me to - if you can get it in there and pick it, it will stick around. So the trick is to be able to get at least one time multiple values for the page item, pick the <All>, save that selection, and you are good to go.
    So you really have the issue only if there is only 1 possible page item value today. That would be a pretty rare situation to have happen, but I guess it could.
    Hope this makes some sense.
    John Dickey

  • [AS CS3] Bug? All Page Items - grouped items w labels

    Can anyone confirm this behaviour for me. I would classify it as a bug, but maybe the logic for it not being a bug escapes me.
    The command "all page items" is supposed to return a (flat) list of every page object, right? I would suspect that I should be able to address any object in the list. But I can only seem to address an object when it's inside of a group.
    I am trying to get the text of a text frame that has a label. It may or may not be inside a group. I can certainly do a try/error block to try a script statement for objects in a group or not in a group. But I think that "all page items" should be able to handle it directly.
    Here's a test script: ------
    tell application "Adobe InDesign CS3"
    tell document 1
    get label of all page items
    set myUngrouped to contents of text frame "some label" --only works when objects ungrouped, this is expected
    set myText to (get contents of text frame "some label" of all page items)
    --both statements work ONLY when objects grouped
    set myText to (get contents of every page item of all page items whose label is "some label")
    end tell
    end tell
    Steps:
    Make a new document.
    Draw a text frame. Type some text into it.
    Label the frame "some label".
    Draw another empty graphic or text frame.
    Run script
    -->result is, myText statements error out. Why is this?
    Now group all items on page.
    Run script.
    -->result is, myUngrouped can't continue. This is expected.
    Comment out myUngrouped statement
    Run script.
    -->result is, myText statements work OK.

    On 19/8/08 1:14 AM, "SuperMacGuy" <[email protected]> wrote:<br /><br />> set myText to (get contents of every page item of all page items whose label<br />> is "some label") <br /><br />The syntax is a bit tricky. The key is that all page items returns a list,<br />so what you want is certain items -- not page items -- from that list. So:<br /><br />set myText to (every item of all page items whose label is "some label")<br /><br /><br />-- <br />Shane Stanley <[email protected]>

  • ALL option in page item

    hi,
    in my worksheet, some page items have <all> option (it is added automatically), but some of them haven't.
    i want to determine whether to show or not on MYSELF. How can i do it?
    tnx.

    Hi
    You're not doing anything wrong. The option <All> is added to a page item when the worksheet is a Crosstab. However, when the worksheet is a Table there is no <All> option just a list of the actual values.
    I agree with you that this is very annoying and frustrating and it has been this way ever since they added the <All> option. It is something that I wish Oracle would address before adding further new functionality.
    Regards
    Michael

  • Page items do not go into Excel when exporting

    We are using 10.1.2 viewer and plus (and I have the desktop version available). I have tried exporting a worksheet with page items using all 3 of the above and the page items will not go into excel. Is there any trick to get this to work? I thought that it used to work in older versions?
    thanks
    Angie

    Did you try the Export to Excel as Pivot Table option? That would create a base sheet with all the page items flattened out, a static sheet that looks like the worksheet at the time of the export, and an Excel Pivot Table where you can page through the page items.
    thanks
    Abhinav
    Oracle Business Intelligence Product Management
    BI - http://www.oracle.com/bi
    BI - http://www.oracle.com/technology/bi
    Blog - http://blogs.oracle.com/
    BI Blog - http://oraclebi.blogspot.com/

  • JQuery "setting all items to READONLY based on a page item" not working

    I am attempting to use jQuery to set all input fields to "readonly" if the question is in "locked" status (i.e., if P2_QUESTION_LOCKED page item is set to yes ("Y")). The following is the code that I placed in the page attributes (in the javascript section):
    if ($x('P2_QUESTION_LOCKED') )
       if ($x('P2_QUESTION_LOCKED') == 'Y')
           $(document).ready(
           function() {    $('input').attr('readonly','readonly'); });
       }It is not working. All input fields are available for input. I used Firefox 1.6 and Firebug and I have no errors. What am I missing?
    An example is set up in APEX.ORACLE.COM:
    Workspace: RGWORK
    Application: Financial Disclosure (Application 45806)
    User Name: TESTER
    Password: test123
    Run the application, and click on 'Update Current Year's' from the list.
    Robert
    http://apexjscss.blogspot.com
    PLEASE IGNORE THIS THREAD. A THREAD IS ALREADY OPEN. HAD A HICCUP WITH THE INTERNET.
    Robert
    Edited by: sect55 on Dec 12, 2010 3:11 PM

    Hi Robert,
    I have changed your code to
    if ($x('P2_QUESTION_LOCKED') )
       if ($v('P2_QUESTION_LOCKED') === 'Y')
            $('input').attr('readonly','readonly');
       }Especially the
    $x('P2_QUESTION_LOCKED') == 'Y'to
    $v('P2_QUESTION_LOCKED') === 'Y'I have also moved your code into "Execute when Page Loads".
    Couldn't try the code because I was not able to login, but I think the code should work.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Report Refresh on selecting All from Page Item

    Hi,
    I have a report that has the academic years as one of the page items. If we select the first entry '2004 - 2005' and then select 'All' from the page item, the data doesn't refresh.
    However if we go ahead and choose any other value, for example '2006-2007' or any other entry and then select 'All' the report does refresh normally.
    I've tried to search if this is a known bug, but I was unable to find any information. If any of you can help in this regard, reference to a known bug or if there's a workaround, please do let me know.
    Thanks a lot in advance

    Hi
    Do you get any errors messages?
    Best wishes
    Michael

  • [AS] Change Colour of  all page items on layer

    Hi
    I am trying to set up a script to change the colour of fill, stroke and text of page items on one layer, and having very little luck, what I have so far is below, as it stands I seem to only be creating the swatch, could I get a few pointers on how to do this correctly please?
    I have three attempts as below, which return pretty much the same result, nothing?
    (1)
    tell application "Adobe InDesign CS3"
    set myDocument to active document
    activate
    tell document 1
    try
    set _Swatch to make color with properties {name:"PANTONE Blue 072 U", color:spot, color value:{100, 88, 0, 5}, model:spot}
    set _NewColour to swatch "PANTONE Blue 072 U"
    set swatch _NewColour to every page item whose fill color is swatch "Black"
    set swatch _NewColour to every page item whose stroke color is swatch "Black"
    end try
    end tell
    end tell
    (2)
    tell application "Adobe InDesign CS3"
    set myDocument to active document
    activate
    tell document 1
    try
    set _Swatch to make color with properties {name:"PANTONE Blue 072 U", color:spot, color value:{100, 88, 0, 5}, model:spot}
    set _NewColour to swatch "PANTONE Blue 072 U"
    set _Colour to swatch "Black"
    set _Fill to every page item whose fill color is swatch "Black"
    set _Fill to _NewColour
    set _Stroked to every page item whose stroke color is swatch "Black"
    set _Stroked to _NewColour
    end try
    end tell
    end tell
    (3)
    tell application "Adobe InDesign CS3"
    set myDocument to active document
    activate
    tell document 1
    try
    set _Swatch to make color with properties {name:"PANTONE Blue 072 U", color:spot, color value:{100, 88, 0, 5}, model:spot}
    set _NewColour to swatch "PANTONE Blue 072 U"
    set _Colour to swatch "Black"
    set _Fill to every page item whose fill color is swatch "Black"
    set _Stroked to every page item whose stroke color is swatch "Black"
    set _All to _Fill & _Stroked
    set swatch of _All to swatch _NewColour
    end try
    end tell
    end tell
    Cheers
    Kev

    Try this:<br /><br />tell application "Adobe InDesign CS3"<br />    set myDocument to active document<br />    activate<br />    tell document 1<br />        try<br />            set theLayer to layer 1 -- or whatever<br />            set _Swatch to make color with properties {name:"PANTONE Blue<br />072 U", color:spot, color value:{100, 88, 0, 5}, model:spot}<br />            set _Colour to swatch "Black"<br />            set fill color of every item of all page items whose fill color<br />is _Colour and item layer is theLayer to _Swatch<br />            set stroke color of every item of all page items whose stroke<br />color is _Colour and item layer is theLayer to _Swatch<br />        end try<br />    end tell<br />end tell<br /><br />-- <br />Shane Stanley <[email protected]>

  • CASE vs DECODE - CASE with SUM and All in Page Item is non aggregable

    Hi,
    I'm using Discoverer 9.0.4.
    After switching calculations from DECODE to CASE
    I found out that case gives a non aggregable result when using a Page Item and selecting <All>.
    The calculations
    (SUM x) / (SUM y)
    or
    (x SUM) / (y SUM)
    where x and y are variables, work fine with page item <All>.
    But for example:
    CASE WHEN 1=2 THEN 1 ELSE (SUM x) / (SUM y) END
    gives non-aggregable.
    The same code works with DECODE:
    DECODE(1,2,1,(SUM x) / (SUM y))
    and is aggregable.
    Does anyone know a reason or a way to make it work with CASE?
    Thanks,
    Joao Noronha
    P.S.: I wanted <= comparisons and CASE is the best in simplicity,
    but now I know I can do it with DECODE, still looking ok using LEAST instead of ABS of the difference.

    Hi there
    I think therefore you have answered your own question and determined that using CASE in aggregations is not a good idea. I only threw out the two CASE options as ideas not as solutions, just in case (pardon the pun) one of these worked in your situation.
    Your comment I must say that if it worked it would give a wrong result (the sum of the divisions is not the same as the division of the sums) may give the wrong answer in your case but may be correct in others. It just depends how the items in the folder have been set up. I agree though that SUM(x) / SUM(y) will more often than not give the right answer.
    This discussion about DECODE vs CASE has been going on ever since Oracle introduced CASE as a means of placating a younger breed of user who needed an IF..THEN...ELSE construct and could not get their minds around the intricacies of DECODE. The DECODE is a much more reliable function than CASE because it has been around for a long time allowing Oracle plenty of opportunity to iron the bugs out of it. If I get a chance I will always use a DECODE whenever aggregations are required. However, when no aggregations are in use then I'll use CASE, simply because it's easier for users to work with.
    Unfortunately, users need to work with aggregations and so I don't see any alternative to Plus users having to learn DECODE. Whenever I teach Plus I always teach the users both CASE and DECODE but point out that DECODE has fewer issues that CASE. Oh, and talking of issues, try getting the THEN and ELSE components to return a different datatype. CASE has a fit and will not compile.
    Best wishes and glad you got your issue solved - you did right?
    Regards
    Michael

  • ALL in page item

    Hi,
    I am trying to make ALL to appear as the default on page items (i.e., after rearranging crosstab layout, I want the users to see ALL appearing in page items before they select from LOV). Thanks for your help.

    As you most likely know, Disco puts the <All> option in a LOV when you have a crosstab.
    Also, when you are using a simple table, it does not put the <All> option in LOVs.
    What I have done in the table version, is to create a LOV manually (via Disco Admin)
    ie:
    select 'North' dir from dual
    union
    select 'South' dir from dual
    union
    select 'West' dir from dual
    union
    select 'East' dir from dual
    You can also create an <All> option using this method.
    However, my users also wanted the <All> to be right at the top of the LOV, so I simply made sure it was called .<All> (ie: not the period first). This sorts to the top and they were happy.

  • Remove All from Page Item

    Hi!
    I 've a report that does't make sense to use a date with All in the Page Item.
    Can anybody tell me how can I remove <All> from the page item.
    Thanks a lot,
    Leila

    Hi Gianluca
    You are right because I did not understand. Now I do and thanks for explaining otherwise I would have continued down that path for years. :-)
    Ok, what you need to do is to create a new data type within your workbook, then more than likely in conjunction with one or more analytic functions, Discoverer will create the sub-totals and totals that you want.
    Here is an example that may show the principle:
    You can use calculations to create new data types within your worksheet. These new types only exist within the worksheet. You can apply sorts, totals and even base other calculations on these data types.
    Example Data Type:
    Let’s say we want to generate a new data type called Category, and this category has three values
         High
         Middle
         Low
    We want to analyze our sales and work out our top ranking customers, such that customers with:
         Sales > 9,000,000 are High
         Sales > 4,000,000 but < 9,000,000 are Middle
         Sales < 4,000,000 are Low
    Basic Requirement - Syntax:
    IF Sales > 9,000,000
    THEN HIGH
    ELSE IF Sales > 4,000,000
    THEN MIDDLE
    ELSE LOW
    Using a CASE statement, this translates into:
    CASE WHEN Sales > 9,000,000 THEN ‘High’
    WHEN Sales > 4,000,000 THEN ‘Middle’
    ELSE ‘Low’
    END
    Here's an example using DECODE:
    You have been asked to create a report that combines the sizes Small and Mini into a new category called Tiny so that we report
         Large
         Medium
         Tiny – combined Small and Mini
    Basic Syntax:
    IF Product Size = SMALL
    THEN Type = TINY
    ELSE IF Product Size = MINI
    THEN Type = TINY
    ELSE Type = Product Size
    Using a DECODE statement this translates into:
    DECODE (Size, ‘SMALL’, ‘TINY’, ‘MINI’, ‘TINY’, Size)
    Best wishes
    Michael

  • Removing all option in discovere desktop page item

    Hi,
    I want to remove the all option which appears in the oracle discovere desktop and oracle discoevere plus under the page item which you create a cross tab report.
    I am creating a cross table report in that i have a date in the page item it shows the <all> option also in the drop down of the page item. I do not want it to come there . how do i remove it from that place.
    Thanks

    Unfortunately you can't remove the <all> option from the page-items in a cross-tab. The only solution is creating a table-layout instead.

  • Listing (for further action) all page items that have a certain script label

    hello from France,
    Well the question is essentially in the subject line: how to find and work on all page items of a document (or a page/spread) that have the same script label (or better: whose script label contain the same word)?
    I tried some variations around something like that, with no results:
    set list_pageitems to every page item of page i whose label is "product"
    Any clues?
    Thanks for your help
    Vincent

    I found the answer (for those who might be interested), but still have a question (for those who know).
    The solution:
    set list_pageitems to page item "product" of page i
    If you want to do it for a whose document (in may case, deleting some page items):
    delete page item "product" of document 1
    Strange syntax but it works :-)
    The remaining question:
    How to find page items whose label contains a certain string: it would be like selecting page items by tags (every word of the script label would be considered as a tag)?
    Thanks

  • [JS][CS4] Remove all hidden page items?

    Hello,
    I'm trying to remove all hidden page items regardless of how many sublayers they are burried in. Is this possible? I wrote a snippet here that seems to only partly work. It removes all hidden page items unless two hidden items exist right after each other in the stacking order. Why would this be happening? Any suggestions?
    for (i=0; i<doc.pageItems.length; i++){
              if (doc.pageItems[i].hidden == true){
                   doc.pageItems[i].remove();
    I'm new to scripting so any help is greatly appreciated.
    Thanks!
    Lindsay

    What happens if you go from back to front? I think something like this
    #target illustrator
    var idoc = app.activeDocument;
    for (i = idoc.pageItems.length-1; i>=0; i--){
              if (idoc.pageItems[i].hidden == true){
                   idoc.pageItems[i].remove();
    Worked on a trial

  • Disable all page items except one

    Hi All,
    Can any one please help me with the code. I have created a page with report from a table which has 5 values. If any user want to edit a row, he can do that by clicking the edit icon next to the row then the page redirected to another page with has a tabular form i created where there are 5 page items with values. I want to disable all the page items and enable only one item.the user can modify only one item which enabled, rest of the page items must be disabled. How can i do that. I have to use java script or is there any provision in apex itself?please help me....
    Thanks In Advance
    Meena
    Edited by: 793914 on Oct 19, 2010 2:05 PM

    Meena,
    My apologies. 3.2 also allows you to set the Page Item to Display Only. I don't know why I was thinking that was new to 4.0!
    By disabled, I assume you just want the current value to display, which would be null for a new record? It's not that you want to hide the disabled values, right?

Maybe you are looking for