XenoGuard Documentation

Save

Actions » Programming » Parameter List » Save 

The action Save stores the content from a parameter list to a specified file format. The file to be stored can either be in a text, Excel, or JSON format.


[-] Hide
  1. Open the Programming node in the Workspace Explorer.
  2. Open the Parameter List node, select the Save action.

Parameters:

The action has the following input parameters:


name Description
List Reference
The source list to copy the data from.

Allowed Context Scope [Action]
Allowed Values [Parameters, Result List]
Path Name
The path name of the output file.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types
 [Variable, Parameter, Enum]
Output Format
Determines the output format of the file.

Allowed Values: Text, Excel, JSON

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]

Results:

The action returns the following results:


name
description
Line Count The number of written text lines.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types
 [Variable, Parameter]

Example 1 (Save a list in Text format):

This example creates two local variables, FilePath and FileName with Text as data types which will be combined and used as the Path Name parameter for the text file. A Dictionary list named Car Parts is also created. The list is iterated and assigned as the List Reference parameter for the content of a text file. The list is then stored in local storage and the notice is displayed via Message Box if the text file was saved.


See other Parameter List operations:

Get Row
Sort
Filter