Summary
This command gets the value from an external file according to the inputPath. Import scripts do not require a “when” attribute since they are called at the time the import is run.
Attributes
- inputPath (required)
Note: While the inputPath is a required attribute of the command, it can be provided as blank. It will use the 'current path' as the input field so that a single script can be used on multiple fields. Please see example 2 below as a sample of this method. Parameters
- none
Example 1
This will be applied to a single field in the import tab since the path to a column in the import is specified.
<script scriptId="trim">
<body>
<s:allTrim>
<s:import inputPath="comment"/>
</s:allTrim>
</body>
</script>Example 2
This will be applied to any field in the import as long as the specific field has this script identified on the import tab.
<script scriptId="trim">
<body>
<s:allTrim>
<s:import inputPath=""/>
</s:allTrim>
</body>
</script>Need more help?
Please visit the Fountayn Contact Information page.