Creating an Application with Multiple Profiles

You can define multiple profiles when creating an application in TIBCO Business Studio™ for BusinessWorks™.

A profile is a collection of module and application properties that an application uses. When an application is deployed with different properties, different profiles are available for each deployment. For example, you can create a Windows profile for an application that runs on a Windows machine and another for the same application running on a UNIX machine.

Prerequisites

An application is created with profiles using TIBCO Business Studio for BusinessWorks. For more information about creating applications see the TIBCO ActiveMatrix BusinessWorks™ Application Development guide. The following screenshot shows an application with a profile for Windows and another for UNIX. Each profile has a set of defined properties and values. The values use the appropriate operating system syntax to point to the files in the file system. The files are created and maintained outside of TIBCO Business Studio for BusinessWorks.

Application Profiles

Follow these steps to create an application profile:

Procedure

  1. Start TIBCO Business Studio for BusinessWorks and open an application.
  2. Expand the application and double-click Properties under Package Unit.
    This displays the Properties pane in the Process Editor.
  3. Click the New Profile button to add a new profile.
  4. In the Create New Profile window, enter a name for the new profile. For example, enter WindowsProfile and click OK.
    The WindowsProfile gets created and available to the right of the [default] column in the Properties pane.
  5. Double-click the field under the profile that corresponds to a property, and enter a value for the property.
  6. Save the project.
    You can create multiple profiles as needed.