...
Matches the requirements
Is easy to implement
Simplifies operations
Let’s do it!
Expand | ||
---|---|---|
| ||
See Custom Fields. We take the base File Reader and add Client ID List which will be a comma delimited list of the prefixes we want to filter on: |
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
|
Expand | ||
---|---|---|
| ||
We’ll apply /wiki/spaces/IXB/pages/3181903910 and write this as a function:
| ||
Expand | ||
These are the concepts we have used:
|
Expand | |||||||
---|---|---|---|---|---|---|---|
| |||||||
So now we make a function to determine if the file name matches
Concepts used: |
Expand | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||
We write the new MatchFile function based on the functions we have written already:
| |||||||||||||
Expand | |||||||||||||
| |||||||||||||
Concepts used:
|
Expand | ||
---|---|---|
| ||
Expand | ||
| ||
Expand | ||
| ||
Expand | ||
| ||