Apex 4.2.1 - reserved application ID?

APEX 4.2.1 Oracle 11 GR 1 material

We have some 200 and 201 application ID in a workspace. We needed to clone 201 from a previous version in vs. So I pulled the version of VSS, ran the following to install it as an application 202 (id is not used in this case) as follows
DECLARE
    l_workspace_id INTEGER;
begin  
  select workspace_id into l_workspace_id  from apex_workspaces where workspace = 'FOO'; 
  apex_application_install.set_workspace_id(l_workspace_id);
  apex_application_install.set_application_id(202);  
  apex_application_install.generate_offset;  
  apex_application_install.set_application_alias( 'F' || apex_application_install.get_application_id );
end;
/
@f201.sql
No errors. I type in 202:22 in the search at the top right of the manufacturer, the page looks very good. I click on the Application Builder link in the breadcrumbs and find that 202 is not listed in the list of applications! I scratch my head. Search for the 202:22 APEX_APPLICATION_PAGES and there is no. But there is no entry in APEX_APPLICATIONS for 202! I scratch my head even more.

Digging into the source code for APEX_APPLICATIONS and a process of elimination, leads to the incriminated in where clause predicate.
  /* keep this not exists */
  and not exists ( select 1
                     from wwv_flow_language_map m
                    where m.translation_flow_id = f.id);
The comment is part of the code, not mine!

Of course, there is an entry in the table wwv_flow_language_map with a translation_flow_id of 202.

So I chose some other id instead of 202 to install the app and all is well.

What happens here? Some of the application ID are reserved? I can understand that the manufacturer associated app ID (4000, 4500, etc.) are reserved, but I'm not sure I understand how I have the 200 and 201 application ID in my workspace, but 202 is not allowed!

Thoughts? Thank you

Hi Vikas,

These entries are added to the map of language at the time of installation because they exist in the language of the export of the application card. They are being generated automatically during the import (it was part of the effort to help improve the 'change of translatable application'). Short to go in the editing application, I do not know how to control at the time of importation. You will need to enter in the user interface and manually change it after the import. Do not take offense to this, but given that you are doing this for snoop in internal applications, I think not so bad as you stumbled upon this. ;)

You're right - I think that the solution would be to harden the NOT EXISTS predicate.

Joel

Tags: Database

