Creating the External Application Event Definition
Use the Application Publish Definer to create an event definition file.
Procedure
-
With the external application open in TIBCO General Interface
Builder, select
Project Settings from the
Project
menu.
The Project Settings dialog is displayed.
- Click the WCC Settings button.
-
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.
-
Click the
Create button.
A dialog is displayed that allows you to point to the prototype file for your external application.
-
Click the
Include button.
The Include Files window is displayed.
-
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".
- From the Include Files dialog, click the Include button.
- Repeat steps 6 and 7 to include additional files, if desired.
-
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
-
Click the Cancel button to close the
Project Settings dialog.
The new event definition file can now be imported into another WCC application.