How to move or delete an APEX application programmatically using application_id and / or aliases?

Oracle db 11 g 2

Oracle APEX 4.2.1

Linux RHEL 6.3

------------------------

Is anyone know the function or procedure to remove or delete an APEX application programmatically using application_id and / or aliases?

The best I can Google is:

wwv_flow_api.remove_flow (application_id); -to drop id app by app of APEX

Any other suggestions?  Any call APEX API I do (I do not see in the APEX API Ref).

Thanks to a bouquet.

Hi tx

We use a script that calls these procedure packed high-end APEX api indeed.

This script (called: uninstall) is called from one in Linux. Sh script file

In our case, the application and space to work used the same name, but you can easeliy that adapt to your situation.

The script is called in the script as .sh

$> sqlplus / as sysdba @de - install.sql

The script has the following content:

DECLARE

/ * End: uninstall Apex

Settings: 1 = name of work/application space

*/

l_application_id NUMBER;

BEGIN

SELECT Application_id

IN l_application_id

Of apex_applications

Workspace WHERE the = ' & 1' AND alias = ' &1';. ' -find the application with a given name to a certain workspace (with the same name)

wwv_flow_api.set_security_group_id (p_security_group_id-online APEX_UTIL. FIND_SECURITY_GROUP_ID('&1'));) -sets the security group so that you can remove this application

wwv_flow_api.remove_flow (l_application_id); -remove the application

EXCEPTION

WHEN NO_DATA_FOUND THEN - say nothing when the application does not exist

NULL;

END;

/

output

Hope this helps you

Best regards, Wouter

Tags: Database

