Skip to main content

Hello,

 

I'd like to create an attribute and name it from the value of an user parameter.

 

I've seen that in the "input attribute" field it is possible to choose the user parameter (as seen in screenshot bellow)

 

CaptureBut then the output attribute does not react as expect. Whereas it should return the value of the user parameter, it returns the value $(annee) as attribute name.

 

Is there any way to overpass this ?

 

Regards,

Andy METAYER

 

If you are creating an attribute then the input attribute should be blank

 

image


Hey ! Thanks for your help ! It seems to work as the attribute has been created, but the attribute is not exposed. Do you have any solution for this problem please?


Hey ! Thanks for your help ! It seems to work as the attribute has been created, but the attribute is not exposed. Do you have any solution for this problem please?

Unfortunately you can't dynamically expose attributes. If you're want to write the resulting attribute to an output feature type you'll need to create a schema and set the writer to advanced . Some of this is touched on here: https://community.safe.com/s/article/dynamic-workflows-advanced-example-modifying-the-s


Reply