path
path, concepts
A typical Lokad account contains two separate trees:
- The script tree, which contains all Envision scripts, synchronization scripts, and script sequences.
- The file tree, which contains all data files.
These are hierarchies of folders that can contain scripts (respectively, files) or nested folders. Each folder, script or file has a unique text identifier based on its location, which is called its path.
Paths are a very common concept in computing. Lokad uses /
as the path separator.
Example paths:
/
is the path of the root folder that contains everything else./input/catalog.csv
is a typical path for a “catalog” input file uploaded to the account. It would appear in aread "/input/catalog.csv"
statement, or in aschema '/input/catalog.csv'
definition./.utilities/Functions
is a typical path for a module containing shared functions within an account. It would appear in animport "/.utilities/Functions"
statement.