Creating an Application Property

You create new application properties in the Properties page of an application in TIBCO Business Studio™ for BusinessWorks™. The application properties editor can also be used to create and manage custom profiles. You can also promote a module property to be an application property.

The application properties editor can be used to create and manage new application profiles. You can add a new application property to a profile, rename a profile, and also delete a profile. Application profiles can also be exported from an application, and used in a different application. Similarly, exported profiles can be imported into a different application.

Supported Datatypes

The following datatypes are supported for an application property:
  • Boolean
  • DateTime
  • Integer
  • Long
  • Password
  • String

Follow these steps to create a new application property:

Procedure

  1. In the Project Explorer, fully expand <application_name>.application.
  2. Double-click Properties under Package Unit to open the application properties in the right pane.
  3. Click Application in the Properties column and click New Property.
    A new property gets created under Application.
  4. Click the property name to edit it.
  5. Click the corresponding default profile column (the default column is indicated with [ ] around it) or another profile column in case you have multiple profiles set up for the property to enter a value for the property.
    For more information about setting an application profile as a default profile, see "Setting the Default Application Profile" in TIBCO ActiveMatrix BusinessWorks™ Samples.
  6. Save your application.
    Important: Be sure to map a module property to the newly created application property. Keep in mind that an application property can only be used when mapped to a module property.
    For information on creating profiles see Creating an Application with Multiple Profiles.
    When a property value is same across all profiles, and you want to keep the property values consistent across all profiles after updating a value for any one profile, select the Sync Values check box.

    For more information about editing application properties using bwadmin command line utility or by using Admin UI, see "Editing Application and Application Instance Properties" in the TIBCO ActiveMatrix BusinessWorks™ Administration guide.