Skip to main content
Solved

Viewing dashboards outside of FME Server/Cloud admin pages

  • December 16, 2020
  • 5 replies
  • 51 views

dbaldacchino1
Supporter
Forum|alt.badge.img+11

 

Hello,

 

Is it possible to view the html dashboard pages outside of the FME Server admin pages? For example I am intrested in writing a custom dashboard to FME Cloud and would like to share a direct link to it with some users, without requiring them to log in to FME Cloud/Server etc. and dealing with the UI. Is this possible? Thanks.

Best answer by dbaldacchino1

So I tested this options and it looks doable. The page is generated with a slight delay as a workspace has to run. Here's what I did:

  • Created a simple workspace to read the html "dashboard" as a text file - all at once - then write it back to another html file. A separate workspace creates the original dashboard (an html summary table with links). I used the FME Server built-in parameters to locate these files:DashboardStream
  • I then created a Server App for the above workspace, which has no published parameters, and set it to run immediately: RunImmediately

I can now share the Server App URL, which will stream the "dashboard" to the user's browser. Are there alternative ways that don't require a workspace to run to just display a static web page on FME Server?

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

5 replies

hkingsbury
Celebrity
Forum|alt.badge.img+53
  • Celebrity
  • December 16, 2020

Could you setup a streaming service that streams back an html page. This would need to be configured using anonymous access

https://docs.safe.com/fme/html/FME_Server_Documentation/AdminGuide/Configuring-Authentication-for-Security-Resources.htm


dbaldacchino1
Supporter
Forum|alt.badge.img+11
  • Author
  • Supporter
  • December 16, 2020

Hmmm I suppose that's a possibility: make a simple workspace that reads and streams the web page, then make it into a shared server app that is open...will give that a shot and see if it works. Thanks!


dbaldacchino1
Supporter
Forum|alt.badge.img+11
  • Author
  • Supporter
  • Best Answer
  • December 16, 2020

So I tested this options and it looks doable. The page is generated with a slight delay as a workspace has to run. Here's what I did:

  • Created a simple workspace to read the html "dashboard" as a text file - all at once - then write it back to another html file. A separate workspace creates the original dashboard (an html summary table with links). I used the FME Server built-in parameters to locate these files:DashboardStream
  • I then created a Server App for the above workspace, which has no published parameters, and set it to run immediately: RunImmediately

I can now share the Server App URL, which will stream the "dashboard" to the user's browser. Are there alternative ways that don't require a workspace to run to just display a static web page on FME Server?


hkingsbury
Celebrity
Forum|alt.badge.img+53
  • Celebrity
  • December 16, 2020
dbaldacchino1 wrote:

So I tested this options and it looks doable. The page is generated with a slight delay as a workspace has to run. Here's what I did:

  • Created a simple workspace to read the html "dashboard" as a text file - all at once - then write it back to another html file. A separate workspace creates the original dashboard (an html summary table with links). I used the FME Server built-in parameters to locate these files:DashboardStream
  • I then created a Server App for the above workspace, which has no published parameters, and set it to run immediately: RunImmediately

I can now share the Server App URL, which will stream the "dashboard" to the user's browser. Are there alternative ways that don't require a workspace to run to just display a static web page on FME Server?

A dashboard is just a static html page, but that takes us back full circle 😂 😅

Not really unfortunately. Unless you have access to a webserver where you could host your own page seperate to FME server. You then would need to setup an FME process to periodically update that page


dbaldacchino1
Supporter
Forum|alt.badge.img+11
  • Author
  • Supporter
  • December 16, 2020
hkingsbury wrote:

A dashboard is just a static html page, but that takes us back full circle 😂 😅

Not really unfortunately. Unless you have access to a webserver where you could host your own page seperate to FME server. You then would need to setup an FME process to periodically update that page

Yeah I guess I'm looking into turning FME Server into a webserver, especially FME Cloud 😂 We have an extensive sync process that runs on FME Cloud and I'm building logging to easily troubleshoot or spot issues etc. At least the solution you suggested is very close to making FME Server/Cloud an on-demand web server :) At least I can write detailed html summary logs with this method and create server apps to act as the URL (I can make the workspace shown above have a published parameter to select the appropriate dashboard). Thanks for the tip!


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