[Back to Parameters]
Reader Values
Allows the parameter to use the feature types of a Reader as choices.
Specification
key |
type |
required |
default value |
description |
valuesToUse |
enum: 'featureTypes' , 'attributeNames' , 'attributeListValues' , 'sdeVersions' |
yes |
n/a |
Specify which value to use. |
format |
string ({parameter} ok) |
no |
n/a |
The FME format of the dataset from which to read the parameter's configuration. |
dataset |
path or url ({parameter} ok) |
no |
n/a |
A filename, URL, or such specifying the dataset. |
formatPrompt |
string ({parameter} ok) |
no |
n/a |
The format prompt parameter reference. |
metafile |
path |
no |
n/a |
Path to a file to use as the reader's metafile. |
attributeListSettings |
dictionary |
no |
n/a |
A dictionary of settings to be specified when valuesToUse is 'attributeListValues' . The base name of the list need not be specified. E.g., if the values of interest are in xmlpath{}.display_value and xmlpath{}.feature_path , specify 'display_value' for displayElement and 'feature_path' for valueElement . |
sdeVersionType |
enum: 'transactional' , 'historical' |
conditional |
n/a |
Only applicable (and required) when valuesToUse is 'sdeVersions' . |
readCallToUse |
enum: 'read' , 'readSchema' |
no |
'readSchema' |
Specify what reader method to use to fetch the parameter's options. |
configuration |
array\<dictionary> |
no |
n/a |
A list of dictionaries specifying named values either by constant or by parameter reference. |
attributeListSettings
key |
type |
required |
description |
displayElement |
string |
yes |
The name of the list element to be used for display to the user. |
valueElement |
string |
yes |
The name of the list element to be used for the resultant parameter value. |
configuration
key |
type |
required |
description |
name |
string |
yes |
The name of the configuration item. |
value |
string ({parameter} ok) |
yes |
The value of the configuration item. |
({parameter} ok)
If a property is labelled with ({parameter} ok), the value can be either a constant (string) or a reference to another parameter, in the form of a dictionary mapping the key "parameter" to the name of the referenced parameter, e.g. { "parameter" : "MY_PARAM" }
Example
{
}