BUG: APEX 4.1 Application Builder: LOV query Source

APEX 4.1.0.00.32 on apex.oracle.com

The following SQL code is rejected as a dynamic source query LOV in the LOV Wizard (page 4007) and shared components > list of values (page 4111):
select lov_value lov_label, lov_value
from
  (select 'Mens' lov_value from dual
  union all
  select 'Womens' from dual
  union all
  select 'Accessories' from dual)
with
>
1 error has occurred
< li > LOV query is not valid, a display and a return value, column names must be different. If your query contains a query online, the first CLAUSE in the SQL statement must not belong to the query online.
>
Don't see how it violates the rules?

However, change in the body of a function that returns a SQL query and it is allowed on two pages:
return q'{
select lov_value lov_label, lov_value
from
  (select 'Mens' lov_value from dual
  union all
  select 'Womens' from dual
  union all
  select 'Accessories' from dual)}'
And the SQL of origin is recognized as a local of LOV definition to edit the Page item (page 4311).

Hello

I filed bug # 13520001 to change the checking logic of the wizard named LOV to use the same controls that we do on "Edit Item Page" (4311).

Concerning
Patrick
-----------
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf

Tags: Database

Similar Questions

  • APEX Bug: Creation Bug, or make the Application Builder

    In the page editing screen application Builder:

    -Click the icon of legend at top right (left of the lock icon)
    -You have the option to create a task, a bug, or comment
    -Click on a task or a Bug
    -Scroll on the pop-up screen and in a context of application they have no application or pages to choose from

    The problem disappears if you use the create menu (top-right)
    -Select this option to make or Bug
    -If you scroll on the pop-up screen in a context of application good application numbers and page are displayed.

    Martin
    -----
    http://www.talkapex.com

    Thanks Martin. It is now classified as Bug 10267913 to fix in the APEX 4.1.

    Joel

  • APEX documentation bug: Application Builder user's Guide

    Oracle Application Express Application Builder User® Guide version 4.0, Chapter 12
    >
    Look at debugging deport
    >

    Should read "display Debug reports."

    Please note this. I passed the information along the authors of application Express.

  • ORA-28112: failed to perform the function of guidance - error in the Application Builder

    Hey all,.

    I added a political function to one of my paintings, and now I get this error when I try to update a report region that refers to this table.

    "The query cannot be parsed into the generator. If you believe that your query is syntactically correct, check the generic "columns" box below the source of the region without analysis. "ORA-28112: failed to perform the function of guidance."

    If I remove the policy then everything works fine. My application works well with the policy in place. I just get these errors in the application builder when refreshing a report or a LOV that references the secured table.

    The analysis schema is APPL_USER.

    Here's the political function:

    FUNCTION DOCUMENT_TABLE_POLICY (object_schema IN VARCHAR2 DEFAULT NULL
    object_name IN VARCHAR2 DEFAULT NULL)
    RETURN VARCHAR2 IS
    v_nt_seq NUMBER;
    BEGIN
    IF use = "APPL_USER" or INSTR(user, 'ITFC_') = 1 THEN
    RETURNS A NULL VALUE.
    END IF;

    IF V ('APP_USER') IS NOT NULL THEN
    IF V ('F_NT_SEQ') IS NOT NULL THEN
    v_nt_seq: = V ('F_NT_SEQ');
    ON THE OTHER
    SELECT NT_SEQ
    IN v_nt_seq
    OF APPL_USERS
    WHERE UPPER (NT_ID) = UPPER (V ('APP_USER'));
    END IF;

    RETURN ' (DOCUMENT_TYPE, MANAGED_BY_ELEMENT, PROGRAM_CODE, CONTRACT_NUMBER) IN (SELECT DISTINCT R.DOCUMENT_TYPE, USL. ELEMENT, USL. PROGRAM_CODE, USL. CONTRACT_NUMBER OF USL, R IPRACA_SECURITY_ROLES IPRACA_USERS_SECURITY_LINK WHERE R.SECURITY_ROLE_SEQ = USL. SECURITY_ROLE_SEQ AND USL. NT_SEQ = ' | To_char (v_nt_seq) | ')';
    END IF;

    -UNAUTHORIZED USERS CANNOT SEE ANY DATA
    RETURN '1 = 0';
    END;

    This is how to set up the policy:

    BEGIN

    DBMS_RLS. () ADD_POLICY
    object_schema = > 'APPL_USER '.
    , object_name = > 'APPL_DOCUMENT '.
    , policy_name = > 'APPL_DOCUMENT_POLICY '.
    , function_schema = > 'APPL_USER '.
    , policy_function = > ' APPL_SECURITY. DOCUMENT_TABLE_POLICY'
    );

    END;


    Any help would be greatly appreciated!

    Thank you

    Jonathan Hart
    APEX 3.1.1

    It is possible that this raises an exception:

    SELECT NT_SEQ
    IN v_nt_seq
    OF APPL_USERS
    WHERE UPPER (NT_ID) = UPPER (V ('APP_USER'));

    Is there a line in APPL_USERS where NT_ID = ?

    Scott

  • Is it possible to change the theme of the Application Builder?

    Is it possible to change the theme of the Application Builder? There are themes for applications; What happened to the constructor itself? I looked but did not see a selection for that.

    I'm a Geek through and through, I guess, but I think that you might be retentive xxxx love all of these square boxes. And these old eyes squint to focus among the vast sea of shades of gray. Black on gray and gray on white gives me a pain in the eye!

    If this is not the case, is there a place where the suggestions like this are made. Thanks - Howard

    Hello

    Is it possible to change the theme of the Application Builder?

    The short answer is, no.

    You can offer this feature here
    https://Apex.Oracle.com/pls/Apex/f?p=55447:1

    Kind regards
    Jari
    -----
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • APEX 4.1 Filter IR LOV

    Hello!

    I noticed a small bug in APEX 4.1 and reproduced it successfully on apex.oracle.com.

    If you set the property 'Column filter Type' (list of values of the attributes of report region) in some interactive report, look for this column does not work.

    For example http://apex.oracle.com/pls/apex/f?p=18610:1

    Here I have 2 tables - master_table and detail_table. Detail table have foreign key mst_id. It is called LOV (select name, id from master_table) that I use in the column of the list of the values of the MST_ID of the interactive report.
    Try to search by clicking on the header MST_ID or the filter property in ID.

    BR,
    Marko

    Hello

    Your LOV returns by comparing what is the data type of column of the wrong data type.
    Also, your LOV query should return only a single column.
    >
    Definition list of values (a SQL query that returns an input column)

    Enter a SQL query that will be used to place an automatically generated query that selects the values in separate columns. The SQL query should return a single column. If the query returns multiple columns, only the first column will be used to display the list of filters of the values column. Entering a query SQL can improve performance in some reports. This list of values will be displayed when a user clicks a column header.
    >

    Kind regards
    Jari

    -----
    http://dbswh.webhop.NET/dbswh/f?p=blog:Home:0

  • In APEX 4.0 application reports

    Hello

    I upgraded to the 4.0 APEX and really enjoy new features. The only feature that I used to use in 3.2 is the 'applications reports' under tasks.
    It is mentioned in the help, but for the life of me I can't, someone else has it met?

    Excerpt from the help file:
    Access to the Bulk Edit point help report
    To view the report in bulk point Edit help:

    1. on the homepage of the workspace, click the icon of the Application Builder.

    2. Select an application.

    * 3. the list of tasks, click Application will appear

    This is the part that isn't here

    Any help would be appreciated.

    Thank you
    Connor

    We went all the reports and in bulk updates under the area they best fit. To change block aid, the page definition page, click on change all the icon, then on the utilities tab - you will see all the changes in bulk and special reports available for items. Same for the other types of objects. You can also get these utilities (new icon at the top right) page, in the right sidebar, you will find a list of all the utilities specific to the page.

    Ditto for shared components, grid edit lovs is now a tab under lovs.

    -Sharon

  • application builder error.llb

    Hi all

    I use the application builder to compile an executable from my VI. Compilation works without a hitch.

    However, when I try to launch the .exe subvis are missing three of error.llb: not found Dialog.vi, Dialog.vi to view details and the value string Value.vi

    The compiled .exe seems to be looking for these screws in instr.lib, which is not found in the compilation folder.

    This occurs even on my machine for development, on which, of course, the VI works well since in LabView.

    I missed something during the configuration of the compiler?

    Thank you in advance for your help!

    Nico

    I had this before, and it was reported by OR as a bug that just load a project that was built in an old version of LabVIEW and creating an application thereof. For me it was to load a project LV8.5 in 8.6.

    The only solution was to add the three missing from vi to the project and make sure that they are added to the list always included in the application builder.

    You will find these vi NIUninstaller Instruments\LabVIEW 8.x\vi.lib\Utility\error.llb program. Simply add them to your project, somewhere, and then in the application Builder makes sure that select you them as always included in the source files section, and then rebuild your application.

  • Standalone Application Builder CSCuv72535

    There was an open bug CSCuv72535 , followed by the SAB missing in the latest versions of CVP utility. According to me, it has been marked solved from 11.0.1, but again, I do not see the usefulness SAB 11.5 after that windows install.

    No one knows more about the resolution of CSCuv72535?  We want without 10.0 11.5 here but are fully integrated in a pipeline ICDT jenkins...  SAB is a requirement.

    Thank you

    Ryan

    The user guide for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5 (1)

    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cust_contact/contact_center/customer_voice_portal/cvp11_5/user/guide/CCVP_BK_13CF0982_00_115-vxml-server-user-guide/CCVP_BK_13CF0982_00_115-vxml-server-user-guide_preface_00.html

    History of changes

    This table lists and links to the changes to the present guide and gives the dates at which these changes have been made. First changes appear in the bottom lines.

    Change

    See

    Date

    Initial version of the document for version 11.5 (1)

    August 10, 2016

    Added new chapter for Standalone Application Builder

    Standalone Application Builder

    October 19, 2016

  • How to disable the popup LOV (query based LOV) tabular

    Hello

    I need help. I need to make a line in a table form the read-only AND disable the Popup LOV (LOV based query). As you can see in the code below all rows with a value of "AUD" becomes read-only. Column 5 is a Popup LOV (query based LOV), and must have become read only AND disabled also. Currently, the code performs the lines = "AUD" read-only, but the user can still click on the Popup LOV this line and select a value from the list, then updates the row.

    All solutions?

    function makeRowReadOnly() {}
    {$('select[name="f06"]').each (function ()}
    var row_val = $(this) .val ();
    ROW_ID var = $(this).attr('id').substr (4);
    If (row_val is "AUD")
    {
    $("#f02_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
    $("#f03_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
    $("#f04_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
    $("#f05_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
    $("#f06_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
    $("#f07_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
    }
    else {}
    $("#f02_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
    $("#f03_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
    $("#f04_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
    $("#f05_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
    $("#f06_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
    $("#f07_"+row_id) .attr ("readonly", false).removeClass('row_item_disabled');
    }
    });
    }

    Hi dekoke_i,

    I tried this on my local instance of APEX 4.2:

    function makeRowReadOnly() {
    $('select[name="f06"]').each(function() {
    var row_val = $(this).val();
    var row_id = $(this).attr('id').substr(4);
    if (row_val == 'AUD ')
      {
        $("#f02_" + row_id).attr("readonly", true).addClass('row_item_disabled');
        $("#f03_" + row_id).attr("readonly", true).addClass('row_item_disabled');
        $("#f04_" + row_id).attr("readonly", true).addClass('row_item_disabled');
        $("#f05_" + row_id).attr("readonly", true).addClass('row_item_disabled');
        //make the popup-lov button readonly
        $('#f05_' + row_id).closest('tr').find('td span.lov a').addClass('row_item_disabled').unbind('click');
        $("#f06_" + row_id).attr("readonly", true).addClass('row_item_disabled');
        $("#f07_" + row_id).attr("readonly", true).addClass('row_item_disabled');
      }
    else {
      $("#f02_"+row_id).attr("readonly", false).removeClass('row_item_disabled');
      $("#f03_"+row_id).attr("readonly", false).removeClass('row_item_disabled');
      $("#f04_"+row_id).attr("readonly", false).removeClass('row_item_disabled');
      $("#f05_"+row_id).attr("readonly", false).removeClass('row_item_disabled');
      //enable the popup-lov button
      $("#f05_"+row_id).closest('tr').find('td span.lov a').removeClass('row_item_disabled').bind('click');
      $("#f06_"+row_id).attr("readonly", false).removeClass('row_item_disabled');
      $("#f07_"+row_id).attr("readonly",false).removeClass('row_item_disabled');
      }
    }
    

    I hope this helps!

    Kind regards

    Kiran

  • 4.2 DOC BUG: all about the application process

    "There is an error in Oracle Application Express Application Builder User Guide version 4.2 §8.8.1 " "on the implementation of the application process":

    A process On Demand is a special type of procedure of demand that has a Point of On Demand process and executes when it is called from a process On demand page level or a browser AJAX call. On-demand processes are useful when you have logic of PL/SQL that you want to run different execution points on several pages.

    At the request of the process generally must be created on a page and not at the level of the application. On request, process created at the application level are created with an initial authorization scheme of must not be Public user. This prohibits the process invoked with users in authenticated sessions.

    As it is perfectly possible (and desirable) at the request of the application process to be invoked, [that] by authenticated users, this should probably read:

    A process On Demand is a special type of procedure of demand that has a Point of On Demand process and executes when it is called from a process On demand page level or a browser AJAX call. On-demand processes are useful when you have logic of PL/SQL that you want to run different execution points on several pages.

    At the request of the process generally must be created on a page and not at the level of the application. On request, process created at the application level are created with an initial authorization scheme of must not be Public user. This forbidden process be invoked from users not authenticated sessions.

    In addition, the second paragraph is a new addition to the documentation for APEX 4.2. What is the reasoning for not creating processes on request at the application level? I've used them for a few years as a way to provide reusable, application- wide (for example, the file downloads and the AJAX content) only items authenticated Apex sessions.

    Hello

    Thanks again. I added a note to the 5.0 docs.

    It is certainly very good create processes at the level of applications On Demand. However, if a process is tied to a single page, only, it is immediately obvious that the process belongs to the interface of this page. It's good from a maintenance point of view, because if you only use application-level processes, it may be more difficult to determine if the process is still in use and where it is called from.

    Kind regards

    Christian

  • What is the logic in the Application Builder

    Hi guys,.
    What is the logic in the application builder when you create a report for example. When we create a static report, we're going through these four steps:
    < ul >
    Display attributes
    Source
    Report attributes
    Conditional display < /ul >
    From the stage of 'Source', we can click on 'Create a report' and create the report...

    is there a table for each step... or there is a collection for each step. For example, when we click the button create collections are inserted into tables, then get emptied. ?????

    In my case, I have three real estate entities: owners, property and marketing. It goes like this:
    Enter the details of the owner, then click on create to go to the next page to enter the details of the property, then click on create to go to the next page to go into the details of marketing.

    I hope that my question is simple...

    Best regards
    Fateh

    Fateh says:
    Hi guys,.
    What is the logic in the application builder when you create a report for example. When we create a static report, we're going through these four steps:


      Display attributes
      Source
      Report attributes
      Conditional display

    From the stage of 'Source', we can click on 'Create a report' and create the report...

    is there a table for each step... or there is a collection for each step. For example, when we click the button create collections are inserted into tables, then get emptied. ?????

    In my case, I have three real estate entities: owners, property and marketing. It goes like this:
    Enter the details of the owner, then click on create to go to the next page to enter the details of the property, then click on create to go to the next page to go into the details of marketing.

    Who would be called a "Wizard" in the APEX (also frequently used in the Application Builder as you say). There is an 'Assistant' option when creating a new page that allows you to create and link the basic multiple page structure. Themes have "Assistant progress List" (horizontal) list templates (vertical orientation) and "Assistant list progression, horizontal Train' that can serve as indicators of progress of scene. You must build the content of each page using standard components. Once completed the "Wizard" there is nothing to indicate that the pages are linked logically, strangely, it generates a list of course assistant for you.

    Use Collections to store the data of intermediate stages before final treatment, if all the data is captured in a session. If you want persistence between sessions (e.g., allowing users to enter information over several days) use drafting/staging of the separate tables instead in more collections of capture data before final validation and promotion for the main tables.

  • LOV query

    How to get query "LOV" i.e. requisition approval path, LOV name is 'APPROVAL_PATH '. How to get this LOV query?

    Kind regards

    How to get query "LOV" i.e. requisition approval path, LOV name is 'APPROVAL_PATH '. How to get this LOV query?

    You can get the query by referring to (how to determine table and the name of the column to a field in a form in 11i [259722.1 ID]).

    Or, you could activate the trace and generate the TKPROF file and this will display the exact query used by the form - FAQ: Techniques of common tracing in the Oracle Applications 11i/R12 [296559.1 ID]

    Or, open the form using the Forms Designer and get the code.

    Thank you
    Hussein

  • APEX4.0 - How to get the Application Builder

    Hello
    I'm new to Apex and I installed Apex4.0 on XE Windows successfully. I could successfully connect you as an 'admin', with 'internal' workspace and see the four menus admin as 'Manage applications', 'Manage the Instance', 'Manage Workspaces', and 'manage activity '.


    Are there any special settings I do see "Application Builder", "SQLWorkshop" etc?

    Basically how to 'Application builder' all things developer.

    Any help is really appreciated.

    I tried "apex.oracle.com", for application builder, but I wish I had in my local machine.

    / regarding
    Murali

    Hello murali.

    You must first create a space of 'real' work and the connection to this workspace.
    To create a workspace, you connect to the internal workspace (i.e., administration of APEX) and follow the instructions as documented here [url http://download.oracle.com/docs/cd/B28359_01/appdev.111/b32258/adm_wrkspc.htm#CHDJFJFA].

    -Udo

  • Increase log idle time in the Application Builder

    Hello

    We have recently updated our version of the Apex to 3.2 and one of the things we see is that if the application builder has been inactive for a period of time when you want to do something new you must reconnect.

    Does anyone know where I can see what is the idle value and can I increase it?

    See you soon,.
    Paul.

    Hello

    This should help you
    http://www.inside-Oracle-apex.com/is-your-Oracle-Apex-session-timing-out/

    BR, Jari

Maybe you are looking for

  • Problem with not to print all pages in a document with a HP Photosmart 7520

    I have a HP Photosmart 7520 networked printer.  If I try to print a document of medium to large sized (25 pages), it prints the first 20 without problem, but the remaining pages are incomprehensible and illegible. Initially, because it appeared that

  • LENOVO bio-excess auto sign in to everything works first, use then stops working. What can be done to fix this?

    Hello My problem is auto connect with Lenovo bio excess. I have Yahoo as my homepage and am usually automatically connected when I connect. Initially, I pass my finger on finger print reader, everything works fine and I am automatically loged in my v

  • Slightly broken headphone jack

    Its got very loose over time, and now the sound a little cut if any small amount of pressure is put on the card. Its really annoying when I plug it into my sound system and it comes all together Cup but not so much with the headphones. It seems that

  • How can I check the elements into vectors.

    I have two vectors. SA €™ one is valid names. and another (vector2) consists of a string. I want to check if all elements of vector2 corresponds with the vector 1 or not. I want to do it in a method that uses these two vectors. the method returns tru

  • Need help to transfer photos from an SD card

    original title: help to transfer photos How can I import pictures on Windows 7 without import it all on my chip? I want to be able to choose which photos I want imported and where they are going. I receive also the import of settings option in the im