Get Files/Folders in Order
Description
In a LogicNets project/package items such as logicnets or images are organized in a folder structure. Using this part, you can retrieve the folder structure of a package or set of packages. The system returns the items in the same order as they are modeled in the LogicNets Designer. You might use this function, for example, to display to users a set of folders or logicnets to users in your application.
Editor Fields
Use the following editor fields to configure this part:
Field Name | Description/Use | Type | Optional/Mandatory |
Generate | This tells the system to generate either a list of files or folders. | Files | Folders | Mandatory |
Input type | This tells the system to search in a folder based on the folder path or folder id. | Dropdown | Mandatory |
Folder path | This is the path to the folder to be queried; for example, "logicnets/forms". | Text | Mandatory |
Folder id | This is the id of the folder to be queried; for example, "10". | Number | Mandatory |
Data Object | This is the path where the system stores the result, which is a collection of files or folders. | Object | Mandatory |
Package | This is the package where the system must retrieve the files/folders. Framework – This is the current framework (e.g. AssessmentFramework). Framework-to-application – Query all files/folders in all packages started from the framework and traverse the inheritance tree to the application; for example, "AssessmentFramework", "CustomFramework", "Assessment". Application-to-framework – Query all files/folders in all packages started from the application and traverse the inheritance tree to the framework; for example, "Assessment", "CustomFramework", "AssessmentFramework". |
Option | Mandatory |
Recurse in subfolders | When this is enabled the system also returns the files in the subfolders. | Y | N | Optional |