Creating the External Application Event Definition

Use the Application Publish Definer to create an event definition file.

Procedure

  1. With the external application open in TIBCO General Interface Builder, select Project Settings from the Project menu.

    The Project Settings dialog is displayed.

  2. Click the WCC Settings button.
  3. Click the Open Application Publish Definer button.

    The Create WCC Application File dialog is displayed. This dialog allows you to enter an application model name that will be used in the name of the event definition file, as follows:

    WCCProjectName.app.pub.xml

    where WCCProjectName is the name of the current WCC project/application.

    It defaults to using the application model name for your current application.

  4. Click the Create button.

    A dialog is displayed that allows you to point to the prototype file for your external application.

  5. Click the Include button.

    The Include Files window is displayed.

  6. Navigate to, and select, the prototype file for your external application. For example:

    StudioHome\wcc\version\JSXAPPS\WCCProjectName\application\prototypes\appMain.xml

    where:

    • StudioHome is the directory in which TIBCO Business Studio was installed.
    • version is the version number of Workspace that was installed with TIBCO Business Studio.
    • WCCProjectName is the name of the General Interface Builder project that contains your custom application. If you are working with the Workspace application, this is "workspace".
  7. From the Include Files dialog, click the Include button.
  8. Repeat steps 6 and 7 to include additional files, if desired.
  9. Click the Save button to save the event definition file, then click Close to close the dialog.

    The new event definition file is saved in the following location:

    StudioHome\wcc\version\JSXAPPS\WCCProjectName\defs\WCCProjectName.app.pub.xml

  10. Click the Cancel button to close the Project Settings dialog.

    The new event definition file can now be imported into another WCC application.