Question

Fanout Expression not being used in HTML output.


Badge +9

I am trying to create an individual HTML file for each 'grouped by' polygon.

 

I have the Fanout Expression set as per below with the attribute that is used in the 'group by' but I just get a single HTML file.

 

image 

The attribute seems to be available to select but does not appear to be used during output.

 

Is there something different I should be doing to get individual HTML files?


2 replies

Badge +4

Hi @deanhowell​ ,

I make a small example to test it:

sample_htmlI have no problems with the fanout, but I only use text. Can you share you data? Which fme version do you use?

Badge +2

Hi @deanhowell​ ,

Looks correct to me, if you are using the Group By function in the HTMLReportGenerator then you should be getting a new feature for each SECTOR_ID. Can you confirm that the SECTOR_ID attributes are being preserved by inspecting the HTMLReportGenerator's feature cache? Also, how many features are coming out of the HTMLReportGenerator in your workspace? This will help narrow down if the issue is with the writer or the HTMLReportGenerator.

Reply