Skip to main content
Known Participant
Aug 2, 2021 9:28 AM UTC
Question

Parse Text file to appian value

I have a txt file that i want to parse and convert to appian value. What do i use for this?

Thank you.

P.S. (readTextFromFile() was the previous function for this but was already unavailable in the current appian version)

6 replies

stewart.burchell
Employee
Aug 2, 2021 10:03 AM UTC

I think you'll find that readTextFromFile() is actually a function available in a plug-in:

community.appian.com/.../text-file-reader

...so not dependent upon the version of Appian.

Known Participant
Aug 2, 2021 10:05 AM UTC

Are there any other ways aside from using a plugin?

stewart.burchell
Employee
Aug 2, 2021 10:15 AM UTC

...at this point (if I were consulting with you) I'd wan t to ask what your use case is - why you need to access the content of a text file, where it's coming from, what it contains and whether there might not be other options of transporting that data into Appian (e.g. via a WebAPI...assuming that it is coming from an external source)...and so forth...

aparajitas0001
Known Participant
Aug 9, 2021 11:44 AM UTC

Check if the "Text File Utilities" plugin is added in your environment. The function is part of the plugin.