Similar Questions

  • Reserved application ID.

    Hi - I installs an application of my deposit. I'm changing the application
    ID when importing to 100. 100 is not the ID of any application in the workspace.

    It doesn't install - said reserved app ID.

    I've never had this happen before. What is the problem?

    Thank you
    C

    Hi Carol,.

    This is a known bug in some older Versions of APEX (3.1, 3.2), as you can see in this thread:
    The reserved application ID?
    He Scott Spadafore (Oracle) said that it should settle in 4.0.
    In the meantime, you will have to manually delete old applications of wwv_flows_reserved after the removal of the application of your workspace.

    -Udo

  • Oracle Application Express (APEX) 4: Development of Web Applications 1Z0-450

    Hi all

    Can get us online material or subject on Oracle Application Express (APEX) 4: development of Web Applications 1Z0-450 for her appearances of certification exams.

    Kind regards

    Sruthitamiri

    Hi Nanoo Tamiri,

    Sruthi Tamiri wrote:

    Hi all

    Can get us online material or subject on Oracle Application Express (APEX) 4: development of Web Applications 1Z0-450 for her appearances of certification exams.

    Kind regards

    Sruthitamiri

    Topics for 1Z0-450: Oracle Application Express (APEX) 4: development of Applications Web you can get on education.oracle.com.

    Examination material mentioned above as regards:

    I hope this helps!

    Kind regards

    Kiran

  • Oracle Apex 5 - interactive reports (Mobile Application)

    Hello

    I tried to create Interactive report on the mobile application using apexea without success. He created the report but under report attributes I don't see report columns and it also gives me no data found error when I try to navigate off region edit and get new.

    Attached are the screenshots.

    Page developed using mobile-theme-51.

    Kind regards

    Alwyn Souza

    Hi Alwyn,

    always work on apexea? The problem you describe is a bug in the version installed on this system. It has produced if the interactive report icon was not explicitly enabled in the wizard to create a Page, in this case that the IR has not been fully created.

    Please do not import any application created the apexea in the final production of APEX 5.0 or apex.oracle.com version. You will need to re - recreate them from scratch.

    Concerning

    Patrick

    Member of the APEX development team

    My Blog: http://www.inside-oracle-apex.com

    APEX Plug-Ins: http://apex.oracle.com/plugins

    Twitter: http://www.twitter.com/patrickwolf

  • APEX Session point of the Application or the item of Session State set and get?

    I need assistance with items and values in a single Application-Apex:

    I have a List-Item (P101_UMGEBUNG) selected on the page of connection (Page 101) in my application (next to username and password).

    After this item has been selected in the list of outfits and the "Login" button pressed, I want to use this value of the element in the context of different select statements on other pages for example in reports to the 4 Page, like this:

    "select * from mytable where environment =: P101_UMGEBUNG;

    The select statement is faulty, it dosent go back any line. It turns out that the value I just chose in the list is not saved in session state, so of course the select statement fails.  I determine this by clicking on the session menu item in the developer bar - the item itself presents itself, but the value of the element is empty:

    Unbenannt.png

    Which would cause a selected list value not end upward in session state and how to make sure he gets there?

    I've tried different solutions (process of pl/sql, javascript actions dynamics and brances) I found here in further discussions and with google, but maybe im wrong,

    Someone has a solution for this problem and could explain it in detail?

    Hello

    Value of the item on your login page is disabled by the process of "Empty the Cache page (s)". To save the State of this element, you can:

    1. remove the "Empty the Cache" page (s) process or set the condition to "never". It security hole.

    2 create the point on another page (for example, on page 10 P10_UMGEBUNG) and create processes on the login page BEFORE the process of "Empty the Cache" page (s), which will be

    Save the State of P10_UMGEBUNG. Make the process of PL/SQL:

    BEGIN
      APEX_UTIL.SET_SESSION_STATE('P10_UMGEBUNG', :P101_UMGEBUNG);
    END;
    

    After that, you can use the value of the P10_UMGEBUNG element:

    select * from mytable where environment =:P10_UMGEBUNG;
    
  • Pass variable header OAM at the Apex and read it in application of the Apex

    We have integrated access Manager Oracle 11 GR 1 material with Oracle Apex 4.1. OAM-Apex integration works very well. Now we want a variable header additional to pass to the application of the Apex of the OAM. This new header variable will be the user's sAMAccountName in Active Directory. OAM is integrated with AD and AD successfully users access the applications of the Apex.

    The header three variables that are set up in OAM right now are:
    Name of the variable header value
    1 OAM_REMOTE_USER $user.userid
    2 OAM_REMOTE_USER_EMAIL $user.attr.mail
    3 OAM_REMOTE_USER_GROUPS $user.groups

    We need a variable to page header as mentioned below:
    The header variable name: OAM_SAMACCOUNTNAME
    Value: $user.attr.samaccountname

    The new header variable has been added in the file dads.conf of the OHS server as shown below:
    = dads.conf =.
    ...
    PlsqlCGIEnvironmentList HTTP_OAM_REMOTE_USER
    PlsqlCGIEnvironmentList HTTP_OAM_REMOTE_USER_GROUPS
    PlsqlCGIEnvironmentList HTTP_OAM_REMOTE_USER_EMAIL
    PlsqlCGIEnvironmentList HTTP_OAM_SAMACCOUNTNAME
    ...
    ===============================

    But we are not able to read the value of this attribute in the application of the Apex.

    The application of the Apex, there is a text box that displays the value of this header variable. This text box is attached to the following stored procedure call to retrieve the header variable:
    ===================
    Start
    : P1_HEADER_VALUE: = owa_util.get_cgi_env ("HTTP_OAM_SAMACCOUNTNAME");
    end;
    ===================

    The text box displays the correct value only if HTTP_OAM_REMOTE_USER is passed to the get_cgi_env method, but shows nothing when HTTP_OAM_SAMACCOUNTNAME is passed to the same method.

    Please let me know if Miss me some configurations to pass the variable to anna64 HTTP_OAM_SAMACCOUNTNAME OAM to the Summit.

    Thanks for your help.

    Hi 900202,

    You can run

    begin
        sys.owa_util.print_cgi_env;
    end;
    

    in the SQL commands to see all headers. Maybe OAM_SAMACCOUNTNAME went without an HTTP_ prefix or its value is null, because there is a configuration problem in OAM.

    Kind regards
    Christian

  • BUG? Page apex 4.1 zero "run Application" button do not work

    Hello

    On apex.oracle.com when I edit zero page I see the button "Run Application".
    When I press the button it just reload page.
    Button OnClick source seems to be. Is - this bug?
    javascript:redirect('')
    I guess that the button should run application and e.g. display page 1.

    If this app button run or I just misunderstand it function?


    Kind regards
    Jari

    Hi Jari,

    Thanks for the information. I filed bug #12883413 for that matter, citing the two scenarios. This will not be fixed in 4.1 even if I'm afraid.

    Thanks again for reporting this.

    Kind regards
    Anthony.

  • error apex then tried to create applications

    Hello
    I was wondering if someone could help.
    I just installed APEX and attempted to create an application by visiting the Appl generator. > create Appl.
    This is an error message I received:
    ==========
    1 error has occurred

    * Users SYS and SYSTEM cannot create applications.
    ==========

    I logged in as SYSTEM
    do I have to change the system privileges? If yes how can I do that?
    I also tried to login as SYSDBA and I was unsuccessful.
    for some reason, I can do it in sqlplus and cannot do by their Summit.

    Please help, thanks :)

    p.s. the apex has been installed on oracle XE edition

    Published by: Duke555 on February 20, 2010 21:07

    You create a user in the database to create applications under. There is a HR/user pattern it default that you can use. Other than those of the user of the system, in the APEX of create a new developer and assign a password for them and then you can build applications & tables for this connection.

    Thank you

    Tony Miller
    Webster, TX

  • Post adjustment Application items in the apex.server.process for a * process application *.

    We were spending the entirety of our method of apex.server.process htmldb_get request the favorite (and documented and supported!). It has worked well so far for the AJAX JavaScript process call, as long as the process of AJAX in question was one * Page * level process. However, when we try to eat a * application * process, it just doesn't seem to work.

    For the examples below, we have two elements of Application named PRS_PRODUCT_PROFILE_ID and PRS_PROFILE_OPERATION. We have a process to request on request (* not * a process page!) named MAINTAIN_PRODUCT_PROFILE_2.

    Here are the previous htmldb_get approach (which works fine):

    function resynchronizeProductProfile (productProfileID)

    {

    var profileOperation = 'EDIT_PROFILE ';

    var ajaxRequest = new htmldb_Get (null, $v ('pFlowId'), 'APPLICATION_PROCESS is MAINTAIN_PRODUCT_PROFILE_2', 0);

    ajaxRequest.add ("PRS_PRODUCT_PROFILE_ID", productProfileID);

    ajaxRequest.add ("PRS_PROFILE_OPERATION", profileOperation);

    var resynchronizeResult = ajaxRequest.get ();

    ajaxRequest = null;

    Return resynchronizeResult;

    }

    Here's the (what I think is the) same call using the new approach of apex.server.process:

    function resynchronizeProductProfile (productProfileID)

    {

    var resynchronizeResult;

    $s ("PRS_PRODUCT_PROFILE_ID", productProfileID);

    $s ('PRS_PROFILE_OPERATION', 'EDIT_PROFILE');

    Apex. Server.Process ("MAINTAIN_PRODUCT_PROFILE_2"

    , {pageItems: ' #PRS_PRODUCT_PROFILE_ID, #PRS_PROFILE_OPERATION '}

    , {dataType: "text"}

    Async: false,

    complete: function (ajaxResponse)

    {

    var resynchronizeResult = ajaxResponse.responseText;

    }

    });

    Return resynchronizeResult;

    }

    However, in the new version, arguments don't appear to be preparing when the MAINTAIN_PRODUCT_PROFILE_2 application process is called. PRS_PROFILE_OPERATION, for example, is on "even if above, you can see that it is, in fact, pre-programmed on 'EDIT_PROFILE '.

    As a general rule, the call to apex.server.process sets the item values in the page and in the session in a single step. This doesn't seem to be the case with elements of the Application (although it works very well for the items on the Page).

    What's up with that? Everyone see my mistake?

    Thank you

    -Joe

    Post edited by: Joe Upshaw

    Joe,

    Using the pictures I showed you can simply use your application objects in the process. This is exactly the same as what htmldb_Get: when you use. add(), you provide a key pair / value that will be added to the respective tables, it is just behind the scenes. By manually adding to the table with apex.server.process, you get the same exact behavior and apex define elements of page/application corresponding to the value in the table of p_arg_names with the value in the p_arg_values table.

    When test you it in your demo application by assigning the value of the page element, and then using the 4 button (point), you can see that the question of the application session state has changed by inspecting the session state of the elements of the application through "session" in the developer toolbar. (it's in the "apex of ajax samples - forum" app)

    Of course, you can use the scalar parameters x # to provide values for the process, but why would you do the extra arch? If the elements of the application would set the restrictions, you still get the same result as if they were not, and they are easily manipulated through the same ajax call. I added an extra button with an ajax call using x 01. I never had problems with the help of the scalar parameters.

  • Oracle document for backups of applications Apex?

    Y at - it an official document from Oracle that tells us how to export applications apex command line instead of using the GUI in apex?

    When I google, I've seen a few links of apex users who had written that export using utilities to ApexExport, but since we are in the windows environment, we are
    hard time getting the class_path, java_home... etc to install correctly. I guess that its not just me most of them would have met there.


    But I'm looking for an official document to Oracle? (export of the Apex of the command line applications in the Windows environment).

    Hello

    Take a look at the blog following view that contains a Windows BAT files.

    http://www.talkapex.com/2012/04/command-line-backups-for-Apex.html

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

  • No checksum to the link between the two apex applications

    Hey,.

    I'm tying an Apex application to another. Two applications require checksums.
    The applications are on the same database, but on different workspaces.
    The url shows and works, but it does not generate a checksum, so I can't access the page.

    The code that I use to generate the url:
    APEX_UTIL. PREPARE_URL ('f? p = 555:2 :'|| v ('SESSION'): ': NO::P2_ID :'||) ID, null, 1)

    I also tried to use the & c that Oracle has documented to show the workspace is:
    APEX_UTIL. PREPARE_URL ('f? p = 555:2 :'|| v('SESSION') |) "& c = WORKSPACE_NAME::NO:P2_ID :'|| ID, null, 1)

    But in vain.

    Help is appreciated.

    Published by: 905605 on January 4, 2012 05:58

    Hello

    APEX_UTIL. PREPARE_URL only works if the target application is stored in the same workspace as the current application.
    This is for security reasons. If we would not prevent someone would be able to generate a valid checksum for an application in a different workspace and bypass security controls.

    Is your application in the same workspace? If Yes, you can setup a simple example on apex.oracle.com with two applications where you can reproduce the problem. I think it would help a lot to identify the problem.

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

  • APEX new documentation of tree - get selected value

    Hello

    I played for a while with the new tree APEX and also the sample application that I have not found anything at all on this subject. Unfortunately after a few painful hours, I'm not even able to get is of value (at least, I guess it should be possible somehow to get the value of a selected node). The only documentation that I could find was this:

    SQL query

    Enter the SQL source for this component.

    Examples

     select case when connect_by_isleaf = 1 then 0 when level = 1 then 1 else -1 end as status, level, ename as title, 'icon-tree-folder' as icon, empno as value, ename as tooltip, null  as link from emp start with mgr is null connect by prior empno = mgr order siblings by ename 

    More information

    • Type: SQL statement
    • Supported Bind Variables: Application, Page and System Variables
    • The minimum column: 7
    • The maximum column: 7

    So please, any ideas how to get the value of a selected node would be highly appreciated. There is already a similar question here APEX 5.0 tree , but the proposed solution redirects to the same page and sets the item via the link values. I don't want to redirect anywhere, do anything, I just want to read the value of a selected node.

    Thank you very much

    Pavel

    I simplified my previous solution and she calls a underlying $s directly from select function, is not necessary to create a JS function in a header.

    So all we need to do are:

    (1) create an element on the page P1_SELECTED_EMP

    (2) create a region of the tree and as a source of the region use the following select

    select case when connect_by_isleaf = 1 then 0
                when level = 1            then 1
                else                          -1
          end as status,
          level,
          "ENAME" as title,
          'fa-folder' as icon,
          empno as value,
          empno as tooltip,
          'javascript:$s(''P1_SELECTED_EMP'', '''||EMPNO||''')' as link
    from "#OWNER#"."EMP"
    start with "MGR" is null
    connect by prior "EMPNO" = "MGR"
    order siblings by "ENAME"
    
  • What does that mean 'APEX server has a vulnerable temporary Diffie-Hellman public key?

    Hello

    I use Oracle Cloud Services and I have already created and deployed a java (.war) via two managed servers.

    Now I use cloud services, but the concept should be the same: I would like to have access to the APEX (https://my_dbaaas_ip/apex/pdb1/), but I get the following security message:

    «The server has vulnerable temporary public Diffie-Hellman key...» »

    I also checked to calculate Service (network, safety rules) and port 443 is open and I also created a tunnel via ssh...

    Someone had the same warnng to access the APEX to develop the java application?

    Thank you very much

    Skender

    I think it's a problem of security defined by the Chrome browser...

    Now only accessed via a different browser and it worked!

    Skender

  • Integration of apex EBS with the APPS schema

    Hello

    I'm a developer APEX with no experience of BSE, but I took on a project to review the current context where the APEX and EBS are integrated. The first thing that I found is that 40 + Apex Applications all use the EBS 'APPS' schema as the schema work space of analysis, I read in the document Oracle 'white paper of March 2015 release on Extending Oracle E-business 12.1 and above using APEX', is a large, no!. Below are the details of the environment. In addition, they use a PLSQL Embedded walkway that once, it looks like the less favored approach and a listener of the Apex on (Glassfish?) must be used.

    So my question is... what would be the best approach, should I change all the existing application to use a newly created Apex analysis schema for example APEX_EBS_EXTENSION and then create views and grants him so it can access the data of the applications. I do this manually through all the applications by looking at each piece of code? This seems a very unpleasant approach. Should we deviate from the integrated bridge, any guidance would be appreciated?

    The task that made me initially was to manage the upgrade of the schema in the database to 5 APEX Apex, regression test all existing applications and create new applications using the universal theme, but I want to get the House in order before the upgrade.

    Environment

    E-Business Suite Release 12.1.3

    Apex 4.1.0.00.32

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    IBM/AIX RISC System/6000: Version 11.2.0.3.0 - Production

    Hi AndyLou,

    AndyLou wrote:

    I'm a developer APEX with no experience of BSE, but I took on a project to review the current context where the APEX and EBS are integrated. The first thing that I found is that 40 + Apex Applications all use the EBS 'APPS' schema as the schema work space of analysis, I read in the document Oracle 'white paper of March 2015 release on Extending Oracle E-business 12.1 and above using APEX', is a large, no!. Below are the details of the environment. In addition, they use a PLSQL Embedded walkway that once, it looks like the less favored approach and a listener of the Apex on (Glassfish?) must be used.

    Yes. Oracle REST Data Services (ADR) (formerly known as the APEX listener) deployed to the support for Java EE application servers is a best/best option as for Oracle APEX instead of the EPG Web listener option.

    Reference: https://docs.oracle.com/cd/E59726_01/install.50/e39144/overview.htm#HTMIG29325

    Learn about considerations when using of EPG (Embedded PL/SQL Gateway) as the web listener with Oracle APEX.

    Reference: https://docs.oracle.com/cd/E59726_01/install.50/e39144/overview.htm#HTMIG29140

    So my question is... what would be the best approach, should I change all the existing application to use a newly created Apex analysis schema for example APEX_EBS_EXTENSION and then create views and grants him so it can access the data of the applications. I do this manually through all the applications by looking at each piece of code? This seems a very unpleasant approach. Should we deviate from the integrated bridge, any guidance would be appreciated?

    Yes. You must move far EPG to a better option.

    The task that made me initially was to manage the upgrade of the schema in the database to 5 APEX Apex, regression test all existing applications and create new applications using the universal theme, but I want to get the House in order before the upgrade.

    Environment

    You should go for upgrade of the Oracle APEX of 4.1 to 5.x with existing architecture first. Regression test your applications to remove if any errors introduced by upgrade. The kickoff of a new project to migrate your applications to universal theme.

    Reference:

    After the upgrade, when all the dust about the upgrade issued sets in, then you can consider changing your architecture, analysis scheme for your APEX applications according to white papers issued by Oracle:

    Kind regards

    Kiran

  • Shuttle point - example of packaged applications

    Hi all

    are there examples of a part of the shuttle in the packaged applications? I know there are blogposts how to use it and so on, I could just swear that I saw somewhere in packaged applications, and I'm not.

    Thank you very much

    Pavel

    Hi Pavel,

    You can try to query the view of Apex 'apex_application_page_items' to determine what applications packages you have installed use an element of the shuttle:

    select application_id, application_name, page_id, page_name, item_name
    from apex_application_page_items
    where display_as = 'Shuttle';
    

    Thank you

    Erick

Maybe you are looking for

  • Apple Care

    Should I bring my MacBook to the Apple Store if I want to buy apple care? Should I just my serial number? GIMMIE the details please.

  • How to cancel an iTunes subscription?

    How to cancel a subscription of iTunes music so I have no monthly fees?

  • Satellite A300 - how to use the recovery with external DVD drive disc?

    Hello I bought a toshiba Satellite A300 - 15 d FTM the tsscorp drive that is installed in the camera no longer works (does not detect any type of media what so ever). ) need to recover the laptop, so I used a USB DVD drive to boot from the restore di

  • No detectable T520 SD card reader after upgrade Windows 8.1

    My SD card reader has become non-functional after a recent upgrade of my T520 to Windows 8.1. Hardware troubleshooting, said that the Base system device driver has not been installed. I installed the Lenovo system update software and looked for updat

  • Minimized external program

    Hello everyone (sorry for my English)... I have this problem: I need to catch when an external program window is reduced to the minimum. Then LabVIEW knows this? I need to run an external program (I did) and then expected her reduced to continue. Tha