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.
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.
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