AnsweredAssumed Answered

Calculate field inserting extra characters

Question asked by JosephLivoti on Aug 7, 2020
Latest reply on Aug 7, 2020 by JosephLivoti

I am trying to add a hyperlink to a layer referencing another field in the layer. I'm using python3 expression type in the calculate field window. Below is the code:

 

'https://s3.console.aws.amazon.com/s3/buckets/hamptondes/Manhole/!FACILITYID!'

 

However, It is populating with:

 

https://s3.console.aws.amazon.com/s3/buckets/hamptondes/Manhole/u"00133" 

 

For some reason it is adding the u and the " " around my facility ID

 

I need it to simply be:

 

https://s3.console.aws.amazon.com/s3/buckets/hamptondes/Manhole/00133

 

Any help is greatly appreciated!

Outcomes