Table of Contents

Search

  1. Preface
  2. Introduction to Data Transformation
  3. Data Processor Transformation
  4. Wizard Input and Output Formats
  5. Relational Input and Output
  6. Using the IntelliScript Editor
  7. XMap
  8. Libraries
  9. Schema Object
  10. Command Line Interface
  11. Scripts
  12. Parsers
  13. Script Ports
  14. Document Processors
  15. Formats
  16. Data Holders
  17. Anchors
  18. Transformers
  19. Actions
  20. Serializers
  21. Mappers
  22. Locators, Keys, and Indexing
  23. Streamers
  24. Validators, Notifications, and Failure Handling
  25. Validation Rules
  26. Custom Script Components

Creating a Script

Creating a Script

Create a Script object and define the type of Script component to create. Optionally, you can define a schema reference and example source file.
  1. In the Data Processor transformation
    Objects
    view, click
    New.
  2. Enter a name for the Script and click
    Next.
  3. Choose to create a Parser or Serializer. Select Other to create a Mapper, Transformer, or Streamer component.
  4. Enter a name for the component.
  5. If the component is the first component to process data in the transformation, enable
    Set as startup component
    .
  6. Click
    Next
    if you want to enter a schema reference for this Script. Click
    Finish
    if you do not want to enter the schema reference.
  7. If you choose to create a schema reference, select
    Add reference to a Schema Object
    and browse for the Schema object in the Model repository. Click
    Create a new schema object
    to create the Schema object in the Model repository.
  8. Click
    Next
    to enter an example source reference or to enter example text. Click
    Finish
    if you do not want to define an example source.
    Use a example source to define sample data and to test the Script.
  9. If you choose to select an example source, select
    File
    and browse for the sample file.
    You can also enter sample text in the
    Text
    area. The Developer tool uses the text to test a Script.
  10. Click
    Finish.
    The
    Script
    view appears in the Developer tool editor.


Updated June 14, 2019