Workflow and ServiceDesk Community

 View Only

Create Text File 

Jun 13, 2012 09:43 AM

Component definition

DESCRIPTION

This component takes a string and creates a FileDataType that is in the process. This FileDataType can be used with components like WriteFile and SendEmail.

Class: LogicBase.Components.Default.IO.CreateTextFile
Library: LogicBase.Components.Default.dll
Publisher: Symantec Corporation

HELP

In Logic Base Studio, files are manipulated using a 'File Data Type' variable which is used to represent a file that may or may not actually exist on your file system or at a url. Most of the time when you want to do something like attach a file to an email message, you will need to use a 'File Data Type' instead of referring to the file directly. A File Data Type is simply a variable in Logic Base the reprsents a file and the things associated with a file. You can create a File Data Type variable using a number of components like: Create Text File, or Read File from URL. To access files on the local file system use file:// instead of http://

USAGE

To configure this component, simply enter the name of the file you wish to create, add data to serve as initial file contents, and then set a variable within your project to act as output. The output variable can be used later in the project to refer to your file (in case you want to write to it, read from it, or attach it as an email attachment).

Component icon

document_text.png

Definition of component input value or values

N/A

Definition of component output value or values

[Define the output value data types. If multiple output data types exist, you can insert a table.]

Input value name Input value data type Example format
Contents [Text] "Hello World"
File Name [Text] Hello.txt
Output File Variable Name [Text] File

Connection information

N/A

Component settings

Settings

The usual.

Input value name Input value data type Example format
Is Enabled [Bool] TRUE

Use case

Build a text string and pass it to the component with a Filename to build a file [FileDataType] to work with.

Usually used with the following components.

Statistics
0 Favorited
1 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.