Skip to main content
Question

Passing parameter containing ampersand

  • January 9, 2024
  • 1 reply
  • 14 views

sunsilk11
Contributor
Forum|alt.badge.img+6

FME Desktop 2021.3

Python Interpreter ESRI ArcGIS Python 3.7

Hi I am trying to pass a user parameter that includes the ampersand

i.e. username@domain, which I then use within a python caller to login to ArcGIS Portal

When I look at the value of the parameter, I get

username<at>domain

hence I am unable to connect to my portal.

I have tried to format using string functions str() and strip(). But it doesn't work

 

Any suggestions ??

 

1 reply

hkingsbury
Celebrity
Forum|alt.badge.img+55
  • Celebrity
  • January 9, 2024

Hmm, thats weird, I just tried in 2021.1 and 2023.1 (don't have 2021.3) and couldn't replicate it.

 

However, there is a transformer called DecodeFMEText which will convert that string back into what you're expecting it to be


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