Similar Questions

  • Why I can't move or delete files that have been used by Windows Movie Maker?

    Why I can't move or delete files that have been used by Windows Movie Maker? How to make them free again, now that I want to use the new computer.

    When you create a project in Movie Maker-.mswmm file... it
    records the path to the source (photos, videos, music) files...
    If you re-open the file .mswmm to re - edit source files...
    are not accessible if they have been moved or deleted.

    If "no" re - edit project .mswmm files...
    moving or deleting the source files is not a problem.

    If you 'are' the intention of re - edit .mswmm files but need the
    source files also... just make copies and let it
    original where they are.

  • How emabed BI Publisher report to another application by using URL GO

    Hi all

    How emabed BI Publisher report to another application by using URL to GO.

    I put the BI Publisher report in dashboard and create a url go, but the problem is it is showing upper header and all the names of this dashboard in my dashboard.
    I want to only show the report.

    If we make a requst answers GO url it shows to declare. Same way we can do for BI editor request.


    Thank you

    Hello

    Using the action link you can solve

    Thank you

    Deva

  • BlackBerry smartphone how to move incoming emails to Custom application folder

    Hello

    Please someone give me soloution of the programaticaly application how to move incoming emails to custom. Please its too urgent in my project.

    Hi mohdfarhanakram

    Automatically move e-mail messages to a different folder is available only when you're using BlackBerry® Enterprise Server.  Messages will be filtered on the mail server but would appear in these folders on the BlackBerry® smartphone.

    I hope that answers your question!

    Thank you

  • How to insert image from mysql into the table using php and create the checkbox in the table?

    How can I insert image from mysql into the table using php and create the checkbox for each data as a vote? Here is my code...

    WELCOME

    connect_error) {die ("connection failed:".)} $conn-> connect_error); } $sql = "SELECT no, Calon, ID, of course, the Image OF THE candidates." $result = $conn-> Query; If ($resultat-> num_rows > 0) {echo ' '; export data of each line while ($row = $result-> fetch_assoc()) {"echo"}}
    NO Candidate INFO Vote
    " . $row ["no"]. "-" . $row ["Calon"]. "
    -" . $row ['ID']. "
    -" . $row ['class']. "
    "; } ECHO ' ' ;} else {echo '0 results' ;} $conn-> close();?} >

    hope someone can help me because I am a newbie in this program... need to finish this project... Thank you.

    If you have saved the file name in the database, it's pretty simple.

    echo '' . $row['description'] . '';
    

    Is the same for the box:

    echo '';
    

    If you have saved the image file in the database, it is much more complicated. I recommend you store only the file name in the database.

  • How custom in the SOAP of APEX application HTTP header sent?

    Hello

    I need to send the values of username and password in the HTTP header with request to Webservice.
    It is possible to do with APEX?
    Or I have no choice and I have to use the PL/SQL, UTL_HTTP?


    Thank you
    Vitalijus

    Vitalijus salvation,

    Please take a look at "Setting Cookies and HTTP headers" - http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_web_service.htm#BABDFEJG
    I think that's what you're looking for.

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

  • [ADF, JDev12.1.3] How to configure GlassFish to run my application ADF using HTTPS/SSL?

    Hallo,

    on GlassFish 3.1.2 I have deployed my ADF Essentials application.

    Now I configure GlassFish server to run my application using HTTPS/SSL.

    I would like to install the certificate MyDomainCert.crt, Intermediate.cert and MyDomainPrivateKey.crt files and configure GlassFish.

    Could you kindly advice me a clear and not to hard document that describes how to configure the application server?

    Thank you very much

    Federico

    Finally, I reached the goal

    These links also helped me:

    Installation certificate Thawte on 3.11 Glassfish server for https traffic. Art of Software Engineering

    https://javadude.WordPress.com/2013/03/22/GlassFish-v3-1-2-and-SSL/

    Programming the Mr.J4mes Wonderland: [How To] - implement the SSL certificate on the GlassFish application server

    In addition, I would say to use the free program "KeyStore Explorer" (key - homepage file Explorer) to easily import the certificates and private key in the keystore of Java.

    Ciao,.

    Federico

  • How to change the directory of apex - listener.xml using container startup options?

    The option proposed in the thread Re: change the URL of earphone APEX (second post by Udo) seems attractive, but being not not Glassfish pro, I do not know how.
    Anyone can indicate in which succession of menus Glassfish should I go to refer - Dconfig_dir =... parameter?

    I run Apex listener on Glassfish 3.1 1.1

    Igor

    Hello Igor.

    the setting -Dconfig_dir = is an option for the JVM, used similar to a shell environment setting.
    You can set this parameter to GlassFish by editing the startserv.bat or shell startserv script, depending on the OS you are using.
    Note that you can use any name, as config_rep is a name arbitrarily chosen for the parameter that I presented for the config file.

    -Udo

  • How to move the hard drive to external hard drive backup and how to make the backup automatically and regularly

    Original title: EVOLUTION of BACKUP

    I SAVED IT ON THE HARD DRIVE TO PUT IN PLACE TO ENSURE THE GUARD. NOW, I HAVE A LIL BOX IS AN EXTERNAL HARD DRIVE, I GUESS. I GOT IT FOR THE MEMORY, LIKE A BIG THUMB. SAYS ITS NEED F HOW TO BACKUP IT (MY LAPTOP) THIS AUTOMATICALLY AND REGULARLY. HELP PLEASE, THANK YOU?

    Hello

    You can try the following methods and check if it helps.

    Method 1: Change where you back up your files
    http://Windows.Microsoft.com/en-us/Windows-Vista/change-where-you-back-up-your-files

    Method 2: Set up or change automatic backup settings
    http://Windows.Microsoft.com/en-us/Windows-Vista/set-up-or-change-automatic-backup-settings

    Reference:
    Back up and restore: frequently asked questions:
    http://windows.microsoft.com/en-US/windows-vista/Back-up-and-restore-frequently-asked-questions

    Backup your files: http://Windows.Microsoft.com/en-us/Windows-Vista/back-up-your-files

  • How to move around the screen (image) when you use a tool?

    I know there's a shortcut and I forgot, I am using the magnetic lasso tool and when I need to move the image on the screen because it's much bigger than what I see through a detailed selection. I know there are a few keys to insist the hand tool appears, someone knows what they are?

    Thank you!!

    Space bar.

  • How do you see the System.out.println (without using Eclipse and BlackBerry JDE)

    Hi all

    I just want to know if there is no solution to see System.out.println.

    I use neither Eclipse nor BlackBerry JDE for my development.

    I have my jar, jad files. I convert my jar file using the CAP tool. The .cod files are generated.

    I start the trainer. Now I have 2 windows: Windows Simulor and the output (see picture).

    Then I load my .cod files. But I see not all System.out.println ("...") in the output windows.

    How can I see these System.out.println ("...")?

    Please help me.

    Thank you all.

    Thanks for your help.

    I try your solution EventLogger.

    But I have another problem:

    My request is not a native application (it is a midlet in J2ME, not a UIApplication). Do you think that it will work with EventLogger?

    How can I make a registry for EventLogger:

    static boolean register(long guid, String name) 
    Registers the name and the guid of the calling application.
    static boolean register(long guid, String name, int viewerType) 
  • connection to the oracle application express using java and jdbc

    Hello!

    I am trying to build a java application using jbcd to connect to my Oracle Application Express DB but unable to connect actually using the following syntax:

    Private final static String DB = "myworkspacename";

    Private final static String RUTA public = "@apex.oracle.com:1521";

    private public static final String URL = "jdbc: Slim:" + RUTA + "/" + DB;

    private static final String DRIVER = "oracle.jdbc.OracleDriver";

    a USER private final static string = " " [email protected] "; "

    private final static String PASS = "MonMotpasse";

    and then I start the connection via:

    CONEX = DriverManager.getConnection(URL,USER,PASS);

    but finally I get the following error:

    IO error: the network adapter could not establish the connection

    any ideas on what goes wrong will be appreciated...

    Simple answer... YOU can't connect externally to the hosted instance of Oracle with a jdbc connection or sql developer/Toad.  Not allowed...

    If you need this capability, I would suggest downloading of Oracle 11 g XE and building you own database...

    Thank you

    Tony Miller
    Software LuvMuffin
    Ruckersville, WILL

  • Applications created using Flex and their response time

    Hello

    I observe that Flex front-end Applications are very slow to be honest same Adobe site itself is slow .

    Please tell me what should be the size of a swf file so that the time which will be at least satisfactory.

    I don't think that every piece of the Flash on the site of Adobe's Flex and there is

    still a lot of HTML code on the site as well.

    You build an application, and the basic principles still apply.  Less

    code runs faster, the modularity allows to make to the code on demand, throw

    things you don't need.  Allows you to run a really small SWF file wrong and really

    bigger may well perform after the start.  It's all in how you write

    it.

  • How to get photos in iPhoto to e-mail using Chrome and the Mavericks

    I would like to know how to copy quickly and easily photos that I receive in my email in iPhoto.

    I'm running the Mavericks 10.9.5

    I use Google Chrome

    I have iPhoto 9

    I know I must upgrade the operating system to more recent, but do not like change.

    Thank you!

    Ginny

    What is your e-mail client?  You should be able to control (on the right) - click on a photo in e-mail and elect to iPhoto import on the shortcut menu that appears.  If this isn't an option, just drag the photo on the desk and from there to the iPhoto in the Dock icon.

    You know that iPhoto can no longer order any printed products, namely books, cards and calendars, printing products, Apple Store, right?  Also if you try to use the location of iPhoto feature it crash like iPhoto 9.4.3 and earlier, use the servers of Google Maps and they are no longer available to Apple.

  • How do I to the previous screen in android using phonegap and store data in ios

    Hello

    I use phone of gap technology, in android how previous screen.actually go, I used navigator.app.backHistory () orwindow.history.back () ' its fine for blackberry or ios .but does not not in android... Please suggest...

    Question 2) how to store data in ios?
    I used (window.localStorage, it works very well with android and blackberry not ios.why)
    Thank you

    Hello

    I think you'll have more chance of Phonegap Google Group for your Android questions as everyone is here to help specific BlackBerry.

    https://groups.Google.com/Forum/?fromgroups#! Forum/phonegap

Maybe you are looking for