Skip to main content
Released

HTMLReportGenerator - add HTML

Related products:FME Form
  • May 20, 2016
  • 5 replies
  • 69 views

sigtill
Supporter
Forum|alt.badge.img+25

It would be great to add a Page Content called HTML where the user could just input any HTML at that place.

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.

5 replies

mathieu_ambrosy
Contributor
Forum|alt.badge.img+5

A client just asked me for the same thing :

He wants to add html code in the "label attribute" to obtain an OSM Leaflet with html code in the information box when he clicks on the entity on the map.


  • June 13, 2016

Hello,

i've got the same prolbem.

I've done this FMW :

I prepare my html content and after the htmlreportgenerator, i made a personalized transformer to replace & lt; and & gt; by <and>.I'm not sure that it will work in all the case but it work fine with my example.You can see the result on this web site : http://www.cap-atlantique.fr/node/679.

 

xlsxr2html-loop-test.zip

Forum|alt.badge.img+4

I did the same thing too and replaced the encodings for less than and greater than tag opening and closings with < and > using the string replacer after the html report generator and before the html writer.


takashi
Celebrity
  • September 10, 2016

Currently the transformer converts every special character that is used to define html tags to its entity reference. Therefore, for example, you cannot embed a <a> element (i.e. link) to either a table cell or a paragraph (Header content). It would be better if an option would be added so that html tags within the source string can be written as-is into the resulting html document.


rylanatsafe
Safer
Forum|alt.badge.img+14
  • Safer
  • October 4, 2017

This feature has been released and is available in FME 2017.0 and Newer. Please give it a try!

 

@sigtill @xav_cap @mathieu_ambrosy @james_rutter

'