Apex Application Export

hi,
Could any one let me know if we could take the complete export of the apex applications present in our workbench instead one by one. can the admin do.
for example we have 100 apex applications in our workbench and we need to take the compete export so that we could import into a different instance. for that to work we would also be exporting our schema so that once we import the applications we can start working as we were doing earlier.
we can export one by one which would take lot of time, So please can any one let me know if there is an option to export the complete applications in one short.
Thanks & Regards,
Ramu
Edited by: user526994 on Dec 14, 2011 1:14 AM

Hi,
You can use command line export utility.
John have write good article about it
http://jes.blogs.shellprompt.net/2006/12/12/backing-up-your-applications/
Regards,
Jari
http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0

Similar Messages

  • APEX Application Export/Import

    Hi,
    I have my application build in APEX on 10.2.0.4 database which now i want to migrate to 11.2. Name of schema on the back of my application is DBADMIN. What i have done is, i just exported the application from my current apex on 10.2.0.4 and tried to import on my 11.2 but it gives me following error message
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 80, column 32: PLS-00103: Encountered the symbol "!" when expecting one of the following: ( - + case mod new not null <an identifier> <a double-quoted delimited-identifier> <a bind variable> continue avg count current exists max min prior sql stddev sum variance execute forall merge time timestamp interval date <a string litThis is first time i am migrating my application so please help to find out what is the issue and how to resolve it. Following is the detail how i performed the operation
    Source APEX
    Workspace name = Monitoring
    User of application which loged in to this workspace and created application = SALMAN
    Application name = Monitoring
    Database schema name behind application = DBADMIN
    I exported application in UNIX and also DOS format
    Destination APEX
    Workspace name = Monitoring
    User of application which loged in to import the application = UTACADMIN
    Database schema name behind application = DBADMIN and i have already exported the schema from my source database have imported all the objects with data
    Tried importing application from UNIX as well as DOS script but same error message as above.
    Please guide me how can i successfully migrate my application from my source APEX to this new APEX
    Thanks

    Now i exported the workspace from my source APEX and imported in destination and everything is fine and now apparently everything is same but still same error during import of the application, please help to resolve.
    I tried to execute the application export script on sqlplus, but following error was returned
    EMREP.UTAC.COM.SG$APEX_030200> @d:\f100.sql
    APPLICATION 100 - Monitoring
    Set Credentials...
    Check Compatibility...
    API Last Extended:20090112
    Your Current Version:20090112
    This import is compatible with version: 20090112
    COMPATIBLE (You should be able to run this import without issues.)
    Set Application ID...
    begin
    ERROR at line 1:
    ORA-02291: integrity constraint (APEX_030200.WWV_FLOWS_FK) violated - parent
    key not found
    ORA-06512: at "APEX_030200.WWV_FLOW_API", line 555
    ORA-06512: at line 3Thanks
    Salman

  • Export APEX application will not import to another APEX instance

    Oracle XE 11gR2
    APEX 4.1.1
    Windows 7
    ===============
    Get the following error when trying to import (via SQL*Plus) an APEX application:
    ORA-02291: integrity constraint (APEX_040100.WWV_FLOWS_FK) violated - parent key not found
    ORA-06512: at "APEX_040100.WWW_FLOW_API", line 679
    ORA-06512: at line 3
    Used the following PL/SQL block to import APEX application:
    declare
    -- the name of the workspace in which to import -- actually your parsing schema
    t_workspace varchar2(30):= 'APEXAPP';
    -- an application number of an existing application in the workspace.
    t_existing_app number := 103;
    -- the "new" application number, an existing number will be dropped first.
    t_new_app number := 103;
    -- security group id, you don't have to set this variable
    t_secgrp_id number;
    begin
    -- get the Security Group ID
    select workspace_id
    into t_secgrp_id
    from apex_applications
    where application_id = t_existing_app;
    wwv_flow_api.set_security_group_id(p_security_group_id => t_secgrp_id);
    apex_application_install.set_application_id(t_new_app);
    apex_application_install.generate_offset;
    apex_application_install.set_schema(t_workspace);
    apex_application_install.set_application_alias('APEXAPP' );
    end;
    @C:\DEPLOY\APEX_APP.sql;
    commit;
    =====================
    I recently did an upgrade from APEX 4.0.2 to 4.1.1 but there were no apps in this particular APEX instance. Just needed an upgrade because the APEX that
    comes with Oracle XE database is 4.0.2 and we are developing with APEX 4.1.1
    Please advise. This block has been used before to deploy APEX exports.

    I'm front of the same issue.
    Did you find a solution ?
    Thanks for help.
    Fanny

  • APEX application deployment

    Hi All,
    I will soon be exporting my first APEX application from a development database to a test database. I do not want to export the data which the application is built on as the development database contains sample data instead of the "real" data. Before exporting my application, I will of course install APEX 3.2.1 in the test environment and then import the "real" data into the test database so that once the application has been exported and installed in the new environment, the APEX application will already have its data in place.
    On page 14-12 in Chapter 14 of the Oracle Application Express Application Builder User's Guide, I saw the following section:
    Exporting an Application
    When you export an application, Oracle Application Express generates a text file containing PL/SQL API calls.
    To export an application:
    1. Navigate to the Export page:
    a. On the Workspace home page, click the Application Builder icon.
    b. Select an application.
    c. On the Application home page, click Export/Import.
    d. On the Export/Import page, click Export and then click Next.
    2. From Application, select the application to be exported.
    3. From File Format, select how rows in the export file will be formatted:
    ■ Choose UNIX to have the resulting file contain rows delimited by line feeds.
    ■ Choose DOS to have the resulting file contain rows delimited by carriage
    returns and line feeds.
    4. From Owner Override, optionally select another owner. By default, the application is owned by the owner identified in the application attribute owner.
    5. From Build Status Override, select one of the following:
    ■ Run Application Only - Developers can only run an application
    ■ Run and Build Application - Developers can both run and edit an application
    Selecting Run Application Only is an effective way to protect an application from modifications from other developers.
    6. From Debugging, select one of the following:
    ■ Yes exports the application with debugging enabled.
    ■ No exports the application with debugging disabled.
    7. From Exporting Supporting Object Definitions, specify whether to export
    supporting object definitions with your application.
    8. From Export Comments, specify whether to export comments for this application.
    See "Adding Developer Comments" on page 6-22.
    9. Use the As of field to export your application as it was previously defined. Specify the number of minutes in the field provided.
    10. Click Export Application
    Since I do not have any images, themes, static files, workspace users, cascading style sheets, etc, to export, it makes no sense to use the “Packaged Application” method to perform the export. All I need is the application definition that contains all my interactive reports, forms, etc.
    The next step would then be to Import the application into the target Oracle Application Express instance and install the application.
    This method should be OK for my needs, right?
    Thanks

    By simply doing an application export, all you will export is the metadata associated with your application (page definitions, items, processes, validations etc).
    No "Customer Data" will be exported neither will any tables or PL/SQL packages that are owned by your parsing schema.
    If you aim is simply to export the APEX application and no tables, pl/sql units, data etc, then doing a simple application export should be good enough. Thats all we ever do and then add the PL/SQL units / table data on top as additional scripts.
    Hope that helps
    Duncs
    http://djmein.blogspot.com
    As a courtesy, please remember to mark helpful or correct responses accordingly :)

  • Best Practice for implementing dual APEX applications environment

    Question:
    We are in the early stages of building an APEX application for Oracle SaaS consumption. The question I wanted to ask you is what would be the best way to deploy this app for production? Would it be easier just to create a new workspace in apex.oraclecorp.com and export the app definition or create a new instance of APEX container? Also, if we were to create a new container then what are all the hardware/middleware required?
    Follow up questions:
    1. What are you building and for what purpose?
    We are building an application for oracle employees (development, operations, and support) to assist in interacting with the CRM Saas environments. Entering bugs, tracking patch level, obtaining relevant environment contacts & urls.
    2. Who will be installing this application? Oracle customers? In their own on-premise APEX instances? Oracle Cloud?
    For the foreseeable future, there will only be the one internal install for internal use (CRM SaaS Enablement Team, DevOps).
    3. What are the database and APEX version requirements you'll have for this application?
    We do not have a particular requirement. The latest GA version would be the best candidates.
    4. Is it safe to say that there is minimal understanding & experience of APEX on your team?
    All we know is self-taught and from forum responses. Part of the problem we face is that we don’t know how to frame the questions in a way they can be understood.
    APEX container - By this I mean a fully functional APEX environment where applications can be deployed to.
    Use Case - We want to be able to make our Apex app available to the consumer (see above) and also continue to develop new features into that app for use at a later date. We are asking for information about a development model that works well for Apex apps.
    Thanks!!

    Moved the question to the internal Oracle forum:
    http://myforums.oracle.com/jive3/thread.jspa?threadID=1058413

  • How to restore or backup Apex application from Command line ? URGENT

    We have Oracle apex 4.1 installed in Oracle 11g R2 database (windows 64-bit) 2008 R2
    For some reason our database dictionary objects are corrupted.
    We wanted to backup our Apex applications in some workspaces ASAP.
    We are not able to access apex from http://localhost:7777/pls/apex/htmldb_login
    We have an underlying database schema export (expdp).
    1) Is there a way to export or backup the apex application without logging into the apex URL ? if yes how ?
    2) Does Oracle has any of its own native tool to backup and restore from command line ?
    Thanks in advance

    My (MS Windows) experience, if I may; perhaps you'll find something useful.
    You'll find the README.TXT file in /apex/utilities directory. Read it.
    In order to use APEXExport, you need JDK version 1.5 or higher. Check your version by typing (and viewing the result):
    C:\>java –version
    java version "1.6.0_06"
    Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
    Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)Its directory should be part of the PATH environment variable: on my computer, directory name isC:\Program Files\Java\jre1.6.0_06\binFurthermore, Oracle JDBC class libraries must be part of the CLASSPATH environment variable. Check whether it exists (in Control Panel - System - Advanced - Environment Variables). For my 10gXE, it is here:C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jarI couldn't make it work; didn't know that ".\" directory must be entered into CLASSPATH as well (found that information in Arie Geller's book). Therefore, my final CLASSPATH version is:.\;C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jarOK, setup is done. Now, go to your /apex/utilities directory and, from the command prompt, run (mind the upper case!)java oracle.apex.APEXExportwhich will show a short help.
    I chose to export the whole workspace. In order to do that, I need the workspace ID (got it from Apex's SQL Workshop; that might be a problem as you can't get there, can you? I can't tell how to find that information apart from SQL Workshop, but I'm pretty sure someone, who is much more experienced than me, will know it). OK, here's how you find it:select v('WORKSPACE_ID') from dual;Finally, here's the final step - export:C:\apex\utilities>java oracle.apex.APEXExport -db localhost:1521:xe -user scott -password tiger -workspaceid 1038408092496568The result are fxxx.sql files (where "xxx" represents application number).
    I hope you'll manage to export your applications; basically, nothing special here (except that ".\" directory in the CLASSPATH variable).
    Best of luck!

  • How to Save HTML page in Apex application into our local Windows Box

    Hi,
    I am having one HTML page in my Apex Application. I want to download this page into my Local Windows machine. How to do this?
    Thanks
    Yash

    I am having one HTML page in my Apex ApplicationWhat did you mean by this ?
    <li> If you meant an application page, then they are anot stored as html file anywhere as the page that you see is generated at the run time only, however you can can save that run time page , but its of not much use.
    <li> If your intention is to save/backup an apex page, go to the page and export it . This generates a SQL file which you can import into any other apex application and recreate that apex page.
    <li> You can also export the entire application as a single file too.

  • How to deploy a JSP page into my APEX application?

    hi all,
    i am using a JSP to upload multiple spreadsheets into the db. i want to deploy it on the APEX and use it as part of my APEX application's uploading feature.
    i already have the JSP file with me. can somebody please tell me how to put that onto the APEX?
    Thanks,
    Basavaraj

    One way using JSP portal is, creating Portal project with JSP Dynpage applications
    You can use NWDS tool to create JSP Dynpage based Portal components.
    Procedure to create and deploy Portal  components,
    1. Open Enterprise Portal Perspective in NWDS
    2. Create -> new Portal Project -> Give the valid name
    3. Right click on the project -> Choose Portal Object -> JSP Dynpage -> Give all the information including JSP name. -> Finish
    4. Right Click on the project structure -> Properties -> Java Build Path -> All the following jars
            htmlb, com.sap.portal.html_api.jar, servlet
    5. Navigate to your JSP page located under the folder PORTAL-INF, Write logic
    6. Right click on the portal projet-> Refresh -> Re-Build
    7. Right Click on the portal project -> Export -> Give the Valid  Portal serverdetails, Admin user name and password
    8. You can create iView (iView from PAR) in content admin for the developed portal component
    Ram

  • Import file  export  instead of  application export

    Hi All
    please help
    i exported my application, now i wanted to do an import to the file
    i did import ------->
    import file : i choose the application export file
    file type : i choose instead of application,page or component export i choose by accidently :*file export*
    did NEXT -> it wrote : Successfully Imported File
    then it wrote If you wish to to Install now, click Next >.
    i did NEXt : it wrote to me in the header :Install Static Files
    logget in as : my user
    install file workspace : name of the workspace
    but i did not push the button of install static files. then i saw that this is not what i won't to do . my quetsion is did i do any harm?
    is the statis files (which i don't really know waht it is ) are sitting on the server , or in the application ? please tell me, is there anything that i need to cancel? i saw in the export ripository that it shown as static files export.
    note : as a person who develope on this application , i've never, use an import of static files.
    inspite of all this, i started to do an import for my application which the suitable file file type , and i stopped in the middle.
    i'll be grateful for a quick response!

    Hello Arie !
    thanks for quick response.
    i've choose onw of the two application which i currently have on my workspace and did what you've wrote with the share componennts -> static files , it right to me no static files. i did the same with my other application , and i got the same message, maybe i'm getting this message because i did not do the install operation ? . however share components are related to the application that i've choose and not to all the apex, right ?
    the thing that i don't get is if i get:no static files found,so why in the Export Repository i'm getting about one application export file:static file export?
    can i delete it from there ?

  • How to backup Apex applications using some script ?

    We have Apex 3.1 installed on our server.
    We have several workspaces + applications installed.
    I wanted to backup all the apex applications in our database, just as a precautionary measure.
    I know we can export each application individually using the web login, but I was wondering
    if there is any kind of sql script or something which I can run as a batch job in windows which
    will automatically backup all the apex applications installed.

    Does the logical backups of the database what we take include the Apex applications as well ?
    So lets say:
    Database schema name: abc
    apex workspace: abc_ws
    applications in that workspace: 1,2,3,4,5
    Now at the database level if export the ABC schema and restore it to another database,
    will my apex applications are also backed up ?

  • Oracle upgrade: whether Apex application will be affect

    Hi All,
    We plan to upgrade our current DB to a new server and new oracle database( from 10.2.0.1 32bit to 11gR2 64bit) by using export/import.
    My question is currently there are many APEX applications running in 10.2.0.1(around 20 Apex applications), and our client may not need to upgrade apex at the same time.
    I am not sure whether this upgrade will cause any issues to the Apex applications or what should to be done for Apex before the DB upgrade.
    The current version of Apex is 3.2.0.00.27. Any Advices or Documentations is highly appreciated.
    Thanks very much for your attention.
    Regards
    Rachel
    Edited by: Pengqi on 26-May-2013 18:26

    11gR2 includes Apex version 3.2.1. I have not tried this process, but this should work
    1. Install 11gR2 software
    2. Create an empty database.
    3. Drop any APEX related schemas
    4. Perform a full export from 10.2.0.1 and then perform a full import into 11gR2
    HTH
    Srini

  • Can't install my Apex Applications from 10.2XE

    Installation from 11.2 XE went without problems, but I had a problem importing my Apex applications from my old 10.2XE database.
    According to the Installation Guide, 7 Importing and Exporting Data between 10.2 XE and 11.2 XE
    2. Connect to 10.2 XE database as SYS user and run gen_inst.sql. This will
    generate install.sql, gen_apps.sql and other .sql files. The files will
    be generated in the folder containing gen_inst.sql.
    => the generated script f100.sql ends with
    ERROR:
    ORA-06502: PL/SQL: numeric or value error: host bind array too small
    ORA-06512: at line 1
    This was during:
    --application/shared_components/plugins/region_type/com_oracle_de_cczarski_labelcloudplugin
    begin
    wwv_flow_api.create_plugin (
    => the generated script f100.sql doesn't contain "set scan off"
    but does contain lines like "p_home_link=> 'f?p=&APP_ID.:1:&SESSION.',"
    Running the script f100 with set scan off added results in
    ...page templates for application: 100
    ......Page template 2301643674799144
    ......Page template 2301746430799146
    ......Page template 2301820809799146
    ......Page template 2301944547799146
    ......Page template 2302037696799146
    ......Page template 2302118851799146
    ERROR:
    ORA-01741: illegal zero-length identifier
    Anton

    Anton,
    1) When you export your application 100 from within Application Express from your old instance and you compare it to the one generated, are there any significant differences?
    2) Can you export your application 100 from within Application Express from your old instance and import it back into the same (old) instance but with a different application identifier?
    Joel

  • Changing theme template in my APEX applications by scripts

    Hello every body,
    I wonder if there any issue to change my APEX applications themes by script ?
    Best Regards

    Anton,
    1) When you export your application 100 from within Application Express from your old instance and you compare it to the one generated, are there any significant differences?
    2) Can you export your application 100 from within Application Express from your old instance and import it back into the same (old) instance but with a different application identifier?
    Joel

  • Crashed Database running APEX application

    Hi,
    I had a database crash, which destroyed my System tablespace.
    We have put some effort into building APEX applicatoin running on this database.
    We had no backup, Application Export..... But the only thing we have is FULL database export from 2 days ago.
    Can this full export dump be used to save our application.
    Any hint or docs in how to do this without problem is appreciated.
    Running 11g on the DB..... And yet we have not configured APEX on this new db.
    Anything is appreciated.
    Thanks

    Hi
    I have tried to import USER FLOW_030000 into a newly created database. I got many error becasue this user already exists.
    Should I drop FLOWS_030000 before importing ? Will this be better.
    And tables for an application that we built is i anither schema.
    Any suggestion ?

  • Easy URL Address for APEX Applications?

    I have an APEX Application with a URL like:
    http://www.domain.de/pls/htmldb/f?p=105
    and it would be nice if the url would be like:
    http://www.domain.de/topic
    I have searched for Apache and Alias entries, but most of them are matching through directories and not for simple links.
    Hope anyone could help.
    Message was edited by:
    Oliver Lemm

    both solutions seem to be not so easy to understand.
    the blog solution produces errors and where do i have to put:
    my $configfile = "/export/home/oracle/HTMLDB/htmldbvirtual.conf";
    i testing on a windows system at the moment, later on unix
    the other solution in the posting from Jes i tried it like that:
    <VirtualHost *>
              ServerName localhost/test
              ServerAlias localhost/test
              ErrorLog /wwwlogs/error_log
              CustomLog /wwwlogs/custom_log combined
              ProxyPreserveHost On
              RewriteEngine On
              RewriteRule ^/$ /pls/htmldb/f?p=101:1 [R]
              ProxyPass /pls/htmldb http://localhost:7777/pls/htmldb
              ProxyPassReverse /pls/htmldb http://localhost:7777/pls/htmldb
              ProxyPass /i http://localhost:7777/i
              ProxyPassReverse /i http://localhost:7777/i
              </VirtualHost>
    but it dont works, what do i have to change?

Maybe you are looking for

  • Server: Mail configuration of Server Admin not showing ANY Accounts

    I have an LDAP directory for my accounts and in the Server Admin GUI, under the Mail configuration, I am not showing any accounts. Currently mail services not working and I have tried to reconstruct the db to no avail. I the POP log im gettting ... A

  • Exception connecting to MS Access Database.

    I'm having problems using the jdbc-odbc bridge with an MS Access database and a file DSN. If I use a system DSN, it works fine but it does not seem to find the file DSN for some reason (And I HAVE to use a file DSN in this instance, for reasons I won

  • RFC SDK linking errors

    I tried the HP-UX 6.40 and 7.10 versions with the same result.   So I scanned /usr/lib for one of the symbols and came up with libCsup and libnisdb.  Adding -lCsup cleared up the missing symbols. Still don't understand the Linux problem...

  • Error in staring server sp2

    Hello, I am trying to port application developed in weblogic platform 8.1 sp1 to wl Platform SP2. when i start the server i get following error.( i have updated all libraries). error stack: <Mar 26, 2004 7:42:25 PM GMT+08:30> <Error> <HTTP> <BEA-1010

  • Unexpected Error when submitting Claim Code

    Hi there. I have tried all instructions on HP site to link printer for HP ePrint. However, when submitting Claim Code I get the message 'Unexpected Error'. Can someone help?.Thank you.