Skip to main content
Solved

It is possible to remove "FME_MF_DIR" from User Parameters?

  • October 25, 2022
  • 2 replies
  • 123 views

Forum|alt.badge.img+2

My parameter says this.

$(FME_MF_DIR)\\CF\\PNM.sde

But I want it to say this.

C:\\Users\\USERNAME\\Desktop\\CF\\PNM.sde

 

Can this be done? This is a problem because it breaks the connection when the workbench is put in different folder.

Best answer by dustin

If your .sde is in the same folder as the workspace is saved, move the .sde to a different folder. FME searches the folder the workspace resides in for source files and uses $(FME_MF_DIR) if one is found...which is helpful in some cases, but not in others. More info here: FME_MF_DIR predefined parameter (macro) (safe.com)

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • Best Answer
  • October 25, 2022

If your .sde is in the same folder as the workspace is saved, move the .sde to a different folder. FME searches the folder the workspace resides in for source files and uses $(FME_MF_DIR) if one is found...which is helpful in some cases, but not in others. More info here: FME_MF_DIR predefined parameter (macro) (safe.com)


Forum|alt.badge.img+2
  • Author
  • October 25, 2022

If your .sde is in the same folder as the workspace is saved, move the .sde to a different folder. FME searches the folder the workspace resides in for source files and uses $(FME_MF_DIR) if one is found...which is helpful in some cases, but not in others. More info here: FME_MF_DIR predefined parameter (macro) (safe.com)

Thank you