Share a Visual Application

You can share your visual application with others without pushing changes to your project’s Git repository branch or using the build pipeline. Instead, you use the Share option in the visual application’s Menu to create a URL that you can share with others.

Much like a preview, sharing a visual application lets you and other team members try it out. But unlike a preview, the application you share is deployed to the Visual Builder instance that the project uses. If you make changes after the visual application is shared, you’ll need to share the application again for the changes to be deployed to the Visual Builder instance.

Note:

Before you share your application, you can optimize its resources to improve performance. See Optimize Your Application For Sharing.

To share a visual application:

  1. In the visual application's header, click the Menu option in the upper right corner.
  2. Click Share, then select your options in the Share Visual Application dialog.

    The Share Visual Application dialog displays a list of the web (and mobile) applications in your visual application. The active application is the application that you're currently using and will open by default after a successful share. If you want to make another application active, select that application in the Navigator before you click Share.

    You can also see the URL where the application will be shared. When your visual application contains multiple apps, you can use these URLs to open an application that is not the active application after the share operation completes successfully. You can also click Copy (Copy icon) next to each application to copy the share URL.

    To manage your shared application's data, choose from the available Data options in the Share Visual Application dialog:
    • Use clean database is the default option. If you use this option, you, or the users of the shared application, must enter data in the application. Alternatively, you can import data (including sample data that you export from your workspace) into the application using the Import Data menu option in the Deployments tab. See Manage Business Object Data During Development.
    • Use development data (my workspace) if you want your shared application to automatically include sample data from your workspace.
    • Use previous data if you want your shared application to use data from a previous deployment of your application. Select this option if you want to re-use data that was included when you first shared your application.
  3. Click Share.

    Note:

    If your application cannot be shared, click Open Logs in the Share Visual Application dialog to view and fix build-related errors.

After the visual application is shared, you and other members of your project can open the URL for the shared instance of your visual application from the Deployments tab. As someone who shared the application, you can also open the shared instance by clicking Open Shared Application in the header's Menu:
Description of open_shared_application.png follows
Description of the illustration open_shared_application.png

If you copied a share URL, you can use the URL to open that application.

To view shared applications from your environment's list of deployments, navigate to the Deployments tab in the Environments page and view the shared visual application in the Visual Applications tab. You access the applications within the shared visual application by clicking the link under the node for the shared visual application. For web applications and PWAs, any project team member with access to the Environments page in VB Studio can open the application in their browser. Other users, who access the application from the Visual Builder instance, need an appropriate user role if the application does not support anonymous access. See Secure the Application.

Shared Visual Applications in the Deployment Tab of Environments Page