Apex_application_lovs/apex_application_lov_entries

Hi,
I made an application using Apex 3.1 on 10g XE.
I made an export with supporting objects.
Almost everything is working except 1 thing.
I can't view my application LOVs in these views apex_application_lovs/apex_application_lov_entries.
The LOVs are working for items such as select list. But the LOVs are not accessible from my SQL.
Thx,
Louis-Guillaume
Homepage : http://www.insum.ca
Blog : http://insum-apex.blogspot.com
Message was edited by:
lgcarrier

Hi Scott,
I'll try to explain more! :)
I move my application to apex.oracle.com using an "export with supporting objects". My application has a static list of values named LOV_LANGUES (shared components).
I can't see this LOV inside the views apex_application_lovs/apex_application_lov_entries
I want to use this query has my sql report source:
SELECT *
FROM apex_application_lov_entries aale
WHERE aale.application_id = :APP_ID
I have a no data found and I don't understand why... in my other environment it's working
Thx,
Louis-Guillaume
Homepage : http://www.insum.ca
Blog : http://insum-apex.blogspot.com

Similar Messages

  • Shared Components - Comments - which View?

    I am trying to find which APEX view holds the field for Shared Components - Comments. On the Shared Components page, there is a COMMENTS link. Which APEX view stores those comments? It seems like it would be stored in APEX_APPLICATIONS view, but i don't see the comments field there.
    Thanks for your help,
    John

    Hi,
    A useful query to know which views have comment column is the following:
    select apex_view_name, column_name from apex_dictionary where COLUMN_NAME LIKE '%COMMENT%';
    APEX_VIEW_NAME                COLUMN_NAME
    APEX_APPLICATION_AUTHORIZATION      COMPONENT_COMMENT
    APEX_APPLICATION_BC_ENTRIES      COMPONENT_COMMENT
    APEX_APPLICATION_BREADCRUMBS      COMPONENT_COMMENT
    APEX_APPLICATION_BUILD_OPTIONS      COMPONENT_COMMENT
    APEX_APPLICATION_COMPUTATIONS      COMPONENT_COMMENT
    APEX_APPLICATION_GROUPS      GROUP_COMMENT
    APEX_APPLICATION_ITEMS           COMPONENT_COMMENT
    APEX_APPLICATION_LISTS           COMPONENT_COMMENT
    APEX_APPLICATION_LIST_ENTRIES      COMPONENT_COMMENT
    APEX_APPLICATION_LOVS           COMPONENT_COMMENT
    APEX_APPLICATION_LOV_ENTRIES      COMPONENT_COMMENT
    APEX_APPLICATION_NAV_BAR      COMPONENT_COMMENT
    APEX_APPLICATION_PAGES           PAGE_COMMENT
    APEX_APPLICATION_PAGE_BRANCHES      COMPONENT_COMMENT
    APEX_APPLICATION_PAGE_COMP      COMPONENT_COMMENT
    APEX_APPLICATION_PAGE_PROC      COMPONENT_COMMENT
    APEX_APPLICATION_PAGE_REGIONS      COMPONENT_COMMENT
    APEX_APPLICATION_PAGE_RPT      COMPONENT_COMMENT
    APEX_APPLICATION_PAGE_RPT_COLS      COLUMN_COMMENT
    APEX_APPLICATION_PAGE_VAL      COMPONENT_COMMENT
    APEX_APPLICATION_PAGE_BUTTONS      COMPONENT_COMMENT
    APEX_APPLICATION_PAGE_ITEMS      COMPONENT_COMMENT
    APEX_APPLICATION_PARENT_TABS      COMPONENT_COMMENT
    APEX_APPLICATION_PROCESSES      COMPONENT_COMMENT
    APEX_APPLICATION_SHORTCUTS      COMPONENT_COMMENTS
    APEX_APPLICATION_SUPP_OBJ_BOPT      DEVELOPER_COMMENT
    APEX_APPLICATION_TABS           COMPONENT_COMMENT
    APEX_APPLICATION_TEMP_BC      COMPONENT_COMMENTS
    APEX_APPLICATION_TEMP_BUTTON      COMPONENT_COMMENT
    APEX_APPLICATION_TEMP_CALENDAR      COMPONENT_COMMENT
    APEX_APPLICATION_TEMP_LABEL      COMPONENT_COMMENT
    APEX_APPLICATION_TEMP_LIST      COMPONENT_COMMENT
    APEX_APPLICATION_TEMP_PAGE      COMPONENT_COMMENT
    APEX_APPLICATION_TEMP_POPUPLOV      COMPONENT_COMMENT
    APEX_APPLICATION_TEMP_REGION      COMPONENT_COMMENT
    APEX_APPLICATION_TEMP_REPORT      COMPONENT_COMMENT
    APEX_APPLICATION_TRANSLATIONS      DEVELOPER_COMMENT
    APEX_APPLICATION_TRANS_MAP      TRANSLATION_COMMENTS
    APEX_APPLICATION_TRANS_MAP      TRANSLATION_MAP_COMMENTS
    APEX_APPLICATION_TREES           COMPONENT_COMMENTRegards,

  • Referencing static LOV from plsql

    I have a number of static LOV's. How can I reference these in PL/SQL.
    For example, I am creating a report using PL/SQL so that I can create the exact layout I require. The data uses a number of list of values so I need to convert the value fields into the displays fields from the list of values using PL/SQL.
    How?

    Jezzer,
    It will depend on your version. If you are using 2.2 or 3.0, you could use the view APEX_APPLICATION_LOV_ENTRIES to access your lov values. It will automatically be limited to the workspace that your schema is associated with and then you can further qualify with the APPLICATION_ID and LIST_OF_VALUES_NAME. To see the view, navigate to Utilities > Application Express Views and query on lov.
    -- Sharon

  • SQL Select on Static LOV

    Hi,
    Im using XML Publisher to produce PDF Reports from my APEX application. Im using XLIFF to translate my application.
    I need to decode some code values that may be multi-lingual from my application with SQL to produce the reports in XML Publisher.
    Is it possible to access your Static Application LOVs from SQL? (Maybe some APEX Function??)
    If it is possible can you also access your translated Static LOVs from SQL?
    Thanks in advance!
    -Immanuel

    If you are running 3.0, the views are exposed in Utilities > APEX Views.
    I just checked and we have specifically excluded the translated applications from the views - we will rectify that in some way in a future release. For now, I suggest you:
    <ol><li>search your install for this file - apex_views.sql</li>
    <li>copy the create statement for APEX_APPLICATION_LOV_ENTRIES</li>
    <li>change the name of the view (so that you won't overwrite the one you have)</li>
    <li>remove the following from the where clause
    and not exists (
    select 1 from wwv_flow_language_map
    where translation_flow_id = f.id)
    </li>
    <li>run the statement as FLOWS_030000 (using either SQL*Plus or SQL Developer)</li>
    <li>grant access on the new view to public (and create a public synonym if you don't want to qualify with FLOWS_030000)</LI>
    </ol>
    You will now have a view that will have all your lov values and you can join by the translated application id to find the rows you need. Given that this is so specific, you could even customize your new view further to provide you just what you need, without all the extra columns.
    Hope it helps -
    -- Sharon

  • LOV query reuse

    Hi,
    I've developed an application using cascading select list based on static LOVs.
    Now I'm trying to switch to an Ajax solution to avoid entire page refresh.
    I saw that I should make a PL/SQL on demand process for each select list with a
    FOR cursor over the same query I have already defined into the LOV.
    Is there any way to refer to the query string defined into the LOV?
    Thank you in advance
    Davide

    Hi Dan,
    You don't have to use execute immediate to run a query from a string - you can use REF CURSOR. Assume you have an LOV called EMP_LOV set up as "SELECT ENAME d, EMPN r FROM EMP". You could use:
    DECLARE
       TYPE EmpCurTyp IS REF CURSOR;
       emp_cv   EmpCurTyp;
       vENAME VARCHAR2(100);
       vEMPNO NUMBER;
       vQUERY VARCHAR2(1000);
    BEGIN
       SELECT LIST_OF_VALUES_QUERY INTO vQUERY FROM APEX_APPLICATION_LOVS WHERE APPLICATION_ID = :APP_ID AND LIST_OF_VALUES_NAME = 'EMP_LOV';
       OPEN emp_cv FOR vQUERY;
       LOOP
         FETCH emp_cv INTO vENAME, vEMPNO;
         EXIT WHEN emp_cv%NOTFOUND;
         HTP.P('Name: ' || vENAME || ' Id: ' || vEMPNO || '<BR>');
       END LOOP;
       CLOSE emp_cv;
    END;As I haven't used any WHERE clause in the LOV, I could add one in the process. Or, I could retrieve data from differently named LOV's depending on the circumstances. For example, if I only wanted a list of EMPs with DEPTNO = 10, I could append "WHERE DEPTNO = 10" or I could have an LOV called "EMP_IN_DEPT_10_LOV" and get the statement for that instead of EMP_LOV.
    But, I think I would do the same as you and enter the query in the process directly.
    Andy

  • How to get a list of named LOV's

    How can I get a list of named LOV's that i created in my App? (A query) just similar to the select list that appears when we try to create a LOV. I hope I am clear
    Edited by: vmk on Jul 24, 2012 3:54 PM

    vmk,
    Try the APEX View APEX_APPLICATION_LOVS
    select * from APEX_APPLICATION_LOVS
    where application_id = &APP_ID.Jeff

  • How to find out in which items, pages a function/procedure,.. will be used?

    I'm searching for the answer for:
    Are there any script tools which find all place in apex , where functions/ packages/ procedures be used ?
    -> want find where p_my_function is using. (Item level, page level, ....)
    Thank in advanced
    Hendrik
    Edited by: Hendrik Schmidt on Dec 13, 2010 12:46 AM

    Based on the APEX views (*Home > Utilities > Application Express Views*) I've been using this, run in the parsing schema for the application. It's set up to look at one application at a time as this is the best fit for our requirements:
    with search as (
          select :search_term search_term from dual)
      , app_source as (
          select
                    'Application Computation' component
                  , null                      page_id
                  , null                      sequence
                  , aac.computation_item      name
                  , null                      point
                  , aac.computation_type      type
                  , to_clob(aac.computation)  source
                  , s.search_term
          from
                    apex_application_computations aac
                  , search                        s
          where
                    nvl(aac.condition_type, 'None') != 'Never'
          and       (   aac.computation_type like 'SQL%'
                     or aac.computation_type like 'PL/SQL%')
          and       regexp_like(aac.computation, s.search_term, 'ni')
          union all
          select
                    'Application Process'
                  , null                
                  , aap.process_sequence
                  , aap.process_name    
                  , aap.process_point   
                  , aap.process_type    
                  , aap.process         
                  , s.search_term
          from
                    apex_application_processes  aap
                  , search                      s
          where
                    aap.application_id = :app_id
          and       nvl(aap.condition_type, 'None') != 'Never'
          and       regexp_like(aap.process, s.search_term, 'ni')
          union all
          select
                    'Application Tree'
                  , null
                  , null
                  , aat.tree_name
                  , null
                  , null
                  , to_clob(aat.tree_query)
                  , s.search_term
          from
                    apex_application_trees  aat
                  , search                  s
          where
                    aat.application_id = :app_id
          and       regexp_like(aat.tree_query, s.search_term, 'ni')
          union all
          select
                    'LOV'
                  , null
                  , null
                  , aal.list_of_values_name
                  , null
                  , null
                  , to_clob(aal.list_of_values_query)
                  , s.search_term
          from
                    apex_application_lovs aal
                  , search                s
          where
                    aal.application_id = :app_id
          and       aal.lov_type = 'Dynamic'               
          and       regexp_like(aal.list_of_values_query, s.search_term, 'ni')
          union all
          select
                    'Page Process'
                  , aapp.page_id
                  , aapp.execution_sequence
                  , aapp.process_name     
                  , aapp.process_point    
                  , aapp.process_type     
                  , aapp.process_source   
                  , s.search_term
          from
                    apex_application_page_proc  aapp
                  , search                      s
          where
                    aapp.application_id = :app_id
          and       nvl(aapp.condition_type, 'None') != 'Never'
          and       regexp_like(aapp.process_source, s.search_term, 'ni')
          union all
          select
                    'Page Region'
                  , aapr.page_id
                  , aapr.display_sequence
                  , aapr.region_name     
                  , aapr.display_position
                  , aapr.source_type     
                  , aapr.region_source   
                  , s.search_term
          from
                    apex_application_page_regions aapr
                  , search                        s
          where
                    aapr.application_id = :app_id
          and       aapr.source_type in ('Report', 'PL/SQL', 'Tabular Form', 'Tree')
          and       nvl(aapr.condition_type, 'None') != 'Never'
          and       regexp_like(aapr.region_source, s.search_term, 'ni')
          union all
          select
                    'Page Item'
                  , aapi.page_id
                  , aapi.display_sequence
                  , aapi.item_name
                  , aapi.region
                  , aapi.item_source_type
                  , to_clob(aapi.item_source)
                  , s.search_term
          from
                    apex_application_page_items   aapi
                  , apex_application_page_regions aapr
                  , search                        s
          where
                    aapi.region_id = aapr.region_id
          and       aapr.application_id = :app_id
          and       nvl(aapi.condition_type, 'None') != 'Never'
          and       nvl(aapr.condition_type, 'None') != 'Never'
          and       (   aapi.item_source_type like 'SQL%'
                     or aapi.item_source_type like 'PL/SQL%')
          and       regexp_like(aapi.item_source, s.search_term, 'ni')
          union all
          select
                    'Page Computation'
                  , aapc.page_id
                  , aapc.execution_sequence
                  , aapc.item_name
                  , null
                  , aapc.computation_type
                  , to_clob(aapc.computation)
                  , s.search_term
          from
                    apex_application_page_comp  aapc
                  , search                      s
          where
                    aapc.application_id = :app_id
          and       nvl(aapc.condition_type, 'None') != 'Never'
          and       (   aapc.computation_type like 'SQL%'
                     or aapc.computation_type like 'PL/SQL%')
          and       regexp_like(aapc.computation, s.search_term, 'ni')
          union all
          select
                    'Page Validation'
                  , aapv.page_id
                  , aapv.validation_sequence
                  , aapv.validation_name
                  , null
                  , aapv.validation_type
                  , to_clob(aapv.validation_expression1 || '/' || aapv.validation_expression2)
                  , s.search_term
          from
                    apex_application_page_val  aapv
                  , search                     s
          where
                    aapv.application_id = :app_id
          and       nvl(aapv.condition_type, 'None') != 'Never'
          and       (   aapv.validation_type like 'SQL%'
                     or aapv.validation_type like 'PL/SQL%')
          and       regexp_like(aapv.validation_expression1 || aapv.validation_expression2, s.search_term, 'ni'))
    select
              page_id
            , component
            , sequence
            , name
            , point
            , type
            , search_term
            , count(*) over (partition by search_term) func_use_count
    from
              app_source
    where
              search_term is not null
    order by
              page_id nulls first
            , component desc
            , sequence
            , name
            , point
            , type;Edited by: fac586 on 13-Dec-2010 09:14
    Note that this is on an APEX 3.0 installation. There may be more potential locations to be checked in later versions.

Maybe you are looking for

  • Email submit button created in LC ES2 causes Acrobat and Reader to crash

    I've created a form in LC ES2, and included an email submit button. When I open this form in Acrobat Reader 10.1.3, click the submit button, and specify "Desktop Email Application," as opposed to the "Internet Email" option, no email is generated, Re

  • Find out the sql query for special characters.

    Hi, I have the emp table with column name first_name.In that table i have lot records with first_name inlcudes the below mentioned special characters. ¡ , ¿, ,Ä,Å,ä,ª,À,Á,Ã,à,á,ã,å,Æ,æ,Ç,ç,È,É,Ê,Ë,è,é,ê,ë,Ì,Í,Î, Ï,ì,í,î,ï, Ñ,ñ, ô, º, Ò, Ó, Ô, Õ, Ö, Ø

  • 10.3.5 sluggish on my iMac (and some other newbie questions)...

    I just purchased an iMac, and am brand-new to Macs. I can do anything on a PC, and actually do PC tech support for a living, so you can imagine that I feel completely ridiculous asking some of these questions, but here goes: 1. How do I copy and past

  • Yosemite runs pretty slow

    Can someone tell me what's going on with my mac book pro? It runs pretty slow (internet, programs, boot) I ran etrecheck but have no clue what it means? Any help? EtreCheck version: 2.1.8 (121) Report generated 17. Februar 2015 01:07:26 MEZ Download

  • HT201363 I can't access my account

    because of the security question and I am from libya so can't call Technical support and my email on yahoo is expired. can you just please delet my security questions