limit the number of query results for content Presenter CMIS

Hi dear,

I have a problem. I added content present on my page in Jdev ide, not at run time. And I need a query including the limitation of the number of results.

My query is: ${' SELECT * from ora: t:IDC:GlobalProfile WHERE the ora: p:xRegionDefinition =-"CSGMNEWS_REGDEF\" ORDER BY ora: p:dInDate DESC'}


I just want to add a number parameter.

Can you help me please? How can I limit the number of results?

Kind regards

Yacouba

Published by: erdo on 21.Mar.2013 18:37

Hello.

Content Presenter has a setting (maxResults) to set the maximum returned results:

Sample:

xmlns = "http://xmlns.oracle.com/adf/controller/binding" Refresh 'ifNeeded' = >







When you add your CP to a page at design time, you can access the pageDefinition and provide more values for attributes of CP.

I hope this help you.

Kind regards.

Tags: Fusion Middleware

Similar Questions

  • Limit the number of results when searching for users?

    Hi all.

    The following rule works very well:
      <invoke name='toList'>
        <invoke name='listObjects'>
          <ref>context</ref>
          <s>User</s>
          <map>
            <s>conditions</s>
            <list>
              <new class='com.waveset.object.AttributeCondition'>
                <s>DEFERREDTASKDATE</s>
                <s>notPresent</s>
                <s></s>
              </new>
            </list>
          </map>
        </invoke>
        <s>name</s>
      </invoke>
    But in the production environment, we want to limit the number of results to a manageable level, say 200 users. I tried resultLimit and LignesMax in the stock option plan, but nothing helped.
    Pointers to help me in the right direction?

    Best regards
    Stefan

    The JavaDoc for AttributeCondition does not list these operators or conditions.

    You will need to add conditions to your query that limits the response by other means.

    I don't know what your user name looks like, but for us, we have an ID for each account that you could put limits to

    i.e.

    UserID > current_place and userid< current_place="" +="">

    that, if the user name is a number, would limit the answer to a maximum of limit, but if no user is in the meantime it would obviously be zero.

    the alternative is to create your own rule to query the repository on your own and use the resulting data to browse normal calls.
    It's a bit heavy if you use attributes that are not available at hand, only existing in the xml BLOB

    I also think that you could make your own javaclass and do the same thing, but I'm just not proficent in java as to who try here: P

  • Limit the number of CMIS query results

    Hello
    Can we limit the number of CMIS query results
    my query is
    SELECT * from ora: t:IDC:GlobalProfile WHERE the ora: p:xRegionDefinition AS \'ALERTRD\'
    I want only newer 2 alerts to display.

    Thank you

    You use the CMIS query in a workflow of presenter content in WebCenter Portal? These documents provide a maxResults parameter to set.

  • How to limit the number of rows returned in a query

    Hi friends,
    I want to limit the number of rows returned by my request to some 10 lines. How to do this. When I try to make some 6 rows with the rownum < 10 its giving results for a particular Department and that too only... btw I'm bundling my table and includes much a table joins and will order the results of the table by a column... How to do this...

    Run it:

    select * from (your query goes here) where rownum < 10
    

    Nicolas.

  • How can I limit the number of connections to my PC for an incoming connection at a time. Multiple users are connected to my computer via the network.

    original title: limit incoming connections

    I want to restrict the number of connections to my pc for an incoming connection at a time.  I have several users that connect to my computer, using the same user name & password.  If someone tries to open a session, they fall out of someone who is already connected, without notice. the only solution I can think of is to limit the number of incoming connections to one.

    Hi willard.

    Your question is more complex that most seem to be on the answers. I suggest that you re-post on our TechNetforums where computer professionals can help you.

    http://social.technet.Microsoft.com/forums/en-us/categories/

    I hope this helps.

  • Limit the number of rows retrieved

    We have the need to limit the number of rows retrieved in a table for some users.

    We tried to put this by adding a policy that limits the number of rows. Here is the code:


    create or replace function
    usu01_access_policy
    (obj_schema varchar2, obj_name varchar2) return varchar2
    is
    d_predicate varchar2 (2000);
    Start
    If the user = "PEPE01" then
    d_predicate: =.
    "rownum < 11';
    on the other
    d_predicate: =.
    ' 1 = 1' ;
    end if;
    Return d_predicate;
    end;

    This code works well when you query the table like this:

    Select * from usu01;

    the number of rows retrieved is 10.

    But when we define a clause 'where' the query does clause 10 recovered lines before, getting only the lines of the first 10 with the condition 'where' = true.

    Is there a way to limit the number of retrieved rows from a table, but by first applying the 'where' clause to the whole table and later the ' rownum < limit ' condition?

    Thank you

    Why do you limit the number of lines of output? It is a customer number, not a database problem, I would say.
    Which should be resolved within the query itself. Using rownum without orderly subquery also return different results on each run.
    Take a look here for top - N query: http://www.oracle.com/technetwork/issue-archive/2007/07-jan/o17asktom-093877.html

    Nicolas.

  • Limit the number of lines A map can use

    Hello

    I try to use the "world/world_wo_gr.amap" card, but I'm having a problem for the page to load.

    When I assign a value to each countty map does not load, but when I reduce the number i.e. to countires starting with A or B or C, then the page load very well. Is there a limit on the number of rows that a card can process?

    I have a table with contains the country and dial code and I am just by selecting in that it contains 237 lines.

    This card works

    SELECT NULL LINK, COUNTRY LABEL, c_desc
    FROM (select the country "Country Code - ' |") ISO_COUNTRY_CODES |', dial the Code - ' | COUNTRY_CODE CC_INFO c_desc
    where substr (country, 1, 1) in ('A', 'B', 'C'))

    http://Apex.Oracle.com/pls/Apex/f?p=16335:4



    but this map fails to load completely

    SELECT NULL LINK, COUNTRY LABEL, c_desc
    FROM (select the country "Country Code - ' |") ISO_COUNTRY_CODES |', dial the Code - ' | COUNTRY_CODE CC_INFO c_desc)

    http://Apex.Oracle.com/pls/Apex/f?p=16335:6




    Any ideas?

    Hi Andy,.

    You have reached a limit that has been put in APEX 4.0 on the maximum number of rows retrieved for a query of card. That limit was not enough high for examples like the one you reported, where the result set could potentially return 200 + folders for all points on the selected card. This limit has been removed in the APEX 4.0.1 and you will now be able to retrieve the complete set of results for your card. By default, the lines in the map Wizard max will be now set to 300, but that can be changed on the page "Query" in the wizard, or on the page of the map, as for the chart series. Sorry for the inconvenience, Andy, but the solution will be available in our next version 4.0.1 patch APEX.

    Kind regards
    Hilary

  • Is it possible to limit the number of connections to the remote panel to a vi?

    Hello

    I have an application that runs on a PXI RT system and I use the remote control to access. My license allows me to have several remote connections and it's ok that I sometimes need to open several remote panels at the same time.  However, I would like to limit the number of connections for a particular VI 1.  Is this something that can be done?

    Kind regards

    Patrick Lessnick

    The way it can be done is to interview customers who are connected to the VI through a remote façade.  When you do that, you close the connection to anyone, but the first person who connected to the façade.  In this way, if someone is running the VI, no one else can connect.  Once they are made, someone else can then connect to the remote façade.  I created an example illistrates community this behavior.  You can find it here:

    http://decibel.NI.com/content/docs/doc-9673

    If you have any other questions, let me know.

    Scott

  • Is it possible to limit the number of windows that can be opened?

    Original title: options in window 7

    I have an autistic son who likes to play on the internet (usually from sesame street, Barney and AFV videos on you tube).  The problem I have is that it will sometimes open many windows which eventually slows down the computer and results in me having to close the windows as well as his frustration.  Is it possible to limit the number of windows that can be opened?

    Hi Brian,.

    Thanks for posting your question in the Microsoft Community. It seems that you need more information to improve the performance of your computer.

    With the current configuration of Windows, there is no option to limit the number of windows that can be opened. You can search the 3rd application using your favorite search engine, which helps you to limit the number of windows that can be opened.

    Warning: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Link reference for more information.

    8.1 Windows, Windows 8 or Windows 7 crashes or freezes.

    http://support.Microsoft.com/kb/2681286/en-us

    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    I hope this helps. Please let us know if you need assistance.

  • Classic report limit the number of rows displayed

    Hi all

    In my application, I have a classic report that displays data from a simple query. For layout reasons, I want to limit the number of display 5 instead of the default value 15. I looked in several forums and they told me that I have to set the number of lines in the report attributes.

    But it doesn't have what I want. I'm using APEX 4.1.0 on Oracle 11 G database

    My question is: How can I limit the maximum number of lines in a classic SQL report.

    Hamertje16 wrote:
    I tried already to 5 the number of lines and number of lines (point).

    Do not set anything in number of lines (point). This is used to identify an element of the page containing the number of lines to allow users to control it. Remove * 5 * from here.

  • Limit the number of devices

    Hello

    I would like to ask if it is possible to limit the number of devices on which ebook could be read. For example, our client is a school with 20 PC and an AdobeID. Is it somehow possible to limit the number of devices to 20? In the console "Admin" there is only "A Single Device" yes/no limitation.

    Thank you

    Dušan

    No, you have a choice of licenses for the content of the device (and one user), or only content to the user of the license.  If allow you the user, they can read the content on all of the machines that they have authorized (the approximate limit is 6 computers and handheld devices 6, but it grows slightly over time to take account of computers/devices lost/updated).

  • Can I limit the number of lines of text entered into a TextArea?

    Hello

    I use Flex Builder 2 to create an application that allows users to enter text in different TextAreas and eventually create a PDF file with their different text. My only problem is that I can't limit the number of lines of text used in each text box. I can limit characters by using maxChar, but this does not take into account a user entering multiple presses "return" - this does not affect the character limit, but can result in the final PDF layout (spitting the text on page 2).

    Is there a way to keep track and limit the number of lines of text in a text box (in Flex 2)?

    (Ideally I won't disable the ability for users to use the 'back' button to create several paragraphs)

    Any help would be appreciated.

    Thank you

    Ben.

    Hello

    Try this code.

    import

     

    flash.events.KeyboardEvent;

    Import flash.events.TextEvent;

    Import mx.controls.TextArea;

    public class LimitedLinesTextArea extends TextArea {}

    private var numLinesAllowed:int = 0;

    private var moreCharsAllowed:Boolean = true;

    public function LimitedLinesTextArea():void

    {

    this.addEventListener (flash.events.TextEvent.TEXT_INPUT, textInputHandler);

    }

    override protected function keyDownHandler(event:KeyboardEvent):void

    {

    if (this. textField.numLines > numLinesAllowed)

    moreCharsAllowed =

    fake;

    on the other

    moreCharsAllowed =

    true;

    Super.keyDownHandler (event);

    }

    private function textInputHandler(event:TextEvent):void

    {

    If

    (! moreCharsAllowed)

    Event.preventDefault ();

    }

    public function the value numberofLines(value:int):void

    {

    numLinesAllowed = value;

    }

    }

  • Need to limit the number of columns

    When a tab in the last cell of the row, I want the cursor to the next line down. Instead, it creates a new useless column. Can't seem to find a setting that allows me to limit the number of columns in a page - someone ' one knows how to do this?

    Thanks for your wisdom shared, Oh wise Ones.

    I'm not aware of do what you want.  You can post your comments directly to Apple using the menu item "numbers > provide Feedback numbers.

    You can still use the key combinations:

    < command > + < right arrow > to access at the end of a line

    < command > + < left arrow > to move to the beginning of a line

    < command > + < down > to pass at the end of a column

    < command > + < arrow > to move to the beginning of a column

  • How can I limit the number of attempts to print a web page

    I am trying to find a solution to a problem on our network.
    We run several kiosk machines that allow customers to print documents and web pages. However, we find that we are wasting a lot of ink because of the user frequently sending the same print job on the printer.
    Yesterday we had someone print more than 70 pages, because they just keep clicking on print.
    I tried looking for an add-on that would solve this but was not able to find one.
    My question is this, is there an internal setting that can be changed in firefox to limit the number of prints is trying to say once every 30 seconds, or even a way to make a dialog box turns on screen saying that the print request is currently dealing and does nor print before completing the task at hand.

    Sorry, there no setting in Firefox to avoid that from happening. Once the user sees the "native print dialog" box (which is seen when you Ctrl + P for print), the operating system and the printer drivers are here.

    I saw something similar to that on kiosk / PC rental stores Office of FedEx, which inform the user of the cost per page, the user wants to send to a printer, and when the user click again to the same pages again, he asked if you want to spend another $x.xx to print a second copy. Would not too different to simply cut the printing of multiple copies of the same document and warn the user of this action.

    My advice is to discuss it with anyone who put in place these kiosks to be with.

  • How can I limit the number of Web sites on the new tab page?

    Is there a setting where I can limit the number of thumbnails / Web sites that appear on the new tab page? When I opened a new tab - I don't want to see tons of sites I have visited - but also, I don't want to delete them all. For example - there is a setting where the new tab page displays the last ten sites I've visited - with all my pinned sites?

    There are two settings 'hidden' for this 'grid '.

    Browser.newtabpage.Columns

    and

    Browser.newtabpage.Rows

    Type of topic: config in the URL bar and press ENTER.

    So put . browser.newtabpage in the top search bar.

    Each of these preferences in the lower panel right-click and select Edit. Then change the value default of 3 for each of these preferences to what you prefer, for "pinned" both sites all browsing history you want to appear in the 'grid '.

Maybe you are looking for

  • Loss of access to programs

    How can I remove Access Manager of programs that have been adopted by it, if I don't know the password. I tried to reset the administrator password, but still cannot access Manager to meet my administrator password? [Moved from comments]

  • How do I download documents from sandisk to PC

    original title: NEED HELP HOW DO I DOWNLOAD DOCUMENTS FROM SANDISK FOR PC

  • Error number: 0 x 80248015

    When I go to Windows Update or Microsoft Update I get error "Failed to" open message number: 0 x 80248015. How can I fix it.

  • [JDev ADF] How is made the ' where clause ' default display criteria "all searchable attributes?

    Hallo,on a view object, I create my view of the criteria customized; I'm going to use it to create a "query with the table panel.I wish that his beahviour, when I use it to create a "query with the table panel", corresponds to that of "attributes sea

  • CS4 reload problem serial number... duh

    I recently had to reload the Standard Suite CS4 download online. All programs have been launched with activation code, except Acrobat 9 Pro, which would not be loaded correctly. After several attempts to solve the problem, I decided to clean the CS4