Skip to main content
Question

Questions relates to Custom transformer ?

  • December 31, 2025
  • 2 replies
  • 71 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

2 replies

crystalwang
Safer
Forum|alt.badge.img+17
  • Safer
  • January 2, 2026

Hi ​@gogopotter90,

Thank you for posting your questions on the FME Community! To make sure we’re giving you the most accurate guidance, I have a few clarifying questions below.

 

Regarding your first question:

Where exactly are you entering 345/1000? Could you share screenshots of where you are entering this value and where it’s being converted to 0.345?

If possible, could you please share the custom transformer (or a simplified version of it demonstrating this issue)?

Regarding your second question:

Could you please share a screenshot of the Manage Parameters window with one of the red parameters selected? This will help us see how the parameter is configured and why it may be appearing in red.

Regarding your third question:

If you wanted to create a new user parameter called Name and rename an existing attribute (for example, id) to include the value of Name, then this should be possible.

For example, if the value of Name is 100, renaming id to id_$(Name) would result in id_100.
If this matches what you are trying to achieve, the AttributeRenamer transformer should be sufficient for renaming the attribute.

 

Once we have a bit more detail and information, we should be able to answer your questions. If you’d prefer not to share your workspace or data in a public forum, you’re also welcome to submit a ticket with Safe Software Support, and our support team can assist you privately.


gogopotter90
Contributor
Forum|alt.badge.img+14
  • Author
  • Contributor
  • January 5, 2026

@crystalwang 

Thanks for your reply. I’ll take a screenshot as soon as I’m back from vacation.