Now AttributeExposer can only add each attribute name manually.but in many cases,There are some rules for the attributes name that needs to be exposed.Therefore I suggest that add wildcards and regular expression support to AttributeExposer.
Thanks for the suggestion. We do have an "import" option on the AttributeExposer that allows attribute names to be harvested without typing them in. But your scenario must be different. Where are the attribute names coming from?
Assuming that I created attributes such as attr_Name, attr_Model, attr_Date, and so on with PythonCreator ,after the PythonCreator ,I want to expose these attributes, They are not imported from somewhere, so I can only manually enter each attribute name, if it can be
specified as attr*, it will be more convenient.
Assuming that I created attributes such as attr_Name, attr_Model, attr_Date, and so on with PythonCreator ,After the PythonCreator ,I want to expose these attributes, They are not imported from somewhere, so I can only manually enter each attribute name, if it can be specified as [attr*], it will be more convenient.
Ah, they are coming from the PythonCreator/PythonCaller. Maybe a better enhancement would be for us to enhance those to sense the names of attributes being created and expose them automatically?
FME can not Expose attributes dynamic. If you think about it, it makes sense.
The workbench can not know what the resulting attributes are when it does not know what data it gets.
With featurecaching it could know what attributes the current run has, and you can select those attributes to be exposed. But the next run might not have those attributes, and might have more.
If you know what attributes will be the result of your process than merging the attributes or bulkattributerenamer could help.