Skip to main content

data download attribute file writerThe result of my workspace is several geojson files. For usability purposes, I want to include a fixed template .qgz file which is already on the server in the zip, so end users can immediately open it in QGis.

However, I can't find a way to get this to work with the Data Download service.

As a proof of concept, I created a minimal example that just loads a binary file, and writes it again. However, the AttributeFileWriter can't be selected as a Writer output for the Data Download service.

 

Is there another way to include arbitrary binary files with data download?

Hi @arjanboogaart​ , try using the File Copy writer to copy the existing file to any location, and including the writer in download when publishing the workspace to the FME Server. 


This article is for older versions of FME, but as far as I know, it is still the current practice.

 

https://community.safe.com/s/article/including-additional-files-in-the-data-download-re


In case it helps, I picked this as one of our questions of the week and covered it here: https://www.youtube.com/watch?v=ZvSaHQ7gouI&t=1170s


Reply