span8
span4
span8
span4
<FMEServerDir> is the FME Server installation directory. For example, C:\apps\FMEServer
<WebApps> is the directory containing the individual web applications for FME Server. For example, <FMEServerDir>\Utilities\tomcat\webapps
<host>:<port> is the internal name of the server and port number
SUB_SECTION FILE_DOWNLOAD_SERVICE2 \
FME_WORKING_DIR "!FME_SERVER_ROOT!/DefaultResults2" \
FME_TRANSFORMATION_LOG_DIR "!FME_SERVER_ROOT!/Logs/datadownload2" \
FME_TRANSFORMATION_LOG_NAME "!FME_AUTO_FILE_NAME_JOBID!.log" \
PRE_COMMAND mkdir "!FME_AUTO_DIR_NAME!" \
MACRO_DEF FME_SERVER_DEST_DIR "!FME_AUTO_DIR_NAME!/" \
SUCCESS_RESPONSE 0:Translation Successful|NotificationLocation=!FME_AUTO_DIR_NAME!_nw|
OutputLocation=!FME_AUTO_DIR_NAME!|ResultPrefix=http://<host>:<port>|
ResultRootDir=/fmedatadownload2/results|NumFeaturesOutput=!FME_NUM_FEATURES_OUTPUT!|
LogFileName=datadownload2/!FME_TRANSFORMATION_LOG_NAME! \
FAILURE_RESPONSE !FME_ERROR_NUMBER!:!FME_ERROR_MSG!|LogFileName=datadownload2/!FME_TRANSFORMATION_LOG_NAME!
#ENGINE_SUBSECTION - The subsection name used for workspace transformation ENGINE_SUBSECTION=FILE_DOWNLOAD_SERVICE2
In FME Server 2013 and later, there are multiple references to fmedatadownload in the fmeserver web application. fmedatadownload2 should be added in all these cases, so that the new service will behave in the same way as the standard one.
File 1
<WebApps>\fmeserver\js\fme-web\app\controller\WorkspaceConfig.js
Old line
if (serviceName.toLowerCase() === 'fmedatadownload'||serviceName.toLowerCase() === 'fmejobsubmitter'){
New line
if (serviceName.toLowerCase() === 'fmedatadownload'||serviceName.toLowerCase() === 'fmejobsubmitter' || serviceName.toLowerCase() === 'fmedatadownload2'){
File 2
<WebApps>\fmeserver\js\fme-web\app\view\repositories\RepositoryItemView.js
Old line
'<tpl case="fmedatadownload" case="fmejobsubmitter">' +
New line
'<tpl case="fmedatadownload" case="fmejobsubmitter" case="fmedatadownload2">' +
File 3
<WebApps>\fmeserver\js\fme-web\app\view\RepositoriesView.js
Old line
hidden: (fme.serviceName !=="fmedatadownload" && fme.serviceName !== "fmejobsubmitter"),
New line
hidden: (fme.serviceName !=="fmedatadownload" && fme.serviceName !== "fmejobsubmitter" && fme.serviceName !=="fmedatadownload2"),
File 4
\fmeserver\sectionViews\
test.jsp
Old line
if (fme.serviceName=="fmedatadownload" || fme.serviceName =="fmejobsubmitter"){
New line
if (fme.serviceName=="fmedatadownload" || fme.serviceName =="fmejobsubmitter" || fme.serviceName=="fmedatadownload2"){
File 5
<WebApps>\fmeserver\sectionViews\WorkspaceConfigSectionView.js
Old line
if (fme.serviceName==="fmedatadownload" || fme.serviceName ==="fmejobsubmitter"){
New line
if (fme.serviceName==="fmedatadownload" || fme.serviceName ==="fmejobsubmitter" || fme.serviceName==="fmedatadownload2"){
File 6
\fmeserver\WEB-INF\jsp\
configure-workspace.jsp
Old line
if (fme.serviceName=="fmedatadownload" || fme.serviceName =="fmejobsubmitter"){
New line
if (fme.serviceName=="fmedatadownload" || fme.serviceName =="fmejobsubmitter" || fme.serviceName=="fmedatadownload2"){
fmedatadownload : COM.safe.fmeserver.webui.plugins.DataDownloadPlugin
See your Salesforce.com accounts on a map
Using a Link, URL or POST as a Source Dataset (FME Server 2012 )
Data Upload Part 2: Custom Pages (2015)
Data Download Link Returning 404 Error
Data Download Service .ZIP Files Greater Than 10GB May Be Empty
Including additional files in the data download result zip file
© 2019 Safe Software Inc | Legal