Reusing the Schemas in TIBCO Adapter for Files (Unix/Win) using the export and import resources option.

Reusing the Schemas in TIBCO Adapter for Files (Unix/Win) using the export and import resources option.

book

Article ID: KB0088515

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for Files for Unix and Windows -
Not Applicable -

Description

Description:
If you need to reuse the schemas of an existing TIBCO ActiveMatrix Adapter for Files (FA) project in other FA projects without manually creating those schemas again, then export the required schema from an existing FA project and import that schema into the FA project.

Resolution

The following steps are used to export the existing schema and import in new projects for reuse:

1). Open the existing project in Designer. Navigate to AESchemas>ae>FileAdapter>wire and select the schema to be exported. Example: 'schmatobeexported'.

2). Click on the Project menu->Export Resource to File. Check the ‘Customized Export’ check box in the window that appears. Give a file name for the exported schema. Click on ‘ok’. Click on the 'add' button in 'Export and remove the dependencies' window. Then add /AESchemas/ae/FileAdapter/native/schmatobeexported.aeschema. Click 'ok'.

3). Open another project.

4). Import the zip file using Project menu->Import Resource from File. Check the Edit Advanced Settings check box. Select ‘overwrite on name conflict’ in the option tab.

5). Navigate to the imported schema in the other project and reuse it.


Example: If we want to reuse the ContainerReader schema of the sample project, ‘Teak_TafRepoDefault_Files’ in the new project, then follow these steps:

1). Open the sample project, ‘Teak_TafRepoDefault_Files’ in Designer. Navigate to AESchemas>ae>FileAdapter>wire and select ‘ContainerReader’.

2). Click on the Project menu->Export Resource to File. Check the ‘Customized Export’ check box in the window. Give the file name ‘continernativeWired.zip’. Then click on ‘ok’. Click on the 'add' button in the 'Export and remove the dependencies' window. Then add /AESchemas/ae/FileAdapter/native/ContainerReader.aeschema. Click 'ok'.

3). Create an empty project ‘TestExportImportSchema’, and add FA sub service and Write schema.

4). Import the zip file using Project menu->Import Resource from File. Check the Edit Advanced Settings check box. Select ‘overwrite on name conflict’ in the option tab.

5). Go to the write schema. Click on the browse button and navigate to the imported schema and reuse it.

Issue/Introduction

Reusing the Schemas in TIBCO Adapter for Files (Unix/Win) using the export and import resources option.

Additional Information

TIBCO Designer User’s Guide->Working With Legacy Projects->Exporting Resources and
TIBCO Designer User’s Guide->Working With Legacy Projects->Importing Resources

Attachments

Reusing the Schemas in TIBCO Adapter for Files (Unix/Win) using the export and import resources option. get_app
Reusing the Schemas in TIBCO Adapter for Files (Unix/Win) using the export and import resources option. get_app