Working with Inbox / List Files Process

Navigation:  How to Work with Processes > Working with the Platform Services Processes Group >

Working with Inbox / List Files Process

Previous pageReturn to chapter overviewNext page

 

Process Purpose

 

This is a Filebox Service related process.

The "Inbox File List" process is used to obtain the list of files present in the device's Inbox (which is a specific area included in the device's Filebox).

 

 

The process's properties window is displayed automatically after having added the "Inbox File List" process.

If any subsequent edition is required, double-click the process to open its properties window and enter the necessary modifications.

In this case, the properties window includes two tabs - "General" and "Advanced".

 

"General" tab

 

 

Fill in the following options:

 

File List

Filter

Define the filter to apply to the files list OR  click to select the variable with the intended value.

Sort on

Define the order of the file list to be received. Select an option from the drop-down ("File Name", "File Date" or "File Size") and check either the ascending or descending option.

Store Result into Variables

Number of files

Click to define the variable that receives the "Number of files" information.

Total size (Bytes)

Click to define the variable that receives the "Total size (Bytes)" information.

1st File Name

Click to define the variable that receives the "First File Name" information.

If File List is empty

Go To

Select a target location from the drop-down or list, in case a "file list is empty" error occurs. See Detail of a window below.

 

When defining a screen as a target destination (ex: via a “Go to” process), you CANNOT use variables to specify the name of that target screen. You must select the intended screen from the available drop-down/list.

 

Detail of a window:

 

 

"S:Menu" is a screen included in the same program as the process.

"R:Routine_1" is a routine included in the same program as the process.

 

Proceed to the "Advanced" tab.

 

"Advanced" tab

 

 

If required, fill in the following options:

 

Store Result into Data File (Optional)

File Name

Select an existing data file to store extra information from the received file list. If required, click to edit the selected data file. See Editing a Data File.

Value Column

Field Name

Name

Select the data file field to receive the file name information from the drop-down.

Extension

Select the data file field to receive the file extension information from the drop-down.

Size (Bytes)

Select the data file field to receive the file size information from the drop-down.

Date (YYYY/MM/DD HH:MM:SS

Select the data file field to receive the file date information from the drop-down.

Attributes

Select the data file field to receive the file attributes information from the drop-down.

 

 

If required, use the following recurring icons (located on the upper right corner of the properties window):

 

To create a new file, click . See Creating a Data File.

 

To add pertinent information about this process, click and enter it in the resulting window. The added information is displayed in the "Notes" field of the "Actions" tab in which the process is inserted in.

 

 

Click to conclude and apply the choices made in both tabs or to abort the operation.

 

 

When creating a file, we recommend you use the related best practices (ex: do NOT use special characters).

For more detailed information, register/log in to our MCL Community and access MCL's Knowledge Base ("File Name Best Practices").

 

If you want to use a label as a target destination, you can use the "Auto-Label" mechanism. This alternative to the "Set Label" process allows you to create a label in the properties window of a process - specifically, in the fields used to define target destinations (ex: the "If Error..." type fields). See To Automatically Create a Label.

 

Use the right-click in MCL-Designer's input boxes to access some related options as well as the general "Cut", "Copy"; "Paste"; "Search" actions (active/inactive according to the current context).

Ex: If you right-click the "Variable" input box (included in a "Conversion's" properties window), you are provided with general editing/search actions and other more specific options such as "Variable Select" (see "Variable Select"); "Variable Insert" (see "Variable Insert"); "Insert Special Character" (see To Insert Special Characters into a Control's Text Input Field) and "Localization Select" (see Localization List).

If you right-click another input box, it may provide other possibilities.