Parameter for Query to prevent automatic execution when broadcast to portal

When our users open a Portal folder the first query is automatically executing.   We are using a PCD Subfolder structure.   Does anyone know of a parameter that can be set that requires the user to select the query to execute.  
See structure below
Finance
    AR
     Query 1

Hi,
regarding how to call "bindings.ViewCriteriaQuery.processQuery" from Java code. You create a method binding in JSF and execute it.
http://thepeninsulasedge.com/frank_nimphius/2007/10/29/jsf-12-invoking-a-method-binding-programmatically-in-java-to-add-pre-post-triggers/
Frank

Similar Messages

  • "SELECTION" as parameter for query

    Hi,
    I have 3 select boxes on my jsp page box1=region, box2=country based on selection in box1 and box3=what is in database based on selection in box1. My question is, is there a way to grab the selection from box1 and put it into the where clause of a sql statement???
    Thanks!

    you never mentioned that you tried anything, never mentioned any errors, etc. that you may have encountered. I know this works cause I've done it myself, so if you'd like to try again in perhaps explaining yourself, feel free.
    sorry that I obviously bothered you.You ignorant plea for help bothered me, but I don't mind helping if someone makes some effort on their part. Was I supposed to read your mind and know that you already tried something? Should I have started a remote desktop session and simply pointed out the error in your code?

  • One parameter for multiple Crystal reports in Publication

    Does anyone know if it is possible to enter one identical parameter for multiple Crystal reports in publication when scheduling? BOE 3.1 SP3 Windows, Java.
    To elaborate I am creating publication with multiple reports, each report has one parameter and this parameter is identical in every report in publication. So instead of entering this parameter many times I would like to enter once. 
    If yes point me in the right direction to get the how to or post the steps.

    Daniel,
    Thank you so much for your answer. It was very helpful. In the end, it didn't work but it helped me figure out what was happening. I use a different form for the reports and I had it coded in the form which report to use. I created a second form for the second crystal and then I used an if statement to choose the form and it worked like a charm.
    Thanks so much again!

  • Can I maually check for updates but prevent them from being automatically installed if it turns out one is available?

    Can I maually check for updates but prevent them from being automatically installed if it turns out one is available?
    Background:
    In options I have "check for updates, but let me choose whether to install them" ticked. This works fine, in that I periodically receive a notice of an available update, and it will ask me whether I want to I want to install it.
    But there are certain times -- for reasons I won't go into here (unless requested as part of seeking a solution) -- where I want to manually check for new versions, but RETAIN the ability to decide whether or not to install it. But if I click Help/About Firefox/Check for Updates, and it finds an update, it will immediately proceed to install it without asking for permission. While that seems quite inconsistent with my update preferences in Options, it is apparently normal behavior as described in https://support.mozilla.org/en-US/kb/update-firefox-latest-version#w_how-do-i-manually-check-for-updates.
    So is there any way I can manually check for new-update availability but then refuse the update if I so choose? Once an unwanted install begins, I'm concerned that if I click cancel I could end up with a partial installation or some "messed up," duplicated or corrupted FF files (e.g., multiple versions appended with (1), (2) etc, similar to what sometimes confusingly happens when I do an XP System Restore).
    Thanks.

    I think what needs to be made very clear here is that when a user clicks on "check for updates" the software should bloody well CHECK for updates and most certainly SHOULD NOT proceed to download and apply any updates. this is misleading and intrusive.
    I just wanted to check if there was an updated version but I DID NOT want to actually update at that moment. the software downloaded data, costing me money and tried to apply the update which could have potentially messed up my settings if I had not checked everything was ok first.
    I actually discovered how to prevent the update by searching through windows and manually deleting the files but why should anyone have to go to such lengths?
    the software should simply do as it is asked, not do things that have most certainly not been asked.

  • How send parameter in prerender() function for query

    Sir I use requestbean for sending data to next page
    Because want use this parameter in query
    I get data as per this parameter
    But when I call next page not pass parameter value to next page and query use blank parameter
    I write code in prerender()
    See my code
    public void prerender() {
    try {
    getSessionBean1().getTripRowSet().setObject( 1, parameter1..getValue());
    tripDataProvider.refresh();
    } catch (Exception e) {
    error("Cannot switch to person " + “no record “);
    log("Cannot switch to person " + “no record , e);
    Please give me idea how I send my parameter in prerender() function for query
    Thank’s
    aamir

    sir i try SessionBean but same as result
    sir you see my full problem
    I use studio creator
    I create two page first for sending data to other page such as user login page
    I add property in SessionBean, RequestBean and bind to data with my user name textfield
    and in next page I bind to data with other textfield
    after this I try to use this textfield use in
    public void prerender() {  
    try {
    getSessionBean1().getChartofaccRowSet().setObject(1, textfield1.getValue());
    chartofaccDataProvider.refresh();
    } catch (Exception e) {
    error("Cannot switch to person " + �noooo�t);
    log("Cannot switch to person " + �noooo�, e);
    In this line I use that textfiled that bind to data form login page
    getSessionBean1().getChartofaccRowSet().setObject(1, textfield1.getValue());
    but sir this public void prerender() {   function t not get textfield1 value in this function textfield give me null value
    but when page complete run then show value in textfield
    it mean this public void prerender() { function run befor  SessionBean, RequestBean and not get SessionBean, RequestBean value
    please give me idea how I pass value in public void prerender() { function form other page and I use this value in query
    such as example
    getSessionBean1().getChartofaccRowSet().setObject(1, textfield1.getValue());
    this is my sessionbean query
    SELECT ALL FNET.CHARTOFACC.PARENT,
    FNET.CHARTOFACC.CHILD,
    FNET.CHARTOFACC.ACCID,
    FNET.CHARTOFACC.TITLE,
    FNET.CHARTOFACC.CAMPID,
    FNET.CHARTOFACC.ACTIVE,
    FNET.CHARTOFACC.FSTATUS,
    FNET.CHARTOFACC.COMHEADID,
    FNET.CHARTOFACC.FIX_VARIABLE,
    FNET.CHARTOFACC.VARI_PER
    FROM FNET.CHARTOFACC
    WHERE FNET.CHARTOFACC.CAMPID = ?
    please give me idea
    thank�s
    aamir
    SELECT ALL FNET.CHARTOFACC.PARENT,
    FNET.CHARTOFACC.CHILD,
    FNET.CHARTOFACC.ACCID,
    FNET.CHARTOFACC.TITLE,
    FNET.CHARTOFACC.CAMPID,
    FNET.CHARTOFACC.ACTIVE,
    FNET.CHARTOFACC.FSTATUS,
    FNET.CHARTOFACC.COMHEADID,
    FNET.CHARTOFACC.FIX_VARIABLE,
    FNET.CHARTOFACC.VARI_PER
    FROM FNET.CHARTOFACC
    WHERE FNET.CHARTOFACC.CAMPID = ?

  • Alias for parameter in query

    Hi,
    I'm new on SAP B1, and I try to generate a query with its manager.
    It's a beautiful tool.
    When I run my query, I need to ask a parameter to user.
    When SAP asks the parameter to user, it uses the database filed's name, but I'd like to use a my alias, so to help user.
    For example at least "Code" I'd like tu use my "Insert the item code".
    I'm sorry for my bad english, and I hope my question is clear.
    Thanks.

    Hi,
    Welcome you post on the forum.
    Your English is not bad at all. By default, B1 will use the database filed's name for query parameter. If you want to use alias, Crystal Report or XL Report is necessary.
    Thanks,
    Gordon

  • How to prevent iPhoto to make an automatic event when importing from Photo stream

    Hi everyone,
    My question is related to the Photo stream functionality in iPhoto.
    Is possible to prevent iPhoto from making an automatic event when I import a photo from Photo stream. It is really annoying because of the fact that I use "events" for keeping my important photo's together (as many of you do I asume). Ofcourse after importing I can just delete it from my event section but is there a way to prevent it?
    Thanks.

    No. Photostream creates an Event for each month.
    iPhoto has many other tools for managing and categorising your Photos.
    I use Events simply as big buckets of Photos: Spring 08, July - Nov 06 are typical Events in my Library. I use keywords and Smart Albums extensively. I title the pics broadly.
    I keyword on a
    Who
    What
    Where basis (The When is in the photos's Exif metadata). I also rate the pics on a 1 - 5 star basis.
    Using this system I can find pretty much find any pic in my 40k library in a couple of seconds.
    So, for example, I have a batch of pics titled 'Seattle 08' and a  typical keywording might include: John, Anne, Landscape, mountain, trees, snow. With a rating included it's so very easy to find the best pics we took at Mount Rainier.
    File -> New Smart Album
    set it to 'All"
    title contains Seattle
    keyword is mountain
    keyword is snow
    rating is 5 stars
    Or, want a chronological album of John from birth to today?
    New Smart Album
    Keyword is John
    Set the View options to Sort By Date Ascending
    Want only the best pics?
    add Rating is greater than 4 stars
    The best thing about this system is that it's dynamic. If I add 50 more pics of John  to the Library tomorrow, as I keyword and rate them they are added to the Smart Album.
    In the end, organisation is about finding the pics. The point is to make locating that pic or batch of pics findable fast. This system works for me.
    Regards
    TD

  • Problems when creating a new parameter for a parametric role

    I'm trying to create a new parameter for a parametric role, but it seems that it is never updated, because the BPM engine does not return any error.
    The scenario is: I have a process that has the role "Brands_Admin", the brands are populated by Web Service dynamically, then the parameters of the role would be those brands. In this case, if a new brand is registered (WS returns a new brand), I simply create a new parameter for the role through the "process administrator" of the BPM Enterprise.
    I'm trying to create the new parameter as follows:
    dirSession                 = DirectorySession.currentEngineSession;
    dirOrganizationalRole       = DirOrganizationalRole.fetch(session : dirSession, id : "Brands_Admin");
    String[] parametricRoles       = dirOrganizationalRole.parametricValues;
    parametricRolesCount      = parametricRoles.length();
    parametricRoles[parametricRolesCount]      = "NEW_BRAND";
    dirOrganizationalRole.parametricValues      = parametricRoles;
    dirOrganizationalRole.update();
    dirOrganizationalRole.refresh();
    for (int i=0; i<dirOrganizationalRole.parametricValues.length(); i++) {
         logMessage(dirOrganizationalRole.parametricValues);
    In the code above, the BPM Studio will print the new parameter correctly, but in next activity (like a Screenflow) when I try to get the parameters of that role again, there are only the parameters that were registered using the BPM Studio, the parameters that are created programmatically not appear.
    Anyone know the reason?
    An user with the same problem: http://forums.tangosol.com/forums/thread.jspa?threadID=839253&tstart=1

    When a project that contains this logic to create a new parameter for a parametric role programmatically is deployed in BPM Enterprise, some strange behaviours occurs.
    The first is that I cannot see through the process administrator the new parameter that was created for the parametric role.
    The second is that if I create this new parameter through process administrator and associate an user to the role that contains the new parameter I cannot access the deployment process. In workspace (authenticated with user that is associated with the role that contains the new parameter) I cannot see anything about the process.

  • Time Machine on my iMac won't open iPhoto. It goes to desktop screen automatically. When I select User/Picture/Iphoto library it only brings up the preview page with the size of the folder. I can't get into the library to look for lost photos.

    Time Machine on my iMac won't open iPhoto. It goes to desktop screen automatically. When I select User/Picture/Iphoto library it only brings up the preview page with the size of the folder. I can't get into the library to look for lost photos.

    Thank You. This helps me alot to get into the masters and to see events and photos in a utilitarian way, but it is not as easy as viewing the normal iphoto format to find photos.  Can I do something else or did I not do something right to not see normal iphoto in Time Machine ?

  • [svn:osmf:] 17499: Partial fix for FM-990: prevent RTE when attempting smoothing for an image where a policy file was not available

    Revision: 17499
    Revision: 17499
    Author:   [email protected]
    Date:     2010-08-27 11:05:22 -0700 (Fri, 27 Aug 2010)
    Log Message:
    Partial fix for FM-990: prevent RTE when attempting smoothing for an image where a policy file was not available
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-990
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/ImageElement.as

    Revision: 17499
    Revision: 17499
    Author:   [email protected]
    Date:     2010-08-27 11:05:22 -0700 (Fri, 27 Aug 2010)
    Log Message:
    Partial fix for FM-990: prevent RTE when attempting smoothing for an image where a policy file was not available
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-990
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/ImageElement.as

  • XSQL query output as parameter for next xsql query

    Hi,
    Is it possible to use the output of one xsql query as input parameter for the next xsql query in the same file. I am trying to retreive an id from the query and use it in the next one. I cannot combine all the queries into one, since I intend to make the first query a database function that returns the id I am looking for. I am looking for something like this
    <xsql:query>
    select '1000' as myid
    from dual
    </xsql:query>
    <xsql:query>
    select add1,ro1
    from table1
    where id = {@myid}
    </xsql>
    I need the id returned by the first query to be used in the second one. Eventually my first query will be a stored procedure that validates the users rights and on sucess return the following tag <myid> 1000 <myid>.
    Please let me know , how I can achieve my goal of validating a user's priveleges and then executing the second query.
    Thanks
    Padmaja

    Hi ,
    Thanks for the response.This works if the first query is a select .
    If the first query was a call to a db procedure that returned the <myid>100<myid> would this still work?
    <xsql:set-page-param name="myid">
    <xsql:include-owa>
    xyz;
    </xsql:include-owa>
    </xsql:set-page-param>
    <xsql:include-param name="myid"/>
    <xsql:query>
    select name from mytable where id={@myid}
    </xsql:query>
    I have to use include-owa as the db procedure xyz does some cookie validations and then returns an id based on that. The procedure xyz returns an xml tag of form <myid>100<myid>
    This does not work as the value of myid is not available to the second query.
    Thanks
    Padmaja

  • My preferences allow pop-ups and yet when I try to generate a letterfrom an online database I'm using for work, FifreFox "prevents po-ups from this site" Why?

    I need to access an online database to generate letters for an assigned project. I click on the appropriate link to generate letters, the file is conveyed to my downloads, and I open it using Adobe to create a pdf. This worked fine for the first 5 letters. When I tried to generate the 6th, a yellow banner appeared informing me that "FireFox prevented this site from opening a pop-up window" which prevented me from getting the letter into downloads to open in Adobe. Even though I don't have the pop-up blocker on, I clicked on preferences and found the site in question already listed as allowed. Why is this happening? How can I continue my work?

    * Go to your concerned website
    * Right-click empty space within the page and click '''View Page Info'''
    * In the '''Page Info''' window, select the '''Permissions''' panel
    * Under '''Load Images''' , '''Open Pop-up windows''', '''Set Cookies''' -> place/Remove Checkmark from '''Use Default''' and change the setting to '''Allow'''
    * Close the Page Info window
    Check and tell if its working.

  • How to get min,max,avg time for query execution?

    Dear Friends,
    In AWR we are getting avg time taken to execute particular query, how can one get min,max time taken by query during number of executions.
    Thanks

    I would run the sql in a cursor for loop, to get a quite reasonable execution time without changing the actual execution plan:
    SQL> show user;
    USER is "HR"
    SQL> set timing on
    SQL> select count(*) from all_objects;
      COUNT(*)
         55565
    Elapsed: 00:00:03.91
    SQL> var p_sql varchar2(200)
    SQL> exec :p_sql := 'select * from all_objects'
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.00
    SQL> declare
      2  t1 timestamp := systimestamp;
      3  begin
      4    execute immediate 'begin for c in (' || :p_sql || ') loop null; end loop; end;';
      5    dbms_output.put_line('Elapsed: ' || (systimestamp - t1));
      6  end;
      7  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:03.53
    SQL> declare
      2  t1 timestamp := systimestamp;
      3  begin
      4    execute immediate 'begin for c in (' || :p_sql || ') loop null; end loop; end;';
      5    dbms_output.put_line('Elapsed: ' || (systimestamp - t1));
      6  end;
      7  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:02.75
    SQL> declare
      2  t1 timestamp := systimestamp;
      3  begin
      4    execute immediate 'begin for c in (' || :p_sql || ') loop null; end loop; end;';
      5    dbms_output.put_line('Elapsed: ' || (systimestamp - t1));
      6  end;
      7  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:02.73
    SQL> declare
      2  t1 timestamp := systimestamp;
      3  begin
      4    execute immediate 'begin for c in (' || :p_sql || ') loop null; end loop; end;';
      5    dbms_output.put_line('Elapsed: ' || (systimestamp - t1));
      6  end;
      7  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:02.66
    SQL> ---- alter system flush shared_pool;
    SQL> declare
      2  t1 timestamp := systimestamp;
      3  begin
      4    execute immediate 'begin for c in (' || :p_sql || ') loop null; end loop; end;';
      5    dbms_output.put_line('Elapsed: ' || (systimestamp - t1));
      6  end;
      7  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:02.80
    SQL> declare
      2  t1 timestamp := systimestamp;
      3  begin
      4    execute immediate 'begin for c in (' || :p_sql || ') loop null; end loop; end;';
      5    dbms_output.put_line('Elapsed: ' || (systimestamp - t1));
      6  end;
      7  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:02.64
    SQL>
    https://forums.oracle.com/thread/705536?start=15&tstart=0
    Regards
    Girish Sharma

  • SAP Query when saving title for Query is not saved if we reopen queries o

    Hi,
    i am not able to save title for a query that is already created,
    when i change and give the title name and comes back it is seen in scree SQ03 but 
    reopen the Transaction Sq03 by selecting user group and query the title is not not displaying.
    can anyone help me on this, it is Urgent.....
    Thanks in advance.
    Regards
    Adarsh.

    Hi,
      Change the title of the query in tcode
    SQ01-->change
    here change the title and save
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Apr 14, 2008 3:49 PM

  • Parameter for user locked when no connection

    Where is the parameter for the number of days before automaticaly lock of the users ?
    In our system, the users are locked automatically by SAP after 1 month of inactivity !!
    Where is the parameter who control yhis ?

    Jean,
    Where is the parameter who control yhis ?
    In RZ10,  login/password_max_idle_productive users who are  idle for 30days will be automatically locked.
    2. Use TU02 -you will get to know parameters active in the SAP system.
    http://sap.ittoolbox.com/groups/technical-functional/sap-security/rsparam-settings-password-1185954
    Thanks,
    Sri
    Edited by: sri on Jul 27, 2010 8:41 PM

Maybe you are looking for