![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
The project that will be created in the following sections will read and publish contents of the specified file. The file is c:\FileAdapter_Example\inputfile.txt. Create this folder and the input file before proceeding with the example.
1. Create a project, AdapterExample.See Chapter 1, Overview for instructions on launching TIBCO Designer Add-in for TIBCO Business Studio and creating a project.
2. Right-click the project name and select Open. The Designer menu is now added to the menubar and also the perspective changes to Designer-TIBCO.
3. Drag and drop a File Adapter Configuration from the Palettes view to the Editor View.
5. Double-click the File Schemas folder and then drag and drop a Read Schema resource to the Editor View.
6. Double-click the Read Schema and then drag and drop a Delimited File Record from the Palettes View to the Editor View.
b. Choose Other from the drop-down list for Delimiter.
c. Type ’,’ (comma) in the Delimiter Other field.
d. Use the Add button to add two rows to the Attributes table.
f.
8. Click FileAdapterConfiguration.adfiles in the Project Explorer view.
a. Click Browse next to the Input Directory field to locate the directory and the file that you created (c:\FileAdapter_Example).
b. Type the name of the file, inputfile.txt.
b. Select Leave as is in the drop-down list of the Post Processing field.
12. In the Schema tab, click the Addicon and select the schema created earlier from the Select a Resource dialog box.
13. Click Apply.
15. Click Designer> Tools> Show Adapter Tester.
16. Click FileAdapter Configuration.
18. Click Start.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |