Skip to main content
Open

fmeobjects - Provide a function getAllUserAttributeNames

Related products:FME Form
  • July 19, 2024
  • 1 reply
  • 52 views

denniswilhelm
Contributor
Forum|alt.badge.img+21

Hi guys,

in fmeobjects there is a function FMEFeature.getAllAttributeNames used to retrieve all attribute names. However, it also includes all format attributes available on the feature. Of course one can easily filter out attributes by checking for specific prefixes (e.g. fme_). However, if you are writing code for generic use cases, this can get quite hard since every format provides new format attributes (e.g. kml_, csv_, xlsx_, ...).

 

It would make life way easier if this there would be a function getAllUserAttributeNames to only retrieve user attributes.

 

Best wishes

Dennis

1 reply

LizAtSafe
Safer
Forum|alt.badge.img+21
  • Safer
  • July 24, 2024
NewOpen