webMethods and Intelligent Business Operations 10.2 | CentraSite Developer's Guide | Importing Objects Using API | Writing Your Own Importer
 
Writing Your Own Importer
 
The Build Environment
The Plug-In Environment
Propagating the Plug-In
Generating Additional Files
Activating the Plug-In
Deactivating the Plug-In
You can write your own plug-in for CentraSite Control to incorporate your own importer. The prepared plug-in is a collection of files in a specific directory structure. After implementing the plug-in, the files must be copied into the CentraSite Control webapps folder under:
<RuntimeWebAppsDir>/PluggableUI/<MyPluginFolder>
The location of the <RuntimeWebAppsDir> folder is <RuntimeDir> /workspace/webapps.
The folder <MyPluginFolder> must contain the following files and folders:
Name of File or Folder
Description
plugin.xml
Top plug-in description file
*.html
Files generated for the GUI
*_SWT.xml
Files generated for the GUI
images
Directory for icons (GIF files)
lib
Directory for JAR files provided by the plug-in
accesspath
Directory created by HTML generation
The ImportMyFile framework illustrates how an import plug-in may be set up. The example extends the import selection list and presents a screen that prompts for the file to be imported. After confirming the file, the appropriate adapter classes are called.

Copyright © 2015- 2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release