generate from value
This block is part of the files group and was last modified in core v10.4.28.
generate from value v10.4.28 Generates a file from the given value.
In pins 5 + flow
- flow
flow - filename required
valueThe name of the file.
- extension required
valueThe extension of the file, e.g.
pdf. - data required
valueThe contents of the file, e.g. JSON, XML or CSV data.
- encoding
valueThe encoding of the data, can be ascii or utf8
- win. newline char
conditionUse a windows EOL character (\r\n) instead of the mac / linux EOL character (\n)
Out pins 2 + flow
- flow
flow - success
conditionFile succesfully created?
- file
fileOutput file.
A typical wiring for generate from value: a function trigger starts the flow; value feeds the filename pin; value feeds the extension pin; value feeds the content pin; the flow out pin feeds debug.

Version history
Introduced in v10.4.28.
Back to
files Return to the main group to view all sub-groups Back to file parsing Return to the group to view all blocks within this group
