Jump to content

Component: Create File ( Data): Difference between revisions

From Flowcode Help
Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | MatrixTSL |- | width="20%" style="color:gray;" | Version | 1.0 |- | width="20%" style="color:gray;..."
 
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder""
 
(7 intermediate revisions by 2 users not shown)
Line 5: Line 5:
|-
|-
| width="20%" style="color:gray;" | Version
| width="20%" style="color:gray;" | Version
| 1.0
| 1.1
|-
|-
| width="20%" style="color:gray;" | Category
| width="20%" style="color:gray;" | Category
Line 14: Line 14:
==Create File component==
==Create File component==
Creates a download file from a string variable.
Creates a download file from a string variable.
==Version information==
Library Version, Component Version, Date, Author, Info


==Detailed description==
==Detailed description==
Line 28: Line 32:


===CreateFile===
===CreateFile===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CreateFile'''
| width="90%" class="mtx-class-macrohead" | '''CreateFile'''
|-
|-
| colspan="2" | Creates a file from the supplied filename with the supplied contents and triggers a download  
| colspan="2" | Creates a file from the supplied filename with the supplied contents and triggers a download  
Line 53: Line 57:
==Property reference==
==Property reference==


{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]]
| width="90%" class="mtx-class-macrohead" | '''Properties'''
|-
|-
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]]
| width="90%" | Use Defaults
|-
| colspan="2" | Set to false to override the default settings 
|-
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]]
| width="90%" | Raw Data
|-
| colspan="2" | True if the data passed to the CreateFile macro needs no additional formatting 
|-
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" class="mtx-class-propfolder" | Advanced
|-
|-
| width="10%" align="center" | [[File:Fc9-type-10-icon.png]]
| width="90%" | Media Type
|-
| colspan="2" | The MIMI type for the data - e.g. "image/jpeg" or "text/plain;charset=UTF-8" 
|-
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]]
| width="90%" | Base64 Data
|-
| colspan="2" | True if the data passed should be base-64 decoded before saving 
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''
| width="90%" | Encode URI
|-
|-
| colspan="2" | Set true if the data needs to be encoded 
|}
|}



Latest revision as of 14:37, 13 July 2026

Author MatrixTSL
Version 1.1
Category Data


Create File component

Creates a download file from a string variable.

Version information

Library Version, Component Version, Date, Author, Info

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Macro reference

CreateFile

CreateFile
Creates a file from the supplied filename with the supplied contents and triggers a download  
- STRING Filename
Default filename assigned to the file e.g. "file.txt" 
- STRING Data
Data to assign to the file 
- VOID Return


Property reference

Properties
Use Defaults
Set to false to override the default settings 
Raw Data
True if the data passed to the CreateFile macro needs no additional formatting 
Advanced
Media Type
The MIMI type for the data - e.g. "image/jpeg" or "text/plain;charset=UTF-8" 
Base64 Data
True if the data passed should be base-64 decoded before saving 
Encode URI
Set true if the data needs to be encoded 

Component Source Code

Please click here to download the component source project: FC_Comp_Source_WEBEXP_CreateFile.fcsx

Please click here to view the component source code (Beta): FC_Comp_Source_WEBEXP_CreateFile.fcsx