Is it possible to execute a Bookmarked query the first time a page is rende

Hi,
We are in the process of creating certain dashboards for our product using Endeca.
We have defined some metrics in the Metric Bar component, and want some useful information to be visible to the user the first time the user comes to this page.
As of now, these metrics look to be very generic in nature, but give useful information once the user starts searching. Some examples of these Metrics are - Supplier Count, Category count, etc. These won't make much sense to the end user without a context. Hence, we want this context to be present the very first time the user comes to this page.
The easiest solution seems to be creating a Bookmark, and being able to execute that the first time the page renders.
Is this possible to do? If yes, how?
Also, are there any other ways to achieve this result, other than using the Bookmark component?
Thanks,
Amit

The easiest solution seems to be creating a Bookmark, and being able to execute that the first time the page renders.
Is this possible to do? If yes, how?To achieve this option, first create the bookmark and then under action within the bookmark portel click on Create Link. Copy everything after the question mark. Next go to manage package and paste the copied text into the Query String text box.
Also, are there any other ways to achieve this result, other than using the Bookmark component?Option two would be to utilize deep linking method to access the page.
Hope this helps.

Similar Messages

  • Execute command only at the first time?

    English:
    Hi would like to take an application a particular command only at the first time run so he is no longer running for the 2nd time ! How to do that ? thanks Hollo1001
    German:
    Hallo möchte bei einer anwendung einen bestimmten befehl nur beim ersten mal ausführen so das er beim 2. mal nicht mehr ausgeführt wird! Wie macht man das? MFG Hollo1001

    use a boolean:
    var alreadyExecuted:Boolean;
    if(!alreadyExecuted){
    alreadyExecuted=true;
    // rest of once only code

  • Display several bookmarks at the same time in Maps?

    Hi.
    Does anyone know if it's possible to display several bookmarks at the same time in the app Maps on an iPad (mini) under IOS 6.1.3?
    Thanks.

    Do you have to copy each track separately? It would be much easier if I could select all the tracks together for copying/pasting.
    You cannot select multiple tracks in LP9, but you CAN select multiple regions. Use Shift-Click to select the parts on the tracks you want to copy, then hold the "option" key and drag them to the new position. This will create a copy at the new position.
    Let's say you have tracks for piano, drums and bass. In the arrange window, click on the 8-bar "A" part for piano. Hold shift key and click on the drums region then again for the bass region. All three will be selected. Now hold the option key and drag all three sections to the right to place them on bar 25.
    Also, how do you specify that you only want to loop X times? I can get a perpetual loop but I have to turn it off to get it to stop.  This is very inconvenient when I'm playing.
    You can control looping in a few ways.
    1. Go to a region that does NOT have looping checked. Click near the TOP RIGHT of the region in the arrange window. Drag to the right to specify where the looping will stop. This is tricky... if you click too low, it will extend the length of the region. You must click the correct spot near the top to control looping.
    2. For a region where looping is checked, go to the end of the region in the arrange window (at the end of the song) and do as #1 above. Drag to the left until you reach the point where you want the region to stop looping.
    3. Use the "pencil" tool to create a blank region where you want the first region to stop looping. If your 8-bar verse is repeating once, create a blank region at bar 17. The first region will stop looping there.
    Hope this helps.

  • The most recent update erased all of my bookmarks. I tried the steps to find them and they are gone. This is not the first time this has happened and it extremely disuptive.

    the most recent update resulted in a loss of ALL of my bookmarks. This is not the first time this has happened and it is very disruptive. I tried the steps suggested to find the bookmarks but that failed.

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • VO got executed but is not showing the rows on the page the first time

    Hi, Below are my senario:
    I have one jspx which contain a panel tab and 2 tabs inside it: tab A and tab B, under each tab is its own taskflow, jsff page, and its own AM and datacontrol also.
    tab A have a table
    tab b have a table with search panel. The view criteria that used to generate the search panel is not check "Run Automatically"
    What I am trying to do is in tab A, user can select some rows and click one button, then below action happen:
    1. the id of the selected rows will be pass to a AM method of tab B as string that separated by comma, and this AM method will execute the VO that the table of Tab B is based on
    2. set tab b disclosure to be true to show tab B
    3. The row that selected in Tab a will be shown in the table of tab b
    Below are the code in the AM of tab b, it is exposed to client and it will be invoked by the button actionlistener of Tab A from the bean:
    public void applyDashbaordViewCriteria(String listOfPS) {
    if (listOfPS != null) {
    PullSequenceSetupVOImpl psvo = this.getPullSequenceSetupVO2();
    ViewCriteria vc = psvo.createViewCriteria();
    vc.setName("PSDashboardVC");
    ViewCriteriaRow vcRow = vc.createViewCriteriaRow();
    ViewCriteriaItem vcItem =
    vcRow.ensureCriteriaItem(PullSequenceSetupVORowImpl.PULLSEQUENCEID);
    vcItem.setOperator(JboCompOper.OPER_IN);
    vcItem.getValues().get(0).setValue(listOfPS);
    vc.add(vcRow);
    psvo.applyViewCriteria(vc);
    psvo.executeQuery();
    However my issue here is:
    Whenever the first time entering the page, which will show tab A, I select some rows in the table and click the button, AM got executed correctly and before it leave above code, VO executed and row count is correctly match with what user selected in Tab A. However, the rows in the vo is not showing in tab B. Table in tab B show no rows.
    Workaround for the issue:
    If first time entering the page, I go to tab B first, without doing anything then come back to tab A, select some rows and click the button again, then this time, the row I selected start showing in the table of Tab B.
    So my question is, how can I solved this issue to make the selected rows show in tab B without going to tab B to load the page first? Is that something to do with datacontrol scope?
    I am using Jdev 11.1.1.3.0
    Thanks.

    Hi, now I think i know what is the root cause:
    I overide executeQueryForCollection and executeQuery method in the VOImpl that table of Tab B is based on. And I notice the following:
    Even when select row in tab A and click the button to call AM method to apply the view criteria and execute the query to return some row, when tab b loading the first time, I notice executeQueryForCollection is being fired again and invoked by executeEmptyRowSet.
    It looks to me that even thought before the page load, VO already executed and have some row, somehow when ADF load the page, it will empty all the rows in the VO. And also since I have a query panel which I uncheck the Query Automatically. So even my applied view criteria still there, but VO will not get re executed again and show the result.
    I think that is why this issue is happening. And also, that is why if I navigate to tab B first and come back to Tab A, now perform the same action, the selected rows start showing on the page.
    Anybody can help me how can I resolved this issue? And also, I don't want to check the "Query Automatically" of the view criteria that I used to genreate the search panel because it may impact the performance.
    Edited by: user10867484 on Apr 21, 2011 2:48 PM

  • Execute 4 jobs at the same time

    Hello guys,
    Is it possible with DBMS_SCHEDULER to execute 4 jobs at the same time. I'd like to use DBMS scheduler to refresh 4 different materialized view at the same time. After that, I'd like to start another job if they refreshed correctly.
    So, can this be achieved?
    Thanks for your help

    It can be achieved using a chain job. Here is how you would do it:
    Call DBMS_SCHEDULER.create_program to create 5 programs corresponding to the 4 MV jobs + the one extra job.
    Call DBMS_SCHEDULER.create_chain to create a new disabled chain.
    Call DBMS_SCHEDULER.define_chain_step to create 5 chain steps corresponding to the 5 programs you created earlier.
    Call DBMS_SCHEDULER.define_chain_rule to create 3 chain rules:
    -- Rule1:
    condition => 'TRUE'
    action => 'START step1, step2, step3, step4'
    -- Rule2:
    condition => 'step1 SUCCEEDED and step2 SUCCEEDED and step3 SUCCEEDED and step4 SUCCEEDED'
    action => 'START step5'
    -- Rule3:
    condition => 'step5 SUCCEEDED'
    action => 'END'
    Call DBMS_SCHEDULER.enable to enable the chain.
    Call DBMS_SCHEDULER.create_job to create the corresponding chain job of type chain.
    Hope that helps.

  • Query execution slow for the first time...

    I am new to Oracle sql.
    I have a query whose performance is very slow for the first time, but on subsequent executions its fast. When executed for the first time it is taking around 45 seconds and on subsequent executions, 600 milliseconds.
    Is there a specific reason for this to happen. I am calling this query from my java code using a prepare statement.

    Are the differences in queries solely in the where clause? If so can you parameterize the query and use bind variables instead so the only difference from one query to the next is the values of the bind variables? Using bind variables in your queries will enable the parser to reuse the already parsed queries even when the bound values differ.
    Also there may be other optimizations that can be made to either your query or the tables that it is querying against to improve your performance. To be able to improve your queries performance you need to understand how it's accessing the database.
    See Rob's thread on query optimization [When your query takes too long |http://forums.oracle.com/forums/thread.jspa?threadID=501834&start=0&tstart=0] for a primer on optimizing your query.

  • The query just run the first time, the second doesnt run

    The query just run the first time, the second doesnt run, i checked it in the SM50 and appear this msg:
    CL_RSR_CACHE_BO_FF============CP
    its not a problem of indexes, i repaired it but its really weird cause the first time the query run ok, the second doesnt, it seems that the cache is confused or i dont know, help guys, i'll really appreciate it

    I was watching the notes, its really weird when i load the cube and execute the query for the first time, its ok, to the second stay in cache, but i was watching that the cube doesnt allow me activat the BD statistics, i dont know if this is necesary to improve the performance of the query, what i know is this:
    1- before i create a Hierarchy for an infoobject thta is in the cube ,  the query used to run ok. Now when i load the first time and execute its ok, but the second stay in cache.
    2- now i can activate the statistics for the cube, the indexes are ok, i checked for the RSRV and all is ok less the statistics.
    what can i do help friends...

  • Its possible to stream one video at the same time to three appletv2?

    Its possible to stream one video at the same time to three appletv2?

    Welcome to the Apple Community.
    You can't stream a movie to more than one device at a time from iTunes. You can however stream the same (or indeed a different) movie from multiple Apple TVs although they won't necessarily be in sync.

  • Taking action only the first time an event executes

    I want a certain action to occur only the first time an event handler for a button is called. Is there a simple way to do this?
    Bill F

    There are two pretty easy ways to do this.
    If you want to continue to trap other events (other event cases in your event structure), use a shift register:
    1. Add a shift register to the loop containing your event structure. (right-click on the left-hand border of your loop and select Add Shift Register).
    2. Wire a numeric constant = 0 from outside the loop to the input (left-hand) terminal of your shift register.
    3. Inside your event structure, in the event case you want to handle only once, put a case structure around the code you want to execute only once. That code should be within the True case.
    4. Add an Equal To 0? function (from the comparison palette) to the loop. Wire the input shift register to the input of Equal To 0?. Wire the output of Equal To 0? t
    o the selctor for your new case.
    5. Within the True case of your new case structure, add a numeric constant = 1. Wire that constant out to the output (right-hand) side of your shift register.
    6. Within the False case of your new case structure, wire the input side of your shift register to the output tunnel created by the wiring in step 5.
    This way the event structure will keep running and handling other events, but the case you just modified will only run the first time: the first time you get the event, the shift register will = 0 so you'll execute the True case of your new case structure. Within that case, you set the shift register to 1. The next time you get that event, the shift register = 1, not 0, so you'll execute the False case and not the code in your True case.
    If you want to stop all event handling after the first event and your event handler is the only thing with its loop, from the event case (for the event you want to stop on), wire a True boolean constant out to
    the Stop terminal of the loop containing your event structure.

  • Midp 2.0: is it possible to run 2 timers at the same time?

    elo! jz wondering if its possible to run 2 timers at the same time..

    actually, im going to use the first timer for the character's animation such as walking.. the other timer i'll use for timing the 'walking activity' of the character (let's say, 3 seconds walking).. after 3 seconds, the character will stop and do other activity aside from walking..
    p.s.
    im mentioning about timers in midp 2.0 :)

  • HT3455 I got two receipts from the same tv show I bought. How's that even possible? I clicked the 'buy season ' button the first time and there was an error so I clicked it again, and now, I apparently paid for it twice!  Apple is such a rip-off!

    I got two receipts from the same tv show I bought. How's that even possible? I clicked the 'buy season ' button the first time and there was an error so I clicked it again, and now, I apparently paid for it twice!  Apple is such a rip-off!

    Wow.
    Over react much?
    Check your purchase history.  See if it actually charged you twice.
    If it did then contact itunes support for a refund.
    No need be so over dramatic.

  • HT1752 Hi, I want to play my music through my Comp as well as my wireless speaker.. i can only seem to get one working at a time, is it possible to get both working at the same time??  Thanks Kylie

    Hi, I want to play my music through my Comp as well as my wireless speaker.. i can only seem to get one working at a time, is it possible to get both working at the same time??  Thanks Kylie

    Hi Kylie,
    Open Audio Midi Setup in Applications>Utilities, see the input & output options & KHz setting there.

  • Possible to execute custom SQL query?

    Is it possible to execute a custom SQL query and get back a collection of
    objects with Kodo JDO? Query expression languages like JDOQL are all very
    well (I actually think JDOQL is pretty messy), but sometimes when you've
    got a complex query (and you know you're using a RDBMS) it is best
    accomplished in a SQL statement. I see Kodo has extended JDOQL, which is
    good, but developing custom extensions seems to be limited to implementing
    kodo.jdbc.query.JDBCFilterListener where you can customise the where
    clause. What I want to be able to do is to specify the entire SQL string.
    I am looking into using Kodo JDO for my organisation, and being able to
    use custom SQL is something i would expect (and something we can do with
    our current O/R mapping product (TopLink)).
    Regards,
    Alex

    Patrick Linskey wrote:
    On Tue, 30 Sep 2003 10:57:13 +0000, Alex wrote:
    being able to use custom SQL is something i would expect
    We absolutely agree. Take a look at the samples/customSQL example in the
    Kodo distribution.
    -Patrick
    Patrick Linskey
    SolarMetric Inc.Hi Patrick,
    I have downloaded kodo-jdo-3.0.0RC1 for windows for evaluation, but there
    is no samples/customSQL directory.
    Alex.

  • How to query the Date/Time Dataype

    Hi,
    I am trying to query the database with Data/Time Datatype.
    String date=request.getParameter("date");
    String month=request.getParameter("month");
    String year=request.getParameter("year");
    String tosearch=month+"/"+date+"/"+year;
    String getTable="select * from tableRes where dmy='"+tosearch+"'";I would like to know why it is not working?
    I ran through tomcat and it appeared this error:
    Data type mismatch in criteria expression.
    Thanks!

    pramudya81 wrote:
    Rock,
    May I know more detail on your specs?
    What is your DB? Or how is exactly you execute the sql.
    to_date is anyway an Oracle syntax.
    So I guess your DB might be an SQL Server.
    to_date for oracle is equivalent as Convert in SQL Server
    example Select Convert(datetime ,'2002/01/01')
    Hope it works nowBad idea. See reply 1.

Maybe you are looking for

  • HT4993 Why did I see a pop up window on my iPhone 4S that said "Apple Back Door"?

    I went to Berlin, Germany and took my iPhone 4S. Before I left, I asked my carrier (Sprint) and the ignorant technician told me that if I wanted to use my phone for texting and calling locally in Germany, I just needed to go to any phone store and bu

  • USB modem and Internet Sharing causes system to hang.

    First my setup. I have a Mac mini (early 2009) running 10.7.2 connected to the Internet using a Sony Ericsson W910 as a USB modem. I am using Internet sharing via Ethernet to a 1st generation (n) AirPort Extreme to give Wi-Fi to other devices (iPhone

  • Call park music on hold reverts to default after server reboot

    Hello, We are noticing that if you define Music on hold for the Park service, the call park music on hold reverts to default sound after server reboot. (all systems we've tested do this) Anyone using park music on hold that can verify one way or the

  • Reg Could not connect to Middleware

    Hi All,      I am new to MI,In the WebAS when i clicked on Hierarchy Settings. I got the Error      Could not connect to Middleware  and Logon to Middleware failed.        What are the Necessary settings needs to do for this. Can anyone help me out r

  • Impossible to read rt.jar classes??

    Hi, I noticed that recent versions of the rt.jar from Sun are compressed in a way making it impossible to extract files from it? I need to do this from a Java tool I am creating, but I end ut with a: java.util.zip.ZipException: invalid CEN header for