Skip to main content

I’m using the JSON reader to read in a folder of JSON files. The reader is working how I want it to, however I would like to get the original file path/name as an attribute on each feature. 

 

Is there an easy way to do this? I’m hoping that I am missing something silly. 

 

 

Hi @akoure_terracon 

 I think you that you can expose the format attribute fme_basename in Reader.


Hi @akoure_terracon 

 I think you that you can expose the format attribute fme_basename in Reader.

Thanks Danilo! The filename without extension is in the fme_basename attribute, and the full file path is under fme_dataset. 


Hi @akoure_terracon 

 I think you that you can expose the format attribute fme_basename in Reader.

Thanks Danilo! The filename without extension is in the fme_basename attribute, and the full file path is under fme_dataset. 

You are wellcome!


Reply