UIX LOV default query setting

When clicking on a flashlight next to an empty or blank “messageLovInput”, its "inputValue" being blank, the resulting LOV popup will show no records found. How can I set either the "inputValue" of the “messageLovInput” or search field in the LOV popup to a default value of “%”?
The LOV uix source is set to:
<listOfValues title="Data Source ID" searchText="${param.searchText}" searchAreaMode="filter">
I need to either set the “messageLovInput”, its "inputValue", to “%” or when the LOV popup is initiated to set its “searchText” to “%”. When set to “%” the LOV will show all records available in the LOV.

Hi Ed and Karyn,
Ed, in your example you add <parameters> tag for every search column of the table. I just use one in my application and it works. I hope my example will help :)
<messageChoice name="filterBy">
<contents>
<option text="Department ID" value="DEPARTMENT_ID"/>
<option text="Department name" value="DEPARTMENT_NAME"/>
</contents>
</messageChoice>
<event name="lovFilter">
<compound>
<null/>
<invoke method="setWhereClause" instance="${bindings.DepartmentsView1.viewObject}" javaType="oracle.jbo.ViewObject">
<parameters>
<parameter javaType="string" value="${empty param.filterBy ? 'DEPARTMENT_ID' : param.filterBy} LIKE '%${param.searchText}%'"/>
</parameters>
</invoke>
<invoke method="executeQuery" instance="${bindings.CustId.viewObject}" javaType="oracle.jbo.ViewObject"/>
</compound>
</event>
'DEPARTMENT_ID' in <parameter> is just a default value in case param.filterBy is null.
Note that I use value property of Choice to assign a table column for whereclause and text property for choice description. So you can write whatever in text to help user.
Also I have a question. I need my LOV window to be called from different UIX pages. Do you have an example of this? The problem is in updating different UIModels from one LOV window. At forum I was advised to write event handler to update provider depending on source parameter. But unfortunatly I don't know how to do so.
Thank you in advance.

Similar Messages

  • POWL Default Query

    Hello Experts,
    We just upgraded to ERP 6.0 EHP6 SP11 and activated business function HCM_ERC_CI_4 in our development system.  After doing so, the default query on the Recruiter dashboard is no longer "My Open Requisitions;" it is now "Open Background Checks."  I am describing the situation when the Recruiter has never themselves specified a default query using the Personalize feature on the Recruiter dashboard.  Therefore, the system would default them to “My Open Requisitions.”  This is no longer happening.
    How do I make the system go back to using “My Open Requisitions” as the system default?
    Thank you for your help.
    Regards,
    John Holland

    Hi Nicole,
    Thank you for the suggestion.  I ran POWL_D01 on a couple of users in our development system.  It did cause their default query to now be "My Open Requisitions."  This is perfect for someone who has not specified a default query themselves.  However, it had two affects that are not desired.  I had my default query set to “Open Team Requisitions” along with a custom view I defined.   After running POWL_D01 for me, it removed my selection for “Open Team Requisitions” so that I now do not have a default query specified under Personalize.  It also removed the custom view I created and had set as my default.
    So the two problems are:
    1. Elections that Recruiters make under Preferences as their default query are deleted.
    2. Custom views that Recruiters create are deleted.
    The behavior that is desired is that any one who has specified a default query would not have that election changed.  Also, custom views would not be deleted.  Only Recruiters who have NOT specified a default query would have their default reset to "My Open Requisitions."
    How do we accomplish this?
    Thanks for your help.
    Regards,
    John

  • SAP POWL - set default query

    Hi,
    I am working on SAP travel and expenses component, and I want to set the default POWL query to All My Expense Reports instead of All My Travel Requests on the My Trips and  Expenses Page.
    The 'personalize' option provided will only change default query for my user, I want to personalize it for all end users. I tried Administrator personalization of Web Dynpro component but it won't work.
    Any idea how can we change the default query within POWL. I checked SPRO configuration too (POWL_QUERY, POWL_QUERYR, etc), but none of them provides functionality to set default query.
    Thanks,
    Deepa Balani

    Hi,
    This might be (I'm not completely sure) that by running it once for the user with the old order it has then saved this order in the user's personalisations/preferences. I remember having issues when I was adding queries to applications that user's that I had previously used were not getting them. I think I resolved this by deleting all the saved POWL references for the user, I think this may have been personalization, but it also may have been other tables (sorry was a while ago). After doing this the issue was fixed.
    To test if this is the case - I could suggest creating a new user id and logging on with that - check if the problem is sorted for that user first - if it is then go down the path of trying to remove saved preferences for your existing users.
    Hope this helps,
    Chris

  • Escaping Single Quotes in UIX LOVs

    Hello all,
    I am creating an application using ADF and UIX. In the system, I am using the standard UIX LOV, and I am curious if there is an existing way of handling single quotes entered by users in the search area. By default (at least in my case), single quotes cause an error in the SQL query, so I would like to escape them before the query is run. I attempted to override the onLovFilter method to handle this, but it seems like the LOV window does not actually fire any events or call overridden methods. I also overrode prepareMode to simply output "hello" when it is called, to test if any events were really being fired, but my method looks like it is simply being ignored. Is there a simpler way to avoid troubles caused by single quotes? Or can anyone help me override methods in LOVs? Thanks in advance.
    Regards,
    John

    No. Please use PreparedStatements. That is theonly
    correct answer to this question.Ok please tell us. how would you use prepare
    statement.. no just say USE PREPARE STATE.. givethe
    guy the code... or help..What size spoon would you like to be fed with? There
    was nothing about gob size in the original post.
    http://www.javaalmanac.com
    well duffymo.. i think you gave a link, is quite of help, but my friend preparestatement just gave "use preparestatement"..
    i think even you when you start coding you needed help... and some one just tell you use preparestatement how do you feel..
    There is a level of help. i think it will be (((as much as you can)))

  • How to Enable the LOV to query for partial user entries in af:query in an ADF search form

    Hi guys,
    I have faced one issue in creating a search form in ADF, in that I have used af:query and table region. and I have attached an lov vo to the base vo for the list of values and given UI hint as Input values with List of values. Now the issue is that I have given auto submit property as true so when I give some value suppose "Jan-14" and tab out it gives me all the correct results. but if I give like "Jan%" and then tab out then it does not give me any value. Could you kindly help me with some solution. I am using Jdev 11.1.1.6.0.
    Thanks,
    Tanmoy

    To enable the LOV to query for partial user entries, we can trap the 'LaunchPopupListener' event and add custom code there. Within the af:query component, just wondering how can we set property the 'LaunchPopupListener' for the search criteria ?

  • Default Query or Workbook on BEx Open

    Is there a way for individual users to set a default Query or workbook to execute when they open BEx?

    Hi
    There is a way to do it using Windows functionality.
    right click on the Analyzer icon and add the full path name of the work book (which is saved on the local PC) in the Target text box.
    You can also open the saved work book and then run the Analyzer.
    I don't think there is a way to do it via the BW server.
    Thanks Edan

  • Default Query Template - Graph axis label alignment

    We have BW3.1 and are using a modified Default Query Template. I am trying to set the alignment of the labels on the x-axis to diagonal (bottom-left to top-right) and although the preview shows the correct alignment, when used in conjunction with a query it defaults to vertical.
    It works fine if I develop a specific web template for a query, but not for adhoc queries.
    Any suggestions?

    I'm guessing this happens at 30 degrees as well: Bug 10199188 : CHARTS X AXIS LABEL IS BLURRED AT 45/60 ANGLE
    This bug was apparently fixed in the 11.1.1.6.6 Patch Set. Oracle Support does not have a workaround for this either.
    Please award points if helpful/correct.

  • [ADF UIX] LOVs, what does the "dot" path expression do?

    Hi
    In developing an ADF UIX web page, I've let JDeveloper create a messageLovInput on the "ExternalSource" field for me as follows:
    <messageLovInput
    model="${bindings.ExternalSource}"
    id="${bindings.ExternalSource.path}"
    destination="refCodesExternalSourceLevelOneLov.uix"
    partialRenderMode="multiple"
    partialTargets="_uixState"/>
    You'll notice that the id is set to blah-de-blah ".path". I can't find mention in the documentation of what the .path does. I think it should be documented in the section "About the Properties of the ADF Bindings" but has been excluded.
    Does anybody have any idea what this binding value provides? And specifically what functionality it provides in the id as a apart of a messageLovInput?
    Thanks!
    CM.

    Or to be more specific, the messageLovInput supplying the following ID with ".path":
    <messageLovInput
    model="${bindings.DepartmentId}"
    id="${bindings.DepartmentId.path}"
    destination="lovWindow0.uix"/>
    ...is used by the LOV lovSelect event "SET" call target property below in returning a value to the calling page?
    <event name="lovSelect">
    <set property="inputValue"
    value="${bindings.DepartmentId.inputValue}"
    target="${data.departmentsUIModel.DepartmentId}"/>
    </event>
    .....and trying something like the following to return more than one field to the calling page would be pointless:
    <event name="lovSelect">
    <compound>
    <set property="inputValue"
    value="${bindings.DepartmentId.inputValue}"
    target="${data.departmentsUIModel.DepartmentId}"/>
    <set property="inputValue"
    value="${bindings.DepartmentName.inputValue}"
    target="${data.departmentsUIModel.DepartmentName}"/>
    </compound>
    </event>
    ..... as the calling messageLovInput can only supply one ID .path?
    Oops, sorry, I hope that isn't too long winded. It's at the end of a very long day for me.....
    Thanks for your help!
    CM :)

  • SQL Query Set

    Hi,
    I am building a LOV in Designer based on one table usage and
    I am adding an SQL Query Set based on another table to create an UNION on those two tables.
    When I generate, I get :
    CDG-03485 ERROR: SQL Query Set TEST.LOV.UNION: Inconsistent item datatypes or wrong number of items in query set
    Where can I find help on how to use SQL Query Set ? Or how can I solve this problem ?
    Thank you,
    Denise

    The problem has been solved...

  • Expert Mode ViewObject: default 'query by example' mechanism does not work

    In JDeveloper 11G 1.1.1
    I have created an Expert Mode view object(VO) which I'm trying to filter in an ADF Swing Panel
    The Panel contains a Swing Table created by dropping a VO data control on the panel as an ADF bound Swing Table.
    TEST
    Run the panel.
    Set the Query Mode on (from the Database menu)
    Enter a relevant view criterion
    Execute the Query
    TEST FAILS
    Table is refreshed but it still displays the entire VO collection (non-filtered).
    Repeating the same experiment with a default, entity object generated VO works as expected.
    Question
    Can the default 'query-by-example' mechanism as provided by the JUTestFrame and the JUNavigationBar be used with Expert Mode view Objects?
    If yes are there any tricks to making this work?

    Hello Frank;
    Additional TEST RESULTS
    In JDev11G
    The default 'query by example mechanism' does not work if you create a new View Object using the <Select data source...> option <Read-only access through SQL query>.
    However, IT DOES WORK if you create a new ViewObject selecting <Updatable access through entity objects> and in the Query step you select <Expert Mode>
    Could you please check and confirm.
    Thanks!
    Ioannis
    Edited by: imouts on Dec 5, 2008 1:38 PM

  • Default query for POWL

    Hello POWL experts!
    I have created a couple of predefined POWL queries in transaction POWL_QUERY,
    but I cannot find the way to set the default query which is executed automatically at my POWL application startup.
    Does anyone know, how could I set it?
    ( Currently, the first query in the alphabetical order is executed by default. )
    Another question:
    When the application is started, the Quick Criteria Maintenance on POWL should be shown by default.
    Is it possible to set it somehow?
    BR,
    Laszlo

    Hi John,
    1.     Start transaction SE80 and create WD Application for your POWL WD Component, if you have not yet created
         (right click on WD Component -> Create -> Web Dynpro Application)
    2.      Right click on newly created WD Application -> Create/Change configuration
    3.     Web Dynpro Configuration Editor will start up
         (please note that we could have diferrent versions of WD configuration editor, so its layout could be different)
    4.     Choose a name for your configuration.
         Fill in the 'Configuration ID' field with e.g. {WD Application name}_APP_CONF and click on 'Create'
         Now you have an Application configuration for your WD Application
    5.     Create Component configuration within Application Configuration.
         At this point I see a table in my configuration editor which contains the sub-components of the POWL component.
         Select CMP_POWL sub-component row. 'Configuration' field needs to be filled in here. e.g. {WD Application name}_COMP_CONF
         Click on 'Go to component configuration'.
    6.     Click on 'Create'.
    7.     Select the node 'confData' on 'Explicit Configuration' tab
    8.        You have the following configuration possibilities:
         Application
         Query ID
         Layout
         defaultVisibleColCount
         defaultVisibleRowCount
         ... etc.
         Fill in 'Query ID' field with the desired default query Id.
    9.     Optional: you can create 'typeSpecific' nodes for POWL type specific configurations
         Right click on 'confData' node -> Create -> typeSpecific
    10.     Save your configuration
    11.     When you get back to the SE80 and click the refresh button above the object tree, your configurations will appear
    12.     You can test the configuration by right click and 'Test'
    Regards,
    LL

  • Default Query area to 'standard area' in Quary

    Hi Guys,
       Our company just upgrade from 4.6C to ECC6. In the query environment (SQ01), everytime we want to enter sq01 we must change the query area (Environment --> Query Areas) to 'standard area'. Can anybody guide me how to set as default to 'standard area' . Currently it's default to 'GLobal area'.
    Thanks in advance...
    -akma-

    Hello
    Try to insert parameter AQW as 'blank' in your user paramters. Also you can insert a default query group via paramater AQB.
    BR
    Søren Kirch
    LOGSTOR

  • Default query save location in SSMS 2012

    So, finally, is there a way to change SSMS 2012 default query save location?
    Scenario:
    1. Open SSMS
    2. Create new query
    3. Click Save
    I see "Documents\SQL Server Management Studio" folder, but I want to change it to be "d:\". How do I do this?
    I tried:
    1. http://visualstudiohacks.com/options/changing-the-my-projects-folder-location-and-other-settings-in-ssms/ - in folder "Documents\SQL Server Management Studio\Settings\SQL Server Management Studio\" there is a file NewSettings.vssettings,
    setting it to "d:\" or "d:\\" didn't help.
    2. Changing HKEY_CURRENT_USER\Software\Microsoft\Microsoft
    SQL Server\100\Tools\Shell VisualStudioProjectsLocation didn't help too. There is no "Shell" under "110\Tools\"
    Did I do something wrong, or is there another way?

    try this
    http://visualstudiohacks.com/options/changing-the-my-projects-folder-location-and-other-settings-in-ssms/
    Regards,
    Praveen D'sa
    MCITP - Database Administrator - 2008
    sqlerrors
    Hi Praveen,
    Based on my test, the solution in the link your post  works in SSMS of SQL Server 2005, 2008 and 2008 R2 version. However, in SQL Server 2012, the configuration of SSMS is changed. 
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Oracle Inventory: How to change default category set of items

    Hi,
    We have a requirement where we need to change the default category set of functional area inventory in oracle as we are importing new items into inventory whihc need to be assigned to a new default category set.There is an existing default categpory set for this area.
    As far as i understand once a default category has been set up and an item has been defined, the only way to change the default category set for a given functional area is to update all items with the new default category set before updating the default category set/functional area relationship.
    How exactly do we update the defaul category set for an existing item and change it to a new one. Since we have close to 15K items what is the best way to do this.Is there ay API available?
    Thanks in Advance
    AM

    Hi Helios,
    Thanks a lot for your response
    The fix given in this document is to allign all the exisitng items to a category set (purchasing in this case). This is exactly what my doubt is. How to assign 15k items to a different category set. If i am able to allign these items i can change the default category of the functional area.
    Thnaks
    AM
    PS: i am using 11.5.10.2

  • List View Web Part - Default Chrome Setting

    In our environment, the "Default" chrome setting does not display the title or the border on our list view pages. We have tried Oslo and Seattle master pages and neither displays this to the end user. We do see the title in Edit mode, but
    not once the page is saved. If we switch it to Title Only, it does display.
    Is this the correct behavior? If so, is there an easy way to change the chrome setting to "Title Only" for the list view web parts in one particular web application when a view is created?

    That is the default behavior.  normally, the listview web part is on a page where the title of the library is displayed on the page, which would make it redundant to display it in the web part only.  I don't know any way to change this behavior
    by default when creating a new view.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

Maybe you are looking for

  • Functional Module for Free Goods Determination

    Dear Experts,          What is the standard Functional module used to determine  Free goods in sales order creation. Thanks & Regards Parviz

  • Can't connect to my Windows XP computer

    Everything worked flawlessly with the MacBook, but of course now that I bought the MacBook Pro and reformatted my MacBook, I can't get into my Windows XP computer. I turned off the Windows firewall to help in troubeshooting. I get the message: "The a

  • I can't find the "Authorize Computer" button

    Okay, it sounds kinda stupid, but I seriously can't find it. Somebody help me?

  • What are the new features of OS X 10.9?

    i installed the new update of about 5.6 GB(sorry i forgot what was the exact number after . point) and got OS X 10.9 installed . now i can see the colourfull tag in every folder. what are the usefull features of OS X 10.9 from its privous version bec

  • Connection problems after waking from sleep????

    I'm having a strange issue with my 2012 Macbook Pro running OSx v10.8. I take my computer with me between home and school, and I usually just put it to sleep during the commute. For the last few weeks, when I got to school and woke up my MBP, it woul