Skip to main content
Question

Questions relates to Custom transformer ?

  • December 31, 2025
  • 0 replies
  • 11 views

gogopotter90
Contributor
Forum|alt.badge.img+14

Hello 

Hello,

I would like to ask about Custom Transformers.
I am a beginner and I am very confused. I have three questions.

First question:
When I input the value 345/1000 into a Custom Transformer attribute include field, it is automatically divided and get 0.345 as a result . I want to keep the value exactly as 345/1000.
Even outside the Custom Transformer, the value is 345/1000. I understand that the Custom transformer is treating it as a number. I tried converting it to text before entering the Custom Transformer, but none of my attempts worked.

@Text(@Value(attribute)) does not work.
I also checked the shared parameter, and it is set as Text.

and another issue if I have value 900 A , custom transformer read it as null .


I do not know how to solve issues

Second question:
The Custom Transformer works correctly, but when I check the shared parameters, they all appear in red color in the Manage Parameters window. However, when I run the process, it reads the data and produces the correct output. Why does this happen?

Third question:
I want to create a new parameter called Name.
Is it possible to rename an attribute like id to $(Name)?

in fact ,i would like to use it in feature merger id_$(Name) ,does it work ?

amd it should read the value from default parameter .

Thanks in advance 

FME 2021