Direct Story Importer Component

graphics/twcomponents_icontdirectstoryimporter.png

The TDirectStoryImporter component is used for fetching template data from external sources such as XML files. This is similar to the Story Importer Component component; however, the Direct Story Importer component is different in that it has an editor for mapping template text fields to index IDs, and is therefore easier to use without scripting. If advanced scripting is needed, the Story Importer Component component is recommended.

To understand the logic and use of the component in Director, see the previous section on Story Importer Component.

Notable Properties
  • StoryActions: Opens the Story Actions Editor for linking text fields to index values.

To use the TDirectStoryImporter component
  1. Add the TDirectStoryImporter component from the Import component palette to the template.

  2. Click the ellipse (...) button to open the Story Actions Editor.

    graphics/twcomponents_story_actions_property.png
  3. Link edit fields to index values such that they correspond with the sequence of data coming from the external system.

    graphics/twcomponents_story_actions_editor.png
  4. Click OK.

  5. Save the template.