CentraSite Documentation : CentraSite Administrator’s Guide : Importing Objects Using the API : Writing Your Own Importer
Writing Your Own Importer
 
The Build Environment
The Plug-In Environment
Propagating the Plug-In
Generating all additionally needed 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 described in Overview of Basic Operations.
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.
You may use this example as a guideline, adapting it and renaming it to suit your individual requirements. The templates indicate where customization is required.
Copyright © 2005-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback