FME Version
Known Issue ID | FMEENGINE-64107 |
---|---|
Feature | FeatureReader Transformer |
Product | FME Flow (formerly FME Desktop) |
Versions Affected |
2025.x 2024.x 2023.x 2022.x 2021.x 2020.x |
Status |
Workaround |
Issue
In the FeatureReader you have set the ‘Feature Types to Read’ to a user parameter of type Choice (Multiple) or Choice with Alias (Multiple). When the translation is run if only one feature type is selected the translation is successful. However, when I select multiple feature types the reader will return an error or warning, this will vary depending on the format but will list all selected feature types as if they were a single value.
For example
ERROR |An error occurred while attempting to open the table, feature class or relationship class 'SDEUSER.AddressPoints SDEUSER.CellSignals SDEUSER.DrinkingFountains'. The error number from ArcObjects is: '-2147216057'. The error message from ArcObjects is: {Invalid parameter value passed to function}
or
WARN |Geodatabase Error (-2147220655): The table was not found.
WARN |Could not open File Geodatabase table `CommunityCentres AccessibleParking DrinkingFountains'
Cause
The Feature Types to Read expects values to be a space-delimited list of FMEParsableText whereas the Choice (Multiple) and Choice with Alias (Multiple) expect values to be a space-delimited SDF list formatted string. Therefore the choice parameter is not correctly encoded in a way that the backend can properly interpret it, and so once decoded FME can only find a single value.
Resolution
Resolution 1: Create an Attribute from the Choice Parameter
- Add a ParameterFetcher transformer before the FeatureReader
- Open the ParameterFetcher and under Parameter Name select the choice user parameter
- In the FeatureReader parameter editor and set the Feature Types to Read to this attribute
Resolution 2: Create the User Parameter Directly in the FeatureReader
- Open the FeatureReader parameter editor create a user parameter from the Feature Types to Read
- Define the parameter, to fetch all the feature types from your dataset select fixed list. If you were previously using Choice with Alias check the box ‘Use Alternate Display Name’ and update the display name for each feature type
Comments
0 comments
Please sign in to leave a comment.