9 Replies Latest reply: Feb 17, 2013 5:36 AM by 922030 RSS

    Export page from workspace

    922030
      Hello,

      I can't export page from other application in the same or application in another workspace..any solution ?

      Thanks!
        • 1. Re: Export page from workspace
          Howard (... in Training)
          I assume you -
          - do a page export to some folder,
          - then switch to a new workspace and application, and
          - then try to import the page code into that application.
          Right?

          What error do you get and when -- in what step of the process -- do you get it. (Remember, you haven't told us the details yet.)

          Also, can you make a tiny, trivial 2-page application on apex.oracle.com? Then export the page and try to do the import there. Tell us what errors you get.

          Regards,
          Howard
          • 2. Re: Export page from workspace
            922030
            Exactly that's what I meed to do.
            Error: "This page was exported from a different application or from an application in different workspace. Page cannot be installed in this application."
            • 3. Re: Export page from workspace
              Howard (... in Training)
              What is the extent of the problem?
              - Is it broken for one particular page in one particular application/workspace? OR
              - Is it broke for every page in every application in every workspace?

              Can you try to import an offending page into a trivial application you create on apex.oracle.com and tell us the resulting message there?

              Regards,
              Howard
              • 4. Re: Export page from workspace
                922030
                The resulting message when I'm trying to import page was exported from different application in a different workspace it gives me "This page was exported from a different application or from an application in different workspace. Page cannot be installed in this application."

                Thanks!
                • 5. Re: Export page from workspace
                  Howard (... in Training)
                  Okay. So you have two different applications, each in it's own separate APEX workspace. Right?

                  Which version of Oracle for each workspace?
                  Which version of APEX for each workspace?
                  Is this just one single page being exported?
                  How many bytes is the export file?

                  What kinds of APEX regions are on this page? Report? Form? Chart? ... ???

                  Can you import this page into a dummy application in the same workspace from which it comes? If so, at least that's a start?

                  Regards,
                  Howard
                  • 6. Re: Export page from workspace
                    922030
                    Right.

                    The workspaces in the same APEX instance.
                    Yes a single file.
                    15 KB.

                    Page contains one form region.

                    No, I can't do that it gives me the same error.

                    --
                    Regards,
                    Moussa
                    • 7. Re: Export page from workspace
                      fac586
                      Moussa wrote:

                      I can't export page from other application in the same or application in another workspace.
                      Correct. Page level export/import using the App Builder is only possible where the workspace and application have the same IDs.
                      any solution ?
                      Perform the import using SQL*Plus or SQL Developer and the <tt>apex_application_install</tt> API.

                      See the linked documentation above, and:

                      <li>Joel's <tt>apex_application_install</tt> article
                      <li>+{thread:id=2312058}+
                      • 8. Re: Export page from workspace
                        922030
                        These dose not help to import page, it just help to import application into anther workspace. Is their a way to import page to application in anther workspace ?

                        --
                        Regards,
                        Moussa

                        Edited by: Moussa on Feb 17, 2013 1:36 PM
                        • 9. Re: Export page from workspace
                          fac586
                          Moussa wrote:
                          These dose not help to import page, it just help to import application into anther workspace. Is their a way to import page to application in anther workspace ?
                          Joel's post in the linked thread is very clear:
                          Yes, you can use the APEX_APPLICATION_INSTALL API with the page export files.