Files
-
- 60 KB
- Download
| Known Issue ID | FMEFLOW-25943 |
| Feature | Data Virtualization |
| Product | FME Flow |
| Versions Affected | 2025.1 |
| Status | Unresolved |
Issue
In the Data Virtualization reader, the Format Attribute source_path is not set when running Data Virtualization workspaces in FME Form. In some builds it may be set to "." and in others it may be missing.
Workaround
Set source_path manually when applicable, using a Tester then a AttributeManager. This should be done immediately after the Data Virtualization reader.
1. Configure the Tester
Add a Tester and connect it to the DV Reader. Configure it as follows:
| Logic | Left Value | Operator | Right Value |
source_path | Attribute is Missing | <Unused> | |
| AND | request.body_file_path | Attribute Has a Value | <Unused> |
When both of these conditions pass, the source_path should be replaced.
2. Configure the AttributeManager
Add a AttributeManager and connect it to the Passed port of the Tester.
Open its parameters. Set the value of source_path the location of your Samples directory, usually Documents\FME\Data Virtualization APIs\<Flow Connection Name>\<DV API>\<Endpoint Name>\Samples.
Hit OK. Connect both the Tester's Failed port and the StringFormatter's output port to the first transformer in your normal workspace. In this example, the first transformer is a FeatureReader.