Skip to main content

I have a problem to calculate value when use field name has a published parametes. All values are <missing>

 

This is my parameterNouvelle image bitmap

 

I check i with AttributeManager and attributeCreator and I have same result.

 

I have set Attribute value with that : 

@Value($(Table_A_AttributeName))

Sans titre2

 

 

If you have the Attribute Assignment set to Default, you can just use $(Table_A_AttributeName) in your AttributeCreator.

If you want to reference it as in your example, you need to turn Attribute Assignment off


no because If I do that I get only the field name in all features value.

I change the "Type" of parameter to "Attribute Name" and it works fine.

 


no because If I do that I get only the field name in all features value.

I change the "Type" of parameter to "Attribute Name" and it works fine.

 

Do you see this little arrow when you type the attribute name?

Capture

If you have a parameter type of Text and Attribute Assignment set to Default and type in an attribute that exists, if you see this arrow in front of the name, you can reference it by using $(Table_A_AttributeName). Otherwise you reference using @Value($(Table_A_AttributeName)) 

 

Of course, changing the parameter type might be more appropriate for the situation too


Do you see this little arrow when you type the attribute name?

Capture

If you have a parameter type of Text and Attribute Assignment set to Default and type in an attribute that exists, if you see this arrow in front of the name, you can reference it by using $(Table_A_AttributeName). Otherwise you reference using @Value($(Table_A_AttributeName)) 

 

Of course, changing the parameter type might be more appropriate for the situation too

yes only if type is Attribute Name. With text type, this arrow doesn't exist. And if I set parameter with test has your exemple, FME can't find her cubs


Do you see this little arrow when you type the attribute name?

Capture

If you have a parameter type of Text and Attribute Assignment set to Default and type in an attribute that exists, if you see this arrow in front of the name, you can reference it by using $(Table_A_AttributeName). Otherwise you reference using @Value($(Table_A_AttributeName)) 

 

Of course, changing the parameter type might be more appropriate for the situation too

Interesting, even with type text FME picks up the attribute for me (if it exists of course). If i want to set the value to text only I have to enter the parameter via the text editor


Do you see this little arrow when you type the attribute name?

Capture

If you have a parameter type of Text and Attribute Assignment set to Default and type in an attribute that exists, if you see this arrow in front of the name, you can reference it by using $(Table_A_AttributeName). Otherwise you reference using @Value($(Table_A_AttributeName)) 

 

Of course, changing the parameter type might be more appropriate for the situation too

I do multiple test case and we need clear data beween two change type because the parameter type is in memory.

I use FME 2020.1 (32Bit) - Because my Microsoft office is in 32bit and I can't use Access in 64bit when it exists a part of Office in 32bit

 

I prepare an fmw with different case to see the result


Reply