Skip to main content
Question

Attribute Manager changing \\ to /


bubblebeb
Contributor
Forum|alt.badge.img+6

I have used an Attribute Manager to create a new attribute for a file path.

The path is for example c:\\FME\\data\\myworspace\\sourcefile.html

The output from the Attribute Manager is c:\\FME\\data/myworkspace\\sourcefile.html

 

It is outputting a random / in the middle of the path rather than \\.

This results in the path failing to work.

 

I can use a string replacer after to correct it but it is not working correctly.

Any ideas on why it does this would be great.

2 replies

ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • June 4, 2021

Are you creating the file path from an existing attribute?


bubblebeb
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • June 4, 2021
ebygomm wrote:

Are you creating the file path from an existing attribute?

Partially yes. I am basically doing this

c:\\FME\\data\\myworkspace\\@Value(User) sourcefile.html


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