Importing page different workspace ID

Hi ,
I have an application on my development environment and I created a new workspace in the production environment.
The workspace I created on the production env has a different WORKSPACE ID and due to this I cannot import individual pages from development into production.
Is it possible for me to create a workspace in production with the same workspace id as that on development ?
I don't want to import the whole application all over again but be able to import just a few individual pages.
Also next time I create a production workspace, can i ensure that this workspace id is the same to facilitate individual page imports ?
Thanks,
Deepa

Earl,
You are correct that export/import of individual pages between applications in different workspaces is not supported, but there is a workaround.
In the following example, I have two workspaces: Workspace X contains Application101 that has a page I want to import into Application 202 - but that Application202 is in Workspace Y.
1) Export the whole of Application101 from Workspace X.
2) Import Application101 into Workspace Y.
3) Go into Application202 in Workspace Y and select a page (any page, doesn't matter which one).
4) Click on the "Copy" button and then choose to copy a page from another application.
5) Select Application101 (which was imported into Workspace Y in step 2) from the drop down.
6) Select the relevant page you want to copy.
7) Follow the wizard to the end.
Result: a page from Application101 now exists in Application202, even though the two applications were created in separate workspaces. Not the simplest method, but it does work :-)
Cheers,
Colin

Similar Messages

  • How to copy page from different workspace?

    hi guys,
    can anybody tell me how to copy page frm different workspace..??
    thxs
    regards,
    Kumar

    Firstly sorry if my handle appears as User10390457, I've changed it but it takes a little time to update.
    Kumar,
    You should import the entire application from where you want to copy the page into the workspace where you want to copy the page to. You will have to change the workspace id (called 'p_security_group_id') to the workspace id that you're importing into, in the export file. You will also have to assign a different application id when you're doing the import. Thereafter you can copy the page using the normal copy function in Apex.
    I hope this is clear enough.
    Good luck.
    Vis Naidu

  • Export import a page between workspaces

    I have a page 500 in workspace A that I wish to export.
    The load it into workspace B on another datebase, keeping the page number the same but with a different delevoper username.
    Is this possible using the APEX export/import?
    Does the export script need to be changed in any way to make it work?
    Can it only be done via sql*plus
    I have had limited success, but only when the page is exported and imported to the same workspace in the same database.
    Thanks
    Ian

    Hello Ian,
    >> I have had limited success, but only when the page is exported and imported to the same workspace in the same database.
    This is the original intension of this service, although it will also work on different databases, if the workspaces are the same – the target workspace was created by importing the source workspace.
    In principle, you can change the p_security_group_id parameter, in the exported file, to the target workspace id, and the system (using the APEX import wizard) will import the page. This is NOT a support action, and you take the risk of encountering duplicate IDs (it’s a small risk, but it’s there). Also, if the page is using shared components, it can also be a problem, as the shared components IDs in the source application are probably not matching those in the target application.
    Regards,
    Arie.
    Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.

  • How to import shared components from a different workspace.

    I have several workspaces / schemas (one to one relationship) in the same server.
    When I try to install components exported from an application in one workspace to an application in another workspace I get an error because of the different workspace.
    Source workspace/application = SCAI / 102
    Target workspace/application = ACAMPO / 129
    The objects in the database are identical in both schemas behind the workspaces.
    Is it possible to edit the SQL file to address it to the target workspace?
    I cannot see any uncommented entries in the sql referring to the application / workspace or schema name, but these two:
    prompt APPLICATION 102 - SCAI
    wwv_flow.g_flow_id := 129;
    Will it work if i change it to
    prompt APPLICATION 129 - ACAMPO
    wwv_flow.g_flow_id := 129;
    for instance?
    Below is the SQL code of two LOVs exported.
    Any help will be appreciated. I need to export not two but dozens of components and I don't want do do it manually.
    ================================
    set define off
    set verify off
    set serveroutput on size 1000000
    set feedback off
    WHENEVER SQLERROR EXIT SQL.SQLCODE ROLLBACK
    begin wwv_flow.g_import_in_progress := true; end;
    --application/set_environment
    prompt APPLICATION 102 - SCAI
    -- Application Export:
    -- Application: 102
    -- Name: SCAI
    -- Date and Time: 10:24 Thursday April 26, 2007
    -- Exported By: FBARRENA
    -- Flashback: 0
    -- Export Type: Component Export
    -- Manifest
    -- LOV: A_ACREDITADOS_900_LOV
    -- LOV: A_ACRED_CLIENTES_LOV
    -- Manifest End
    -- Version: 2.2.1.00.04
    -- Import:
    -- Using application builder
    -- or
    -- Using sqlplus as the Oracle user: FLOWS_020200
    -- AAAA PPPPP EEEEEE XX XX
    -- AA AA PP PP EE XX XX
    -- AA AA PP PP EE XX XX
    -- AAAAAAAAAA PPPPP EEEE XXXX
    -- AA AA PP EE XX XX
    -- AA AA PP EE XX XX
    -- AA AA PP EEEEEE XX XX
    prompt Set Credentials...
    begin
    -- Assumes you are running the script connected to sqlplus as the owner (parsing schema) of the application or as the product schema.
    wwv_flow_api.set_security_group_id(p_security_group_id=>733821679136675);
    end;
    begin wwv_flow.g_import_in_progress := true; end;
    begin
    select value into wwv_flow_api.g_nls_numeric_chars from nls_session_parameters where parameter='NLS_NUMERIC_CHARACTERS';
    end;
    begin execute immediate 'alter session set nls_numeric_characters=''.,''';
    end;
    begin wwv_flow.g_browser_language := 'en-us'; end;
    prompt Check Compatibility...
    begin
    -- This date identifies the minimum version required to import this file.
    wwv_flow_api.set_version(p_version_yyyy_mm_dd=>'2006.02.24');
    end;
    prompt Set Application ID...
    begin
    -- SET APPLICATION ID
    wwv_flow.g_flow_id := 102;
    wwv_flow_api.g_id_offset := 0;
    null;
    end;
    -- C O M P O N E N T E X P O R T
    -- Requires Application Express 2.2 or greater
    begin
    wwv_flow_api.g_mode := 'REPLACE';
    end;
    prompt Component Export: LOV 10548119991618465
    prompt ...Shared Lists of values
    begin
    wwv_flow_api.create_list_of_values (
    p_id => 10548119991618465 + wwv_flow_api.g_id_offset,
    p_flow_id => wwv_flow.g_flow_id,
    p_lov_name => 'A_ACREDITADOS_900_LOV',
    p_lov_query=> 'select ID_ACRED || '' '' ||NOMBRE_ACREDITADO d, ID_ACRED r'||chr(10)||
    'from A_ACREDITADOS_V'||chr(10)||
    'where (DESHABILITADO IS NULL OR DESHABILITADO <> ''1'') and ID_ACRED like ''900%'''||chr(10)||
    'order by NOMBRE_ACREDITADO');
    null;
    end;
    prompt Component Export: LOV 3172519822650040
    prompt ...Shared Lists of values
    begin
    wwv_flow_api.create_list_of_values (
    p_id => 3172519822650040 + wwv_flow_api.g_id_offset,
    p_flow_id => wwv_flow.g_flow_id,
    p_lov_name => 'A_ACRED_CLIENTES_LOV',
    p_lov_query=> 'select APELLIDO_PATERNO||'' ''||APELLIDO_MATERNO||'' ''||NOMBRE d, ID_ACRED r'||chr(10)||
    'from A_ACREDITADOS where ES_CLIENTE =''1'''||chr(10)||
    'order by 1');
    null;
    end;
    COMMIT;

    Francisco,
    No, it won't work. The internal IDs of application components are all different between the two applications.
    The objects in the database are identical in both schemas behind the workspaces.
    This problem is not related to database objects like tables, etc.
    Scott

  • Problem importing page

    Hi
    We here have different enviroments (DEV, TEST and PROD). When we started using Apex here, we exported the WS from Dev and imported it in the other environments so we would be able to export/import individual pages between envs - at least that is what I thought!
    Today I just tried it, and got the error:
    Logged Into Workspace:      DEV
    Export File Workspace:      DEV
    Export File Workspace ID:      18264907605025815
    Export File Application:      124
    Export File Page:      15
    Export File Version:      2007.01.08
    Page Origin:      This page was exported from a different application or from an application in different workspace. Page cannot be installed in this application.
    The application IDs are indeed different (the source one is 154). That is why it didn't work? I can only import pages into the same app ID as the source? Any reason for that?
    If this is the case, when I move whole applications across envs, I have to use the same app IDs I presume?
    (Apex 3.0.0.00.20)
    Thanks,
    Luis

    Luis,
    The application IDs are indeed different (the source one is 154). That is why it didn't work?
    Yes.
    I can only import pages into the same app ID as the source?
    Yes.
    Any reason for that?
    The assumption is that if the application IDs are different (installed "target" application ID vs. the application ID in the page export file) that the two applications will have different internal IDs for all of the components, and of particular concern are the IDs of shared components not contained in the page export but referenced by the page.
    If you know the applications are really "the same" in terms of the internal IDs then you can edit the application ID in the page export file (in this case to 154 -- I think, although you said "the source one is 154" but the output says "Export File Application: 124") and try that page install again. But really the only way they could have the required consistency is if you used SQL*Plus to install the application 124 export as application 154 by editing the application ID in the file, changing 124 to 154 in several places (or the other way around depending on what's really going on).
    Scott

  • Does import page function really works

    I 'm trying to import a page from an application into another one. The two application are in the same wroksapce. Each time I try the import I get this error message
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-00001: unique constraint (FLOWS_020000.WWV_FLOW_PAGE_PLUGS_PK) violated <pre>declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=&gt; 30908269848226167 + wwv_flow_api.g_id_offset, p_flow_id=&gt; wwv_flow.g_flow_id, p_page_id=&gt; 85, p_plug_name=&gt; 'Controle', p_plug_template=&gt; 30914950155248874
    Error installing page.
    Return to application.
    Is this functionnality really work or is it just there for fun ??

    It works, but only when you export from the same application. It may be useful if you only modify a single page in your development environment, and want to import that into production. That way you dont need to import your entire application.
    Here is the message you get if you try to import from an application with a different ID or workspace:
    This page was exported from a different application or from an application in different workspace. Page cannot be installed in this application.
    So they must have the same application id to work

  • How to combine two applications with different workspaces in APEX

    Hi,
    Can anyone help out in merging two applications with different workspaces in APEX 3.2 ?
    Thanks in advance,

    Hello Satya,
    >> I am Satya …
    Please take one more step to help us and update your forum handle to something friendlier than user123… Thanks.
    >> Can anyone help out in merging two applications with different workspaces in APEX 3.2 ?
    This is not a trivial task.
    You didn’t mentioned if both workspaces sharing the same APEX instance, or they are on two different instances (machines). I believe the latter is a pre-condition to a success.
    First you need to remember that importing an APEX component, like a single page, is possible only to the same application that it was exported from. This is still valid if you have the same workspace on two separate APEX instances – one is an import of the other (which makes it an identical copy). Still, the application ID must be the same, or you’ll get the following error: “This page was exported from a different application or from an application in different workspace. Page cannot be installed in this application.”
    You can’t simply manipulating the export file, if the two workspaces are sharing the same APEX instance, as all workspaces on the same instance shares the same APEX metadata files, and you’ll receive a “unique constraint violated” error messages. That means you can’t import one application into the workspace of the other, even if you are using a different application ID.
    As far as I can see, the only viable way of doing an application merge is to have two identical workspaces, on two separate APEX instances. The two applications should share the same application ID, although this parameter can be changed in the import file. You should export the page in one application – on the first instance – and import it into the other application – on the second instance.
    You should also make sure that the exported page ID doesn’t exist on the target application, otherwise it will be replaced by the new imported page. Also, if the imported page include references to shared components that are not defined on the second application, it might also pose a problem.
    As I said, this is not trivial. The benefits are mostly depend on the amount and complexity of the pages you want to merge. If they are not many, and simple, you should consider just re-creating them on the target application. If they are very complex, the merge might fail anyway.
    Regards,
    Arie.
    Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.

  • Why are my HD videos all importing with different resolutions?

    Hi, I tried looking through like 10 pages of discussions on here and didn't see anybody else having this problem.
    I have a Canon Vixia HF200, I keep the settings on MXP (highest quality 1920 x 1080). Every time I log and transfer my videos they import at different resolutions (everything from the same day will be the same), some of them come in as 1440 x 1080, 720 x 480, etc, when they should all be 1920 x 1080.
    So, since some of them ended up being a completely different aspect ratio, I went into Motion>Distort and changed them all to 1920 x 1080, and I thought it was fine, but now I'm noticing that some of the videos look really out of focus (it seems like they get more out of focus every time I open it), so I'm thinking I probably shouldn't have stretched them....
    I checked the original videos in the browser and they all say 1920 x 1080 now, when I watch them in the viewer, they actually look like good HD videos, but in the canvas they're out of focus...
    I'm also working with multiple sequences, and when I copy videos from one sequence to another, it changes the resolution/aspect ratio/scale again, and becomes more blurry when I try to fix it.
    So basically, I have a huge mess. I'm working on editing a documentary that I'm making and now most of the video looks bad and I'm not sure how to change it back. I even tried starting a new project and importing the original videos, but they don't seem to have the original quality.
    Anybody know how I can either fix this or somehow replace the clips in the sequence with the originals in the browser to at least get some quality back?
    Also, a lot of the time when I render, I come back to the computer and it says something like "Error: Illegal (something) render failed" and completely loses the rendering that it spent a long time doing.
    I appreciate any help.
    Lisa

    Hi Lisa,
    Your 1920x1080 clips most likely import at their normal frame size, and then you placed them in the wrong sequence. Make sure your +File > Easy Setup+ is set to *Apple Intermediate Codec 1920x1080i60* before you create a new sequence.

  • Unable to import pages

    Hi all,
    I login the studio by [email protected]/admin
    however, I cannot import pages
    Control Panel -> Admin Admin -> My Pages -> Export/Import
    and it prompts
    "You do not have the required permission"
    anyone has idea?
    Thx
    BCHK

    The import functions slightly differently than the export. You need to import the pages into a community explicitly.
    So, do a Control Panel > Communities > Actions > Manage Pages > Import/Export (tab) > Import (Browse for your LAR file).
    I did the above flow from memory so it might not be exactly right but should be enough to get you going. Let me know if not.
    Patrick Rafferty
    http://branchbird.com

  • Copy Images from different workspace

    Hi,
    I have an application that uses 4 images. These images are in shared components -> images of that application. This application is in the workspace, say 'X'
    When I go to these Images I see - #APP_IMAGES# xyz.gif
    The only options I find there are - Display install file script and Display deinstall file script.
    Now I want to use these images in my application. I am developing this application in a different workspace, say 'Y'.
    How do I get these Images into my workspace? And put it in the shared components of my application.
    Please Suggest.
    Thanks.

    Hi ,
    Try this
    Open Home>Application Builder>Application X>Export / Import>Export->see the tabs Workspace Users      Application      CSS      Images      Files      Themes      User Interface Defaults now click the image then proceed->
    choose from Export Images in Application selectlist X->File Format=dos->Click EXPORT IMAGEs button.
    X.sql file will get download
    go to your workspace and choose Y application
    Select the file you wish to import to the export repository. Once imported, you can install your file.
    Open Home>Application Builder>Application Y>Export / Import>Import-> browse the sql file and
    File Type=image import
    click Next button-> image will import in your Y applicaiton
    Conform by checking this under shared components-> images
    Thanks
    Mark Wyatt

  • How to import page content similar to importing products?

    Hi,
    I have built a sample page for my site. There are another 30 website pages using the same structure but with different content I need to build. Instead of copying and pasting the same page and replace with different data, is there a way that I can import page content, something like importing products? It would be much quicker to finish the work. Cheers.
    Alex

    Hi Alex, you should be using templates and content holders rather then having everything just in pages.
    http://kb.worldsecuresystems.com/kb/create-site-design.html
    http://kb.worldsecuresystems.com/kb/create-insert-reusable-content.html

  • Reference a project in a different workspace?

    Is it possible to reference a project in a different workspace (aka application)?
    Or are you restricted only to the projects in the same workspace?

    I'm not quite sure what you mean by "reference." If it's just a matter of coding against the classes you've developed in another workspace, you certainly can--even if you don't want to deploy the project as a library. Just set your current project's "additional classpath" to include the "classes" directory of the project you want to use.
    Even if, say, you want to use business components from the other project, you can "import" the other project's business components (select the business component package XML file to import them).
    If you want to do something fancy, like actually ensure the other project gets rebuilt every time one of your projects gets rebuilt, then I think the only way to go is to add the project to the current workspace. (A project can be in more than one workspace; just "add to workspace" and browse to the other project's jpr file.) I'm not terribly sure I recommend this except in extremis, though--if a project is open in two workspaces, dealing with, e.g., whose job it is to actually change files in it can be difficult.

  • One Application deployed a different workspace

    I am deployed a one Application in Different schema and different Workspace but this process is very slow and how can Change a Security Group id in apex application Script if any possibilities then tell me about Changing Security Group id then i am import a application in command line / Linux Terminal .
    if any Possibilities then tell me.
    Edited by: Asim on Jun 4, 2010 10:03 AM

    Tom,
    Yes, you can :-)
    See [this link|http://download.oracle.com/docs/cd/B25329_01/doc/appdev.102/b25309/deploy.htm]
    Generally when I move my applications from one workspace to another, I export my APEX application and then I will import it in Target workspace. I prefer to move all database objects separately using tools like TOAD or SQL developer.
    Cheers,
    Hari

  • What di I need on a Mac Mini to import Pages documents from an iPad-mini

    What do I need on my MacMini to import Pages documents from an iPad-mini?

    Plug in your iPad mini to the Mac mini. Open iTunes on the Mac. Select your iPad from the sidebar on the left. At the top, where it says "Summary," etc. choose Apps. Scroll down until you see a section for File Sharing. Find Pages. Select the document on the right. In the bottom right corner, select "Save to..." and choose where on your computer you want to save it.

  • I would like to import two different cf cards from two different cameras into the same project/folder and have them be in order of the times they were taken, is there a trick?

    I would like to import two different cf cards from two different cameras into the same project/folder and have them be in the order of the times they were taken, any ideas on how to do this?

    Just import them normally and sort the project by date. They will fall into place. If you tried this and it isn;t happening then make sure the data and times on the two cameras are identical and make sure you are sorting by date and time and nothing else.

Maybe you are looking for

  • OBIEE 11G error while installation at the configuration setting(ASinstance)

    Hi Experts, I am trying to Install OBIEE 11G on Windows on Local PC.But getting the following error . "Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: PermGen space" at the configuration step of ASinstance. I have set the virtual m

  • Help needful, fi-co-copa documents relation needed.

    hi, how to get the fi corresponding co document and also copa document. for suppose fi document (belnr) is 20010305 if it is having corresponding co document. till here i am getting the logic. after knowing that this particular fi has the co document

  • How to customize standard "gen. comb." function to generate 1 instead 0?

    Hi, I am curious if anyone knows where we could change the standard generate combination function to generete some other number than 0. I think it must be quite easy, but unfortunately I can not find the right part of the code. Thanks for any advise.

  • WaitTime for Browse messages

    Can WaitTime be specified for browsing queue messages just like receive messages.

  • Want to delete toolbar

    Hi, I have a toolbar that i want to delete but cant. I went to my control panel and went to add and remove. the program was not there. how do i get rid of the toolbar. Thank you. Debbie Lemmon