Skip to main content
Solved

Merge multiple lines values into one

  • January 2, 2020
  • 4 replies
  • 115 views

geo-x
Supporter
Forum|alt.badge.img+6

Dear FME community.

 

I try to merge multiple lines attributes for use an Emailer at the end (like an object) like that :

I tried aggregator, HTMLextractor, AttributeCreator but the result is not good.

Have you got any idea ?

Thanks.

Best answer by erik_jan

Using the AttributeCreator, creating Field1 should work if you use the Text Editor option.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

erik_jan
Contributor
Forum|alt.badge.img+22
  • Contributor
  • Best Answer
  • January 2, 2020

Using the AttributeCreator, creating Field1 should work if you use the Text Editor option.


erik_jan
Contributor
Forum|alt.badge.img+22
  • Contributor
  • January 2, 2020

Using the AttributeCreator, creating Field1 should work if you use the Text Editor option.

This would merge the fields 1 - 3 into Field 1.

To merge multiple lines with Field 1, you can use the Aggregator transformer, using the option to merge the Field 1 attributes, using the New Line as separator.


Forum|alt.badge.img+2
  • January 3, 2020

@lalandexavier The HTMLReportGenerator has a Table option (at the bottom of the list of Page Contents) that will create an HTML table, and perhaps you can add that HTML to your email.


geo-x
Supporter
Forum|alt.badge.img+6
  • Author
  • Supporter
  • January 3, 2020

Using the AttributeCreator, creating Field1 should work if you use the Text Editor option.

Thank you very much ! I tried it today and that works very well, nice job !