Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Translator’s Toolbar, located at the top of the screen, provides access to key functions such as developing against multiple samples, running tests, and managing projects.

...

Expand
title1) Start and Stop the Component

While working on a project, you can quickly start and stop the component using the and button to test what you are working on.

The status light will indicate the current state of the component.:

  • Grey Image Added - Inactive

  • Green Image Added - Active

  • Yellow Image Added - Pending

  • Red Image Added - Stopped on Error

Expand
title2) Add, edit and switch between sample messages

The Translator is a data driven environment, meaning you can use real Sample Data to develop and test your integration logic.

Switch Samples

When you have multiple sample data files added to the Translator, you can switch between the sample messages and have the script execute against the specified sample message. This allows you to run quick test cases against your samplesvarious sample use cases.

Use the arrows or type in the sample data number to navigate to specific sample data.

Edit Sample Data

Add Sample Data

Expand
title3) Manage the project - make commits and interact with connected git repositories

The Translator’s Source Control tools help you manage your projects, saving changes locally and in connected remote git repositories for the rest of the team to access. See Git Workflow in the Translator for an example use case.

Commit Changes

Commit and Push Changes to Git

Pull Changes

Pull Changes from an upstream repo

Push Changes

Connect a Repository

Repository Management Screen

Show Current Branch

Git Terminal

The

Expand
title4) Execute the script

When working in the Translator, one of the many great benefits is the auto-execution of the script, enabling you to develop and test your code at the same time.

However, sometimes you may want to control when your script executes… (ask Lianne for best example use case)

Script Execution

Play and Stop buttons are available to start and stop script execution in the Translator.

Auto-Execution Toggle

By default, the Translator will auto-execute to enable the real-time view of results in the Annotation Windows. You can toggle this button on and off to control the script auto-execution.

Expand
title5) Open and search the Translator's help documentation

Image Removed

Image Added
Expand
title6) Select the language

The Language dropdown controls how the Translator does code syntax highlighting.

The Language is set to Lua by default, but can be changed if you are working in the Translator with different types of data.

For example, if you open a sample HL7 message, the Translator will auto detect the HL7 and change the language bar to the appropriate HL7 setting so the data is highlighted correctly.

You can manually select the language if needed.

...