Skip to main content

How can I publish a workspace for datadownload without a writer. (I use a featurewriter or a systemcaller to write the final output.)

At this moment I do not think that is possible.

As a solution I used a FeatureReader to re-read the data and a writer to output the data.

Slows down the process a bit, but allows the Data Download service on FME Server.


At this moment I do not think that is possible.

As a solution I used a FeatureReader to re-read the data and a writer to output the data.

Slows down the process a bit, but allows the Data Download service on FME Server.

I thought about this solution but I can't see how it will solve my problem. I'am writing html with the HtmlReportgenerator. Then I use a systemcaller to use a third party tool to convert it to pdf. The resulting pdf should be the one offered to download. Any idea?

At this moment I do not think that is possible.

As a solution I used a FeatureReader to re-read the data and a writer to output the data.

Slows down the process a bit, but allows the Data Download service on FME Server.

I see the issue: No reader for PDF.

 

You could try the FileCopy Writer, but I do not know if that allows Data Download.

 

Is using Email (Emailer transformer) with the PDF as attachment an option?

 

 


That is a very good question. Currently we don't support the FeatureWriter as a source for the zip file content of the data download. That would make a good idea though:

https://knowledge.safe.com/content/idea/post.html?space=153

If you have the path to the file as an attribute, then the File Copy writer can copy the file and be used as the source for the zip file content of the data download. There is even a blog on it:

https://blog.safe.com/2013/07/fmeevangelist117/

and and article:

https://knowledge.safe.com/articles/881/including-additional-files-in-the-data-download-re.html


We write the FeatureWriter to a location that is known, and prepare the e-mail within the workspace itself and send it out to the correct e-mail adress. So one of the published parameters is: email:

  • FeatureWriter to write the data to the TEMP-catalogue of FME-server. Filename can be some fanout on UUID for instance. So it is accessible via a known URL + UUID.zip
  • FMEServerEmailGenerator to prepare the email
  • FMEServerNotifier to send the content created to FME Server.


That is a very good question. Currently we don't support the FeatureWriter as a source for the zip file content of the data download. That would make a good idea though:

https://knowledge.safe.com/content/idea/post.html?space=153

If you have the path to the file as an attribute, then the File Copy writer can copy the file and be used as the source for the zip file content of the data download. There is even a blog on it:

https://blog.safe.com/2013/07/fmeevangelist117/

and and article:

https://knowledge.safe.com/articles/881/including-additional-files-in-the-data-download-re.html

The File copy writer did the trick and I posted an idea!

 

 


Reply