Skip to main content
Solved

FME Server Custom Translation Message

  • January 23, 2019
  • 2 replies
  • 42 views

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+60
  • Celebrity
  • 3702 replies
  • 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
  • 49 replies
  • 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.

That is a good idea! Thanks @redgeographics