Skip to main content
Solved

FME Server Custom Translation Message


cwarren
Forum|alt.badge.img

Is there a way to customize the translation message after a workspace was successfully ran by the end user from the FME Server web interface? Rather than writing to a download file, I would like to just show a custom message after the translation was successful. This would be similar to how I use shut-down scripts on FME Desktop to bring up pop-up windows with statistics and information from the logfile and workspace after the translation was ran.

Best answer by redgeographics

You can try setting up a custom HTML page and publish the workspace to a Data Streaming service. Any writing of actual data that you need to do can be handled by FeatureWriters.

Writing HTML in FME is a bit clunky, I've tried the XMLTemplater for that but no matter how many validation options I deselect it still insists on validating the HTML as XML and it pretty much always fails so I usually resort to a bunch of AttributeManagers. What actually helps is design a template first in, for example, Dreamweaver and then copy that in the AttributeManager and just fill in the blanks with your attributes.

View original
Did this help you find an answer to your question?

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+49
  • Celebrity
  • Best Answer
  • January 24, 2019

You can try setting up a custom HTML page and publish the workspace to a Data Streaming service. Any writing of actual data that you need to do can be handled by FeatureWriters.

Writing HTML in FME is a bit clunky, I've tried the XMLTemplater for that but no matter how many validation options I deselect it still insists on validating the HTML as XML and it pretty much always fails so I usually resort to a bunch of AttributeManagers. What actually helps is design a template first in, for example, Dreamweaver and then copy that in the AttributeManager and just fill in the blanks with your attributes.


cwarren
Forum|alt.badge.img
  • Author
  • January 24, 2019
redgeographics wrote:

You can try setting up a custom HTML page and publish the workspace to a Data Streaming service. Any writing of actual data that you need to do can be handled by FeatureWriters.

Writing HTML in FME is a bit clunky, I've tried the XMLTemplater for that but no matter how many validation options I deselect it still insists on validating the HTML as XML and it pretty much always fails so I usually resort to a bunch of AttributeManagers. What actually helps is design a template first in, for example, Dreamweaver and then copy that in the AttributeManager and just fill in the blanks with your attributes.

That is a good idea! Thanks @redgeographics


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings