Text & File Handlers

Created by Reachware Support, Modified on Tue, 17 Mar at 12:17 PM by Reachware Support

Text and File Handlers in Reachware Studio are predefined functions used to modify, split, format, and transform text strings and file data during the mapping process. These handlers enable you to manipulate text without writing custom code.

Accessing Text and File Handlers

1

Click on any destination field in the mapping panel

2

A pop-up window opens titled "TEXT & FILE HANDLERS"

3

You'll see the Handlers section with available text functions

File Handler

FileData()

FileData(binaryData, fileName)

Combines raw file data with a filename to create a valid file structure that can be sent to the API destination. Both binary content and the filename are required.

  • binaryContent — The raw binary data of the file (usually represented as a sequence of numbers).
  • fileName — The name of the file including its extension (e.g., image.png, document.pdf).

Example

FileData(137 80 78 71 13 26 10 0; logo.png)

Related Topics

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article