ER: Allow setting af:query default mode

We are planning to use af:query component extensively throughout our application. However, we would only use it in cases where the QBE table filters would not work. Since the basic mode offers virtually nothing over QBE filters, we really only want the query component to display in Advanced mode and we've found with our users that the toggle between Basic and Advanced is confusing to them. Unless I'm missing something, I can hide the mode change button but there's no way to have the component default into Advanced mode. Please add an attribute to set default mode of af:query component.
Many thanks.
-Ed

Ed,
there is way to do this. You tell me if this is an option for you and if not I am happy to file an ER
1. Create a ViewCriteria for the ViewObject
2. For the view criteria add all attributes you want to query. To simulate the "All Queriable Attributes" you just add all attributes (no need to define bind variables)
3. In the View Criteria, select the UI Hints tab, select "Search Region Mode" Advanced
4. Drag the Named Criteria as a query form
5. If the table is created with filters then the filter will use the same View Criteria
Frank
Also solves the case sensitive issue

Similar Messages

  • How to set a query of VO in  Best-Effort Mode

    Hi, I'm using auto refresh property of VO, to refresh the LOV . But i get " java.sql.SQLException: ORA-29983: Unsupported query for Continuous Query Notification" error..
    So i want to set the query in best-effort-mode . May i know how to set it.
    here is my query that set to auto refresh.
    "SELECT DISTINCT YYYY FROM XXXXX"
    Query optimizer makes the above one as below.
    SELECT * FROM (SELECT DISTINCT YYYY FROM XXXXX) QRSLT WHERE ( ( (YYYY LIKE :vc_temp_1 ) ) )

    If you disconnect the PMU, you will have the option to go to tristate or your previous digital state, but not ground. Forcing 0V is probably the closest you can get to a GND like behavior. The default line state is tristate for this device, which will leave the line floating if there is no active driver.
    Kyle A.
    National Instruments
    High Speed Digital I/O Product Support Engineer - R&D

  • ALV display: Default setting field in grey mode

    Hi
    In SE16 or SE11 when we are checking the table (any table, say MARA, RESB etc) with ALV option, we are getting the "save layout" with default setting field in grey mode. So whatever layout is created it is not a default layout, the user has to select the layout. However when I check with another friend in another project there the ALV setting is coming with editable option.
    So how shall I get that the field in change mode. Pls suggest.
    Regds

    Hi BNR,
    for reasons that may be discussed elsewhere, the layout saved in SE16 is applied to all tables displayed using SE16. Thus a default layout does not make too much sense. In the layout the columns displayed are stored. If you have a default layout you will see only the columns that have all displayed columns in common.
    By the way, in my system I can store a default layout but only user-specific. I can not save standard (non-user-specific) layouts in SE16/SE11.
    In SE16N I can store both general (non-user-specific) and Default layouts. Here the layout is table-specific.
    If you users want a special layout (and they are allowed to use SE16!!!) , you should switch to SE16N.
    Regards,
    Clemens

  • Access mode setting for query

    Hi,
    I want to know where to set the following access modes for a  query ?
    • NEW (default): Uses current data.
    • STORED: Uses pre-calculated data (if no pre-calculated data available, this results in an error).
    • HYBRID: Uses pre-calculated data if available; if not, it uses current data.
    • STATIC: Uses pre-calculated HTML pages (if no pre-calculated pages are available, this results in an error).
    • STATIC_HYBRID: Uses pre-calculated HTML pages if available; if not, it uses HYBRID access mode.
    thanks,
    D Bret

    Hi,
    this is part of the Web Template properties. You can set them either via additional URL parameters, or change the corresponding Web Template in the WAD.
    http://help.sap.com/saphelp_nw04/helpdata/en/1f/37813b650cdc0be10000000a114084/frameset.htm
    look for read mode
    or add the parameter &data_mode=... to your url.
    Heike

  • FR (11.1.2.1) export in query ready mode with default ALIAS

    I am not seeing default ALIAS when exporting my FR from workspace to excel using Query Ready Mode.
    Any help is appreciated.
    Thanks

    Did you try changing the alias once the report is exported?
    Regards
    Celvin
    http://www.orahyplabs.com

  • Firefox will not set as my default browser? My desktop icon only allows me to open Firefox as an administrator? My family's Firefox accounts work fine. I have 3 other accounts have parental controls. Would that have an effect? in English

    * Firefox will not set as my default browser, regardless of setting the option?
    * My desktop icon only allows me to open Firefox as an administrator, while my family's Firefox icons are accessible?
    * The 3 other accounts have parental controls and was wondering if that would have an effect?

    OK, I think I have this solved. After reading my post over, I decided to rethink the problem. First thing I did was download Chrome and I tried using that and IE again and surprise! I was having the same problem on those browsers as well. So now we know it wasn't Firefox. I then figured maybe a slow computer meant a virus, so I ran scans. I've had both Avast and IOBit for months now and I've never had a problem with either of them before. Then I downloaded Malwarebytes and ran a third scan. They all picked some stuff up, but nothing serious. Then I tried disabling all the antivirus stuff and that didn't solve anything. But then I decided to keep Malwarebytes and I uninstalled IOBit Security and whammo - problem solved.
    I have no idea why out of the blue IOBit would be causing a problem like this so if someone knows, please let me in on the secret. Additionally, IE was working fairly well last night but not this morning. I also don't know why removing IOBit would take care of the nsAppShell issue, because supposedly, that's related to Firefox plug ins. And one more thing...when Comcast hooked my neighbor up to cable, they did it by putting a splitter on my line. They were messing about with the lines yesterday before I got on my computer last night trying to decide how to rerun them and today they did that, taking the splitter off my line and giving my neighbor his own line. That was finished about 30 minutes before I uninstalled IOBit. So....who knows?
    But I ain't about to look a gift horse in the mouth. I have my Firefox back and I am so sorry for bad mouthing you last night - I love you, Firefox!

  • Query-only mode

    I built a form using oracle developer 9i and when I tried to insert/update/delete record I get FRM-40208 form running in query-only mode. cannot change database field.
    although I checked the properties of Data block and it is query allowed, update allowed, delete allowed (all are set to true).
    I don't know what to do in order to allow 3 DML commands.
    thanks in advance

    Hello,
    if this form is called by CALL_FORM(), check the query_mode parameter which must be NO_QUERY_ONLY
    Francois

  • How to set the file transfer mode to binary

    Hi,
    I have a requirement to upload files from local machine to server, and it is working fine.
    But after uploading files junk characters are entered after each line, so want to set the file transfer mode to binary to get rid from this error.
    We have checked that if we ftp the files manually then also getting the same problem when the transfer mode is not selected as binary.
    Please give your valuable advice.
    Thanks,
    Ranita

    Hi,
    I want to set the file transfer mode through controller code, presently I am using the below code where no file transfer mode is specified ::
    public void upLoadFile(OAPageContext pageContext,OAWebBean webBean)
      String serverPath = null;
      OAApplicationModuleImpl am = (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
       try {              
          Connection conn = am.getOADBTransaction().getJdbcConnection();     
          String query = "select  distinct variable_name, value from fnd_env_context where variable_name = 'XXCUST_TOP' and concurrent_process_id = ( select max(concurrent_process_id) from fnd_env_context )";
          PreparedStatement stmt = conn.prepareStatement(query);
           for (ResultSet resultset = stmt.executeQuery();
                          resultset.next(); )
                 serverPath  = resultset.getString("value");
            stmt.close();  
           catch(Exception ex)
             throw new OAException(ex.getMessage(), OAException.ERROR);
       String filePath = serverPath+"/"+pageContext.getParameter("FileType");
       //System.out.println("Default File Path---->"+filePath);
       String fileUrl = null;
       try
        DataObject fileUploadData =  pageContext.getNamedDataObject("MessageFileUpload");
      //FileUploading is my MessageFileUpload Bean Id
        if(fileUploadData!=null)
         String uFileName = (String)fileUploadData.selectValue(null, "UPLOAD_FILE_NAME"); 
         String contentType = (String) fileUploadData.selectValue(null, "UPLOAD_FILE_MIME_TYPE");  
         //System.out.println("User File Name---->"+uFileName);
         FileOutputStream output = null;
         InputStream input = null;
         BlobDomain uploadedByteStream = (BlobDomain)fileUploadData.selectValue(null, uFileName);
         //System.out.println("uploadedByteStream---->"+uploadedByteStream);
         File file = new File(filePath, uFileName);   //C:\\Ranita
         //System.out.println("File output---->"+file);
         output = new FileOutputStream(file);
         //System.out.println("input---->"+input);
         byte abyte0[] = new byte[0x19000];
         int i;
         while((i = input.read(abyte0)) > 0)
         output.write(abyte0, 0, i);
         output.close();
         input.close();
         HashMap map = new HashMap();
         map.put("fromPage","Y");
         pageContext.forwardImmediatelyToCurrentPage(map,true,OAWebBeanConstants.ADD_BREAD_CRUMB_YES);
       catch(Exception ex)

  • Default mode of transport

    Whenever I use HERE Drive+ (WP8 version on a Lumia 1020 and a Lumia 920) to navigate to a location, it gives me directions for public transport and I have to select "drive" to get something not utterly nonsensical.
    I've looked around but not seen anything that allows me to set "drive" as the default mode of transport so I don't have to change it each time.
    Any ideas?
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

    OK, HERE Drive+ has changed a great deal since I last looked at it in detail. It does indeed have access to favourites now, which makes choosing a location to drive to that much easier than having to select it in HERE Maps and then "Navigate to".
    CJ, there is certainly more to it than HERE Maps remembering the previously selected mode of transport. I had to go somewhere I'd never been before on Thursday night. HERE Maps wanted to take me there by public transport, but I selected "drive" and got sensible directions. When I wanted to drive home again after the meeting, I selected my "home" favourite, "get directions" and I was offered the route by public transport again, depite having chosen "drive" for the outbound journey.
    It can't be anything to do with proximity because the journey by public transport is estimated at 4h 26m!
    This happens on both the 920 and the 1020, so it definitely looks like there's a glitch in the software somewhere.
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • Called form in query only mode shows messages....

    Hi All,
    I am calling a form (say B ) in query only mode from a main form (say A) . When i query the called form B , i get 5-6 alerts (which has to be acknowledged by the user) and messages of the same error type saying :
    "FRM-40208 : Form running in query only mode . Cannot change database fields. "
    I have a 100 forms to be called from the main form A. So, I prefer not to change anything in the called forms . I tried to set message_level in the form A and code the on-error / on-message triggers to avoid the messages being shown, but nothing is working . Is there anything I can do in Form A i.e the main form ???
    Thanking you in advance.

    Since the error messages are being generated by form B, it is unlikely you will be able to fix form B problem using form A. Unfortunately, you may have to fix each of the 100 called forms.

  • Farm Remote App 2012 R : Your system administrator does not allow the use of default credentials to log on to Work Resources

    Hi
    Here is the situation:
    I have a Farm with 3 servers W2012R2 in a Domain
    Server1                           Server 2                                  
    Server3
    RDSession Host            RDSession Host                            
    RDSession Host
    Connection Broker        Connection Broker (Passive)
    RD Web Access
    2 DNS Alias : - poc.mydomain.local (Use for the RD Web Access and points to Server1
                        -poccb.mydomain.local (Use for the Connection Broker and points to Server1)
    I have setup the Connection broker in HA with Server2 as Passive Server : DNS Round Robin poccb.mydomain.local (Server1)
    The certificate Manager has generated 2 CA certificates :
    - 1 for the RD Web Acc (poc.mydomain.local
    -1 for Connection Broker SSO and for publishing
    I have created 1 Group Policy for these 3 servers and 1 GP for my client Windows 7 SP1.
    Server GPO :
    Computer/Administrative Templates/Windows Components/Remote Desktop Services/Remote Desktop Session Host/Security
    Always prompt for password upon connection=Disabled
    Require use of specific security layer for remote (RDP) connections : SSL (TLS 1.0)
    Set client connection encryption level : High Level
    Client GPO
    Computer/Administrative Templates/System/Credentials Delegation = Allow delegating default credentials (Concatenate OS defaults with input above)
    TERMSRV/POCCB.mydomain.local
    I use no Gateway and in my collection,I have activated SSL (Like in my Server GPO)
    I have now problem with SSO.
    Connection with remote desktop client with server name = poccb.mydomain.local
    Your system administrator does not allow you the use of default credentials to log on to the remote computer poccb.mydomain.local because its identity is not fully verified
    If in my client GPO I add the physical name of the 3 servers, it works :
    TERMSRV/Server1
    TERMSRV/Server2
    TERMSRV/Server3
    Open RDP Files with server name = poccb.mydomain.local
    if my connection broker connects me on Server1 , no problem
    But If I arrive on Server2 & Server 3=
    Your system administrator does not allow the use of default credentials to log on to Work Resources
    I have searched on internet. No result for " to log on to Work Resources"
    Any idea ? Thanks for your help

    Hi,
    Thank you for posting in Windows Server Forum.
    Firstly check that, your user is using domain\username to enter the credential in the dialog box.
    Now for a try, you can edit .rdp file with notepad and just place “enablecredsspsupport:i:0” line in it, save it an launch to check whether you are facing same issue.
    As you are using windows 7 then upgrade to RDP 8.1. Also as you have already enter the FQDN name of server under “Allow delegating default credentials”. For a try please enable and configure for all the remaining settings as follow and check the result.
    Start / Run / gpedit.msc / Computer Configuration / Administrative Templates / System / Credentials Delegation, and make sure you have the following four options enabled and configured:
    Allow Delegating Default Credentials with NTLM-only Server Authentication
    Allow Delegating Default Credentials
    Allow Delegating Saved Credentials
    Allow Delegating Saved Credentials with NTLM-only Server Authentication
    Finally, open a command prompt and use “gpupdate /force” command to apply the policy directly.
    More information:
    Remote desktop credentials did not work
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • Precautions to be taken while changing the Query read mode in PED system

    Dear Experts,
    I got a task to change the Query Read mode for more No. of queries in Production system directly itself.
    Request you to let me what are the steps to be followed/precautions to be taken while changing the Query Read mode in PED.
    one more doubt regarding this.....If i plan to change the Read mode of Query say Q1, how can i come to know weather the Q1 is executing or not executing by that time.
    Thanks in advance for valuable response.
    Thanks & Regards,
    Ramesh - Kumar

    Hello,
    You can change the query read mode in transaction 'RSRT', here are the steps:
    1) Access transaction RSRT and enter the query name
    2) Select the 'Properties' option
    3) Un-check the 'Info provider' setting next to the 'Read mode' --> This enables you to change the read mode of the query --> Execute
    4) Choose the option 'Generate Report' to re-generate the query program
    Hope this info helps.
    Thanks
    Bala

  • How to control attributes in 'Add Fields' in af:query Advance mode

    Hi,
    The VO attributes those set Queriable=false doesn't appear in the Add Fields dropdown in ad:query advance mode.
    But I have few attributes in a VO those required to use in VO query so I cannot set those attrbutes Queriable as false.
    Also observed that QBE doesn't work for the attributes whose Queriable set as false.
    So can someone please suggest me how to achieve below,
    VO attribute which having Queriable=true but doesn't appear in 'Add Fields' dropdown in af:query advance mode.
    JDeveloper version 11.1.1.7.0
    Edited by: user12820425 on Mar 21, 2013 10:16 AM

    Hi Naresh
    Thanks for your reply.
    In ViewCriteria -> UI Hints we can set attribute Rendered Mode as never, but that perticular attribute still appear in 'Add Fields' section.
    I think renderedMode=never means that attribute doesn't appear in Advance or Basic mode user need to manually select that attribute.
    So please suggest me how to achive my requirement.

  • Custom Master page set as a default on feature activation in Moss

    I've a site in moss. I have created feature in my solution and on feature activation it will set the custom master page
    CustomMaster.master as a default master page and on feature deactivation it will set as a default master page
    default.master.
    The problem I'm facing is that if I'm activation the feature at first time then it will set the CustomMaster.master as a default master page but when I'm deactivate the feature it will remove the
    CustomMaster.master page and module. but when I'm again activate feature at that time it will not create mo1dule and CustomMaster.master in "_catalogs/masterpage/". So, no error was given on feature activation but
    it will give error while I'm accessing my site as a "File Not Found" because
    CustomMaster.master is not created.
    Code of Module.xml file
    <Module Name="Master" Url="_catalogs/masterpage"> <File Path="Master\CustomMaster.master" Url="Master/CustomMaster.master" IgnoreIfAlreadyExists="TRUE" Type="GhostableInLibrary"/> </Module>
    Code of method which is call on feature activation
    public void SetCustomMasterPage(SPFeatureReceiverProperties properties, string MasterPageName)
    try
    #region SetMasterpage
    SPSite siteCollection = properties.Feature.Parent as SPSite;
    if (siteCollection != null)
    foreach (SPWeb web in siteCollection.AllWebs)
    // Get the Site Collection root path to get the master page gallery.
    string siteCollectionRoot = web.Site.RootWeb.Url;
    // Set the Site Master to Custom.master
    var siteMaster = new Uri(siteCollectionRoot + "/_catalogs/masterpage/Master/" + MasterPageName);
    web.CustomMasterUrl = siteMaster.AbsolutePath;
    web.MasterUrl = siteMaster.AbsolutePath;
    // Clear the Alternate CSS
    web.AlternateCssUrl = string.Empty;
    // Save the changes back to the web
    web.Update();
    #endregion
    catch (Exception)
    Code of methods which are call on feature deactivation
    public void SetDefaultMaster(SPFeatureReceiverProperties properties)
    try
    SPSite siteCollection = properties.Feature.Parent as SPSite;
    if (siteCollection != null)
    foreach (SPWeb web in siteCollection.AllWebs)
    // Get the Site Collection root path to get the master page gallery.
    string siteCollectionRoot = web.Site.RootWeb.Url;
    // Set the Site Master to Custom.master
    var siteMaster = new Uri(siteCollectionRoot + "/_catalogs/masterpage/default.master");
    web.CustomMasterUrl = siteMaster.AbsolutePath;
    web.MasterUrl = siteMaster.AbsolutePath;
    // Clear the Alternate CSS
    web.AlternateCssUrl = string.Empty;
    // Save the changes back to the web
    web.Update();
    catch (Exception)
    public void RemoveCustomMasterPage(SPFeatureReceiverProperties properties, string MasterPageName)
    try
    using (SPSite sitecollection = (SPSite)properties.Feature.Parent)
    using (SPWeb web = sitecollection.RootWeb)
    string WebAppRelativePath = sitecollection.ServerRelativeUrl;
    if (!WebAppRelativePath.EndsWith("/"))
    foreach (SPWeb site in sitecollection.AllWebs)
    WebAppRelativePath = site.Url;
    if (!WebAppRelativePath.EndsWith("/"))
    WebAppRelativePath += "/";
    String MasterUrl = WebAppRelativePath + "_catalogs/masterpage/Master/" + MasterPageName;
    SPFile fileUrl1 = site.GetFile(MasterUrl);
    if (fileUrl1 != null)
    SPFolder folder = fileUrl1.ParentFolder;
    fileUrl1.Delete();
    web.Update();
    //attempt to delete the folder if it is now empty
    if (folder.Files.Count < 1)
    folder.Delete();
    catch (Exception)
    Pls guide me for solve this issue.

    Hello Sameer,
    When you are calling "RemoveCustomMasterPage" function?
    Also make below change in web.config file your web application to know the problem:
    1. Open up your sites web.config, and make the standard custom errors edit. You want it to be < customerrors mode="Off"/>
    2. Then, search for the CallStack="false" and change it to CallStack="true", you should find this in the "<safemode>" node.
    3. Find:   <compilation debug="false" />, Replace with: <compilation debug="true" />
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Airport Extreme needs to be set-up in "Bridge mode" ??

    I am trying to set-up a new intel iMac to a dsl service for my elderly uncle. The dsl people said that their system was compatable with OS 10.4.7 (which is installed) but that the Airport Extreme modem will need to be set-up in "bridge-mode." Can I do that? Where can I find instructions or help with that? When I queried "bridge mode" on this site I get lots of stuff with acronyms I don't understand and stuff about routers and wireless bridges and other stuff I don't understand... I really need help!
    Flat-panel iMac, G4 tower   Mac OS X (10.4)   Setting up intel iMac
    Flat-panel iMac, G4 tower   Mac OS X (10.4)  

    Hi Buzz0432,
    I think, "yes" - and i think i saw it in the booklet which you get with the AE. However, i'm slightly unsure about this at this instant since i'm not at home where my mac-stuff is.
    i'll check on it and will report back lateron...
    thomas

Maybe you are looking for

  • Error while running a eBS webservice from the SoapUI Tool

    Hello All, I am trying to run PurchaseOrder Service webservice from the soap ui tool, In this service there are 6 methods are available and i am currently running the QueryPurchaseOrder method: Following is the soap message I am running: <soapenv:Env

  • Report to see Delivery pending for invoicing

    I want to know the T-code to see delivery made but pending for invoicing.

  • Hooking up new computer with existing Verizon DSL

    Hello, Bought a new desktop PC today, with Windows 7, replacing my old PC with Windows XP. Some **bleep** questions that I hope you experts can help me with. Will I simply be able to hook everything up on my new PC as on my existing PC and I'm good t

  • Correlation set was not defined in the process

    Hi All, I deplyoed a synchronous CustomerProviderABCS on SAO 11g server. This process is invoking the Adapter service(mediator) which internally calls the SAP Adapter. I didn't define any correaltion sets and I am not using pick activity. After deplo

  • ITunes Wish List error

    Items are not showing in my wish list, however, if I try to add items again, suggests they are already there. Anybody else having the same issues?