...
Expand | ||
---|---|---|
| ||
Create component from Git URL - leave the component as Editable Copy paste the URL from here:
This component generates some test files to make it easier to learn how to do a file reader. |
Expand | ||
---|---|---|
| ||
See Customizing components to see how done if you have not done this before. |
Expand | ||
---|---|---|
| ||
See Custom Fields - We can add Client ID List which will be a comma delimited list of the prefixes we want to filter on: | ||
Expand | ||
| ||
We need to first generate test files to work with. In the File Reader main.lua, use the function MakeTestData() It’s a good idea to re comment the code afterwards so it doesn’t keep generating test files in production! Concepts used: Commenting out code |
Expand | ||
---|---|---|
| ||
The original file reader component is deliberately simple and uses /wiki/spaces/IXB/pages/3181903910 to make it more obvious how to modify the code to meet new needs. So this is what we are starting off with. We need this function to return true when the matching criteria are met. https://bitbucket.org/interfaceware/fromfile/src/main/MatchRules.lua
|
...