Oracle by Example brandingStage and Publish an Oracle Visual Builder Web Application

section 0Before You Begin

This 10-minute tutorial shows you how to stage and publish a web application.

Background

Once you have created an Oracle Visual Builder application, you can stage it to allow team members to test it thoroughly. After testing is complete, you can publish the application and make it available to users.

Oracle Visual Builder provides different databases for the development, staging, and live phases of an application. You can use an empty database for the staging or live phase, or you can transfer data from one to another, or you can import specific data for each.

What Do You Need?

  • Access to Oracle Visual Builder
  • A supported browser
  • Completion of the previous tutorials

section 1Stage the Application

Stage the application so that other users can test its behavior.

  1. If necessary, log in to Oracle Visual Builder. If you are still in the HR Application, click ORACLE Visual Builder to return to the Visual Applications page.
    Description of vbcssp_sta_s1.png follows
    Description of the illustration vbcssp_sta_s1.png
  2. On the Visual Applications page, click the Options Options menu icon icon for HR Application and select Stage.
    Description of vbcssp_sta_s2.png follows
    Description of the illustration vbcssp_sta_s2.png
  3. In the Stage Application dialog box, select the Populate Stage with Development data option and click Stage.
    Description of vbcssp_sta_s3.png follows
    Description of the illustration vbcssp_sta_s3.png

    The application is staged, and the status changes from Development to Stage.

  4. Click Stage and select hrwebapp, the name of the web application. The staged application opens in a new browser tab. The tables are populated with the data from Development.
    Description of vbcssp_sta_s4.png follows
    Description of the illustration vbcssp_sta_s4.png
  5. Make a note of the URL of the staged application. You can share this URL with members of your group so that they can test it.

    When you have finished using the application, close the browser tab to return to the Visual Applications page.


section 2Import Data Into the Application (Optional)

You can import data for the Department and Employee business objects from a zip file. You can skip directly to the publishing step if you wish.

  1. Click this link and download the HR_Application_Stage.zip file. The zip file contains CSV files of the Department and Employee business objects of the HR Application schema, with more records and data.
  2. On the Visual Applications page, click HR Application in the Name column to open it.
  3. Click the Business Objects Business Objects icon tab, then click Menu Menu icon and select Data Manager.
    Description of vbcssp_imp_s3.png follows
    Description of the illustration vbcssp_imp_s3.png
  4. From the drop-down list in the upper right corner, select Staging to import the data into the staging database.
    Description of vbcssp_imp_s4.png follows
    Description of the illustration vbcssp_imp_s4.png
  5. Click Import from File.
  6. In the Import Data dialog box, click the import box, select HR_Application_Stage.zip, and click Import. When the import succeeds, click Close.
    Description of vbcssp_imp_s6.png follows
    Description of the illustration vbcssp_imp_s6.png
  7. In the Business Objects pane, click Department.
  8. Click the Data tab if necessary, then select Staging from the drop-down list to view the new departments.
    Description of vbcssp_imp_s8.png follows
    Description of the illustration vbcssp_imp_s8.png
  9. Click Employee, then click the Data tab and select Staging to view the new employees.
    Description of vbcssp_imp_s9.png follows
    Description of the illustration vbcssp_imp_s9.png

section 3Publish the Application

After you have successfully tested the staged application, you can publish it and make the application live. The live application is visible to users with proper credentials.

  1. Click the Menu Menu icon icon in the header and select Publish. (If you skipped the previous section, you can click the Options Options menu icon icon for HR Application and select Publish.)
  2. In the Publish Application dialog box, select the Include data from Stage option and click Publish.
    Description of vbcssp_pub_s2.png follows
    Description of the illustration vbcssp_pub_s2.png

    The application is now live. Notice the status change in the header next to the application name.

  3. Click ORACLE Visual Builder to return to the Visual Applications page.
  4. Click Live and select hrwebapp. The application opens in a new browser tab.
    Description of vbcssp_pub_s4.png follows
    Description of the illustration vbcssp_pub_s4.png

    The schema and the data from the staging database are copied to the live database.

  5. Make a note of the URL of the application. You can share this URL with public users.

    When you've finished using the application, close the browser tab.

  6. If you want to, click the user menu in the top-right corner and select Sign Out from the menu. After you've published an application, you will no longer be able to make changes to it. Instead, create a new version of it and edit that.