Skip to main content
Question

$(FME_MF_DIR) is resolved to AppData/Local/Temp folder.

  • October 28, 2024
  • 2 replies
  • 46 views

fribourgsmo
Participant
Forum|alt.badge.img

I simply want to create a .CSV reader that should read the following dataset:

 

$(FME_MF_DIR)DIDOK\didok.csv

 

My workbench is on a network disk P: let’s say P:/myworkbench.fmw so I expected that $(FME_MF_DIR) will be P:/. 

But instead $(FME_MF_DIR) is resolved to C:\Users\MyUsername\AppData\Local\Temp. 

So I guess that FME temporarily copy the workbench into C:\Users\MyUsername\AppData\Local\Temp ? How to prevent this behaviour ?

birgit
Influencer
Forum|alt.badge.img+16
  • Influencer
  • October 28, 2024

Sounds like unexpected behavior to me. I just tested with a network folder and a network disk and both are working. It might be good to contact FME support or hope they see your question here. It might also be useful to add your FME version. I tested on FME 2021.2 and couldn't reproduce what you are experiencing.

Oh yeah and before I forget, I tested using the Featurereader transformer.


hkingsbury
Celebrity
Forum|alt.badge.img+50

Reading through here:

https://support.safe.com/hc/en-us/articles/25407482070541-FME-MF-DIR-predefined-parameter-macro

Specifically under ‘How FME helps avoid problems’, it implies things might get a little bit confused if moved using Windows Explorer and/or saved in another location using Save As.

Not sure if its a solution, but may help figure it out


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings