Events From External Applications
Because Workspace components need to communicate with applications that exist outside of their own application, the Events Editor provides an Import function that is used to import event definition files that contain the definitions of events in external applications. This allows you to see, and subscribe to, events in the Events Editor that are being published by external applications.
The WCC Add-in provides an Application Publish Definer that is used to create an event definition file. You can then import that file into another WCC application and subscribe to the events published by the external application.
Event definition files must conform to the schema defined in the file:
StudioHome\wcc\version\JSXAPPS\WCCProjectName\defs\app.pub.schema.xsd
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".
The following sub-topics describe the steps necessary to create the event definition file, then import that file into another WCC application so it can subscribe to the events defined in that